
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void elf_frob_file_before_adjust(void)

{
  symbolS *s;
  int iVar1;
  elf_obj_sy *peVar2;
  char *pcVar3;
  size_t sVar4;
  
  s = symbol_rootP;
  if (symbol_rootP != (symbolS *)0x0) {
    do {
      iVar1 = S_IS_DEFINED(s);
      if (iVar1 == 0) {
        peVar2 = symbol_get_obj(s);
        if (peVar2->versioned_name == (char *)0x0) {
          iVar1 = S_IS_WEAK(s);
          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&
             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {
            symbol_remove(s,&symbol_rootP,&symbol_lastP);
          }
        }
        else {
          peVar2 = symbol_get_obj(s);
          pcVar3 = strchr(peVar2->versioned_name,0x40);
          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {
            sVar4 = strlen(pcVar3 + 3);
            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);
          }
          iVar1 = symbol_used_p(s);
          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {
            symbol_remove(s,&symbol_rootP,&symbol_lastP);
          }
        }
      }
      s = symbol_next(s);
    } while (s != (symbolS *)0x0);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0004d2d0(void)

{
  int iVar1;
  int iVar2;
  char *pcVar3;
  size_t sVar4;
  
  iVar1 = DAT_000818d0;
  if (DAT_000818d0 != 0) {
    do {
      iVar2 = FUN_000385a0(iVar1);
      if (iVar2 == 0) {
        iVar2 = FUN_0003bb90(iVar1);
        if (*(int *)(iVar2 + 8) == 0) {
          iVar2 = FUN_00038460(iVar1);
          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&
             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {
            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);
          }
        }
        else {
          iVar2 = FUN_0003bb90(iVar1);
          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);
          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {
            sVar4 = strlen(pcVar3 + 3);
            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);
          }
          iVar2 = FUN_0003b660(iVar1);
          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {
            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);
          }
        }
      }
      iVar1 = FUN_0003b210(iVar1);
    } while (iVar1 != 0);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017010
ADD EBX,0x2ad27
SUB ESP,0x1c
LEA EDI,[EBX + 0x98d0]
MOV ESI,dword ptr [EDI]
TEST ESI,ESI
JZ 0x0004d398
LEA EBP,[EBX + 0x98d4]
MOV dword ptr [ESP + 0x4],EBP
JMP 0x0004d316
SUB ESP,0xc
PUSH ESI
CALL 0x0003b210
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0004d398
SUB ESP,0xc
PUSH ESI
CALL 0x000385a0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004d300
SUB ESP,0xc
PUSH ESI
CALL 0x0003bb90
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0004d3a0
SUB ESP,0xc
PUSH ESI
CALL 0x0003bb90
POP EDX
POP ECX
PUSH 0x40
PUSH dword ptr [EAX + 0x8]
CALL 0x00015410
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004d35f
CMP byte ptr [EAX + 0x1],0x40
JZ 0x0004d3f0
SUB ESP,0xc
PUSH ESI
CALL 0x0003b660
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004d300
SUB ESP,0xc
PUSH ESI
CALL 0x0003b710
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004d300
SUB ESP,0x4
PUSH dword ptr [ESP + 0x8]
PUSH EDI
PUSH ESI
CALL 0x000375f0
ADD ESP,0x10
JMP 0x0004d300
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00038460
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004d300
SUB ESP,0xc
PUSH ESI
CALL 0x0003b660
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004d300
SUB ESP,0xc
PUSH ESI
CALL 0x0003b710
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004d300
SUB ESP,0x4
PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x000375f0
ADD ESP,0x10
JMP 0x0004d300
CMP byte ptr [EAX + 0x2],0x40
JNZ 0x0004d35f
MOV dword ptr [ESP + 0xc],EAX
LEA ECX,[EAX + 0x3]
SUB ESP,0xc
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x00015420
ADD ESP,0xc
ADD EAX,0x1
PUSH EAX
MOV ECX,dword ptr [ESP + 0x10]
PUSH ECX
MOV EDX,dword ptr [ESP + 0x18]
ADD EDX,0x1
PUSH EDX
CALL 0x000150e0
ADD ESP,0x10
JMP 0x0004d35f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0004d2d0(void)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0004d2d0(void)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004d2d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "iVar1 = DAT_000818d0;" (assignment_expression "iVar1 = DAT_000818d0" identifier = identifier) ;) (if_statement "if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(DAT_000818d0 != 0)" ( (binary_expression "DAT_000818d0 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);" do (compound_statement "{\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    }" { (expression_statement "iVar2 = FUN_000385a0(iVar1);" (assignment_expression "iVar2 = FUN_000385a0(iVar1)" identifier = (call_expression "FUN_000385a0(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" { (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" identifier = (call_expression "FUN_0003bb90(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" ( (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" { (expression_statement "iVar2 = FUN_00038460(iVar1);" (assignment_expression "iVar2 = FUN_00038460(iVar1)" identifier = (call_expression "FUN_00038460(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" if (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" ( (binary_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b660(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" identifier = (call_expression "FUN_0003b660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" identifier = (call_expression "FUN_0003b710(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" { (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" identifier (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" ( identifier , (pointer_expression "&DAT_000818d0" & identifier) , (pointer_expression "&DAT_000818d4" & identifier) ))) ;) })) }) (else_clause "else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" else (compound_statement "{\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" { (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" identifier = (call_expression "FUN_0003bb90(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);" (assignment_expression "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40)" identifier = (call_expression "strchr(*(char **)(iVar2 + 8),0x40)" identifier (argument_list "(*(char **)(iVar2 + 8),0x40)" ( (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" if (parenthesized_expression "(((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@'))" ( (binary_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')" (parenthesized_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (pcVar3[1] == '@')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3[1] == '@')" ( (binary_expression "pcVar3[1] == '@'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) && (parenthesized_expression "(pcVar3[2] == '@')" ( (binary_expression "pcVar3[2] == '@'" (subscript_expression "pcVar3[2]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" { (expression_statement "sVar4 = strlen(pcVar3 + 3);" (assignment_expression "sVar4 = strlen(pcVar3 + 3)" identifier = (call_expression "strlen(pcVar3 + 3)" identifier (argument_list "(pcVar3 + 3)" ( (binary_expression "pcVar3 + 3" identifier + number_literal) )))) ;) (expression_statement "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);" (call_expression "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" identifier (argument_list "(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) , (binary_expression "pcVar3 + 3" identifier + number_literal) , (binary_expression "sVar4 + 1" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = FUN_0003b660(iVar1);" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" identifier = (call_expression "FUN_0003b660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" if (parenthesized_expression "((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" identifier = (call_expression "FUN_0003b710(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" { (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" identifier (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" ( identifier , (pointer_expression "&DAT_000818d0" & identifier) , (pointer_expression "&DAT_000818d4" & identifier) ))) ;) })) }))) })) (expression_statement "iVar1 = FUN_0003b210(iVar1);" (assignment_expression "iVar1 = FUN_0003b210(iVar1)" identifier = (call_expression "FUN_0003b210(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid elf_frob_file_before_adjust(void)\n\n{\n  symbolS *s;\n  int iVar1;\n  elf_obj_sy *peVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  s = symbol_rootP;\n  if (symbol_rootP != (symbolS *)0x0) {\n    do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);\n  }\n  return;\n}\n\n" comment comment (function_definition "void elf_frob_file_before_adjust(void)\n\n{\n  symbolS *s;\n  int iVar1;\n  elf_obj_sy *peVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  s = symbol_rootP;\n  if (symbol_rootP != (symbolS *)0x0) {\n    do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "elf_frob_file_before_adjust(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  symbolS *s;\n  int iVar1;\n  elf_obj_sy *peVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  s = symbol_rootP;\n  if (symbol_rootP != (symbolS *)0x0) {\n    do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);\n  }\n  return;\n}" { (declaration "symbolS *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "elf_obj_sy *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "s = symbol_rootP;" (assignment_expression "s = symbol_rootP" identifier = identifier) ;) (if_statement "if (symbol_rootP != (symbolS *)0x0) {\n    do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);\n  }" if (parenthesized_expression "(symbol_rootP != (symbolS *)0x0)" ( (binary_expression "symbol_rootP != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);\n  }" { (do_statement "do {\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    } while (s != (symbolS *)0x0);" do (compound_statement "{\n      iVar1 = S_IS_DEFINED(s);\n      if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }\n      s = symbol_next(s);\n    }" { (expression_statement "iVar1 = S_IS_DEFINED(s);" (assignment_expression "iVar1 = S_IS_DEFINED(s)" identifier = (call_expression "S_IS_DEFINED(s)" identifier (argument_list "(s)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        peVar2 = symbol_get_obj(s);\n        if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n      }" { (expression_statement "peVar2 = symbol_get_obj(s);" (assignment_expression "peVar2 = symbol_get_obj(s)" identifier = (call_expression "symbol_get_obj(s)" identifier (argument_list "(s)" ( identifier )))) ;) (if_statement "if (peVar2->versioned_name == (char *)0x0) {\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }\n        else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }" if (parenthesized_expression "(peVar2->versioned_name == (char *)0x0)" ( (binary_expression "peVar2->versioned_name == (char *)0x0" (field_expression "peVar2->versioned_name" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar1 = S_IS_WEAK(s);\n          if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }" { (expression_statement "iVar1 = S_IS_WEAK(s);" (assignment_expression "iVar1 = S_IS_WEAK(s)" identifier = (call_expression "S_IS_WEAK(s)" identifier (argument_list "(s)" ( identifier )))) ;) (if_statement "if (((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }" if (parenthesized_expression "(((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0))" ( (binary_expression "((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)) &&\n             (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)" (parenthesized_expression "((iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = symbol_used_p(s), iVar1 == 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = symbol_used_p(s), iVar1 == 0)" ( (comma_expression "iVar1 = symbol_used_p(s), iVar1 == 0" (assignment_expression "iVar1 = symbol_used_p(s)" identifier = (call_expression "symbol_used_p(s)" identifier (argument_list "(s)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)" ( (comma_expression "iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0" (assignment_expression "iVar1 = symbol_used_in_reloc_p(s)" identifier = (call_expression "symbol_used_in_reloc_p(s)" identifier (argument_list "(s)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }" { (expression_statement "symbol_remove(s,&symbol_rootP,&symbol_lastP);" (call_expression "symbol_remove(s,&symbol_rootP,&symbol_lastP)" identifier (argument_list "(s,&symbol_rootP,&symbol_lastP)" ( identifier , (pointer_expression "&symbol_rootP" & identifier) , (pointer_expression "&symbol_lastP" & identifier) ))) ;) })) }) (else_clause "else {\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }" else (compound_statement "{\n          peVar2 = symbol_get_obj(s);\n          pcVar3 = strchr(peVar2->versioned_name,0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar1 = symbol_used_p(s);\n          if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }\n        }" { (expression_statement "peVar2 = symbol_get_obj(s);" (assignment_expression "peVar2 = symbol_get_obj(s)" identifier = (call_expression "symbol_get_obj(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "pcVar3 = strchr(peVar2->versioned_name,0x40);" (assignment_expression "pcVar3 = strchr(peVar2->versioned_name,0x40)" identifier = (call_expression "strchr(peVar2->versioned_name,0x40)" identifier (argument_list "(peVar2->versioned_name,0x40)" ( (field_expression "peVar2->versioned_name" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" if (parenthesized_expression "(((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@'))" ( (binary_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')" (parenthesized_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (pcVar3[1] == '@')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3[1] == '@')" ( (binary_expression "pcVar3[1] == '@'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) && (parenthesized_expression "(pcVar3[2] == '@')" ( (binary_expression "pcVar3[2] == '@'" (subscript_expression "pcVar3[2]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" { (expression_statement "sVar4 = strlen(pcVar3 + 3);" (assignment_expression "sVar4 = strlen(pcVar3 + 3)" identifier = (call_expression "strlen(pcVar3 + 3)" identifier (argument_list "(pcVar3 + 3)" ( (binary_expression "pcVar3 + 3" identifier + number_literal) )))) ;) (expression_statement "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);" (call_expression "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" identifier (argument_list "(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) , (binary_expression "pcVar3 + 3" identifier + number_literal) , (binary_expression "sVar4 + 1" identifier + number_literal) ))) ;) })) (expression_statement "iVar1 = symbol_used_p(s);" (assignment_expression "iVar1 = symbol_used_p(s)" identifier = (call_expression "symbol_used_p(s)" identifier (argument_list "(s)" ( identifier )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)) {\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0)" ( (comma_expression "iVar1 = symbol_used_in_reloc_p(s), iVar1 == 0" (assignment_expression "iVar1 = symbol_used_in_reloc_p(s)" identifier = (call_expression "symbol_used_in_reloc_p(s)" identifier (argument_list "(s)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            symbol_remove(s,&symbol_rootP,&symbol_lastP);\n          }" { (expression_statement "symbol_remove(s,&symbol_rootP,&symbol_lastP);" (call_expression "symbol_remove(s,&symbol_rootP,&symbol_lastP)" identifier (argument_list "(s,&symbol_rootP,&symbol_lastP)" ( identifier , (pointer_expression "&symbol_rootP" & identifier) , (pointer_expression "&symbol_lastP" & identifier) ))) ;) })) }))) })) (expression_statement "s = symbol_next(s);" (assignment_expression "s = symbol_next(s)" identifier = (call_expression "symbol_next(s)" identifier (argument_list "(s)" ( identifier )))) ;) }) while (parenthesized_expression "(s != (symbolS *)0x0)" ( (binary_expression "s != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004d2d0(void)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004d2d0(void)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004d2d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "iVar1 = DAT_000818d0;" (assignment_expression "iVar1 = DAT_000818d0" identifier = identifier) ;) (if_statement "if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" if (parenthesized_expression "(DAT_000818d0 != 0)" ( (binary_expression "DAT_000818d0 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" { (do_statement "do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);" do (compound_statement "{\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    }" { (expression_statement "iVar2 = FUN_000385a0(iVar1);" (assignment_expression "iVar2 = FUN_000385a0(iVar1)" identifier = (call_expression "FUN_000385a0(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" { (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" identifier = (call_expression "FUN_0003bb90(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" ( (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" { (expression_statement "iVar2 = FUN_00038460(iVar1);" (assignment_expression "iVar2 = FUN_00038460(iVar1)" identifier = (call_expression "FUN_00038460(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" if (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" ( (binary_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0))" ( (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b660(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" identifier = (call_expression "FUN_0003b660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" identifier = (call_expression "FUN_0003b710(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" { (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" identifier (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" ( identifier , (pointer_expression "&DAT_000818d0" & identifier) , (pointer_expression "&DAT_000818d4" & identifier) ))) ;) })) }) (else_clause "else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" else (compound_statement "{\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" { (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" identifier = (call_expression "FUN_0003bb90(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);" (assignment_expression "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40)" identifier = (call_expression "strchr(*(char **)(iVar2 + 8),0x40)" identifier (argument_list "(*(char **)(iVar2 + 8),0x40)" ( (pointer_expression "*(char **)(iVar2 + 8)" * (cast_expression "(char **)(iVar2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" if (parenthesized_expression "(((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@'))" ( (binary_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')" (parenthesized_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (pcVar3[1] == '@')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar3[1] == '@')" ( (binary_expression "pcVar3[1] == '@'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) && (parenthesized_expression "(pcVar3[2] == '@')" ( (binary_expression "pcVar3[2] == '@'" (subscript_expression "pcVar3[2]" identifier [ number_literal ]) == (char_literal "'@'" ' character ')) ))) )) (compound_statement "{\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" { (expression_statement "sVar4 = strlen(pcVar3 + 3);" (assignment_expression "sVar4 = strlen(pcVar3 + 3)" identifier = (call_expression "strlen(pcVar3 + 3)" identifier (argument_list "(pcVar3 + 3)" ( (binary_expression "pcVar3 + 3" identifier + number_literal) )))) ;) (expression_statement "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);" (call_expression "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" identifier (argument_list "(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) , (binary_expression "pcVar3 + 3" identifier + number_literal) , (binary_expression "sVar4 + 1" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = FUN_0003b660(iVar1);" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" identifier = (call_expression "FUN_0003b660(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" if (parenthesized_expression "((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" identifier = (call_expression "FUN_0003b710(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" { (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" identifier (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" ( identifier , (pointer_expression "&DAT_000818d0" & identifier) , (pointer_expression "&DAT_000818d4" & identifier) ))) ;) })) }))) })) (expression_statement "iVar1 = FUN_0003b210(iVar1);" (assignment_expression "iVar1 = FUN_0003b210(iVar1)" identifier = (call_expression "FUN_0003b210(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) })) }))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0004d2d0(void)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004d2d0(void)" (identifier "FUN_0004d2d0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  iVar1 = DAT_000818d0;\n  if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (expression_statement "iVar1 = DAT_000818d0;" (assignment_expression "iVar1 = DAT_000818d0" (identifier "iVar1") (= "=") (identifier "DAT_000818d0")) (; ";")) (if_statement "if (DAT_000818d0 != 0) {\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" (if "if") (parenthesized_expression "(DAT_000818d0 != 0)" (( "(") (binary_expression "DAT_000818d0 != 0" (identifier "DAT_000818d0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      iVar2 = FUN_000385a0(iVar1);\n      if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }\n      iVar1 = FUN_0003b210(iVar1);\n    }" ({ "{") (expression_statement "iVar2 = FUN_000385a0(iVar1);" (assignment_expression "iVar2 = FUN_000385a0(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_000385a0(iVar1)" (identifier "FUN_000385a0") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = FUN_0003bb90(iVar1);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n      }" ({ "{") (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003bb90(iVar1)" (identifier "FUN_0003bb90") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }\n        else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = FUN_00038460(iVar1);\n          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" ({ "{") (expression_statement "iVar2 = FUN_00038460(iVar1);" (assignment_expression "iVar2 = FUN_00038460(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_00038460(iVar1)" (identifier "FUN_00038460") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" (if "if") (parenthesized_expression "(((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" (( "(") (binary_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&\n             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0))" (( "(") (binary_expression "(iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_0003b660(iVar1), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_0003b660(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003b660(iVar1)" (identifier "FUN_0003b660") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003b710(iVar1)" (identifier "FUN_0003b710") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" ({ "{") (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" (identifier "FUN_000375f0") (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "&DAT_000818d0" (& "&") (identifier "DAT_000818d0")) (, ",") (pointer_expression "&DAT_000818d4" (& "&") (identifier "DAT_000818d4")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" (else "else") (compound_statement "{\n          iVar2 = FUN_0003bb90(iVar1);\n          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);\n          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }\n          iVar2 = FUN_0003b660(iVar1);\n          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }\n        }" ({ "{") (expression_statement "iVar2 = FUN_0003bb90(iVar1);" (assignment_expression "iVar2 = FUN_0003bb90(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003bb90(iVar1)" (identifier "FUN_0003bb90") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);" (assignment_expression "pcVar3 = strchr(*(char **)(iVar2 + 8),0x40)" (identifier "pcVar3") (= "=") (call_expression "strchr(*(char **)(iVar2 + 8),0x40)" (identifier "strchr") (argument_list "(*(char **)(iVar2 + 8),0x40)" (( "(") (pointer_expression "*(char **)(iVar2 + 8)" (* "*") (cast_expression "(char **)(iVar2 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "0x40") () ")")))) (; ";")) (if_statement "if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" (if "if") (parenthesized_expression "(((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@'))" (( "(") (binary_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')" (parenthesized_expression "((pcVar3 != (char *)0x0) && (pcVar3[1] == '@'))" (( "(") (binary_expression "(pcVar3 != (char *)0x0) && (pcVar3[1] == '@')" (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3[1] == '@')" (( "(") (binary_expression "pcVar3[1] == '@'" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3[2] == '@')" (( "(") (binary_expression "pcVar3[2] == '@'" (subscript_expression "pcVar3[2]" (identifier "pcVar3") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            sVar4 = strlen(pcVar3 + 3);\n            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);\n          }" ({ "{") (expression_statement "sVar4 = strlen(pcVar3 + 3);" (assignment_expression "sVar4 = strlen(pcVar3 + 3)" (identifier "sVar4") (= "=") (call_expression "strlen(pcVar3 + 3)" (identifier "strlen") (argument_list "(pcVar3 + 3)" (( "(") (binary_expression "pcVar3 + 3" (identifier "pcVar3") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);" (call_expression "memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" (identifier "memmove") (argument_list "(pcVar3 + 1,pcVar3 + 3,sVar4 + 1)" (( "(") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1")) (, ",") (binary_expression "pcVar3 + 3" (identifier "pcVar3") (+ "+") (number_literal "3")) (, ",") (binary_expression "sVar4 + 1" (identifier "sVar4") (+ "+") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_0003b660(iVar1);" (assignment_expression "iVar2 = FUN_0003b660(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003b660(iVar1)" (identifier "FUN_0003b660") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" (if "if") (parenthesized_expression "((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0))" (( "(") (binary_expression "(iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_0003b710(iVar1), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_0003b710(iVar1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0003b710(iVar1)" (identifier "iVar2") (= "=") (call_expression "FUN_0003b710(iVar1)" (identifier "FUN_0003b710") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);\n          }" ({ "{") (expression_statement "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);" (call_expression "FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4)" (identifier "FUN_000375f0") (argument_list "(iVar1,&DAT_000818d0,&DAT_000818d4)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "&DAT_000818d0" (& "&") (identifier "DAT_000818d0")) (, ",") (pointer_expression "&DAT_000818d4" (& "&") (identifier "DAT_000818d4")) () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "iVar1 = FUN_0003b210(iVar1);" (assignment_expression "iVar1 = FUN_0003b210(iVar1)" (identifier "iVar1") (= "=") (call_expression "FUN_0003b210(iVar1)" (identifier "FUN_0003b210") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *var_15;
  int var_3;
  type_2 *peVar2;
  char *var_10;
  size_t var_13;
  
  var_15 = var_1;
  if (var_1 != (type_1 *)0x0) {
    do {
      var_3 = var_2(var_15);
      if (var_3 == 0) {
        peVar2 = var_4(var_15);
        if (peVar2->versioned_name == (char *)0x0) {
          var_3 = var_5(var_15);
          if (((var_3 != 0) && (var_3 = var_6(var_15), var_3 == 0)) &&
             (var_3 = var_7(var_15), var_3 == 0)) {
            var_8(var_15,&var_1,&symbol_lastP);
          }
        }
        else {
          peVar2 = var_4(var_15);
          var_10 = var_9(peVar2->versioned_name,0x40);
          if (((var_10 != (char *)0x0) && (var_10[1] == '@')) && (var_10[2] == '@')) {
            var_13 = var_11(var_10 + 3);
            var_12(var_10 + 1,var_10 + 3,var_13 + 1);
          }
          var_3 = var_6(var_15);
          if ((var_3 == 0) && (var_3 = var_7(var_15), var_3 == 0)) {
            var_8(var_15,&var_1,&symbol_lastP);
          }
        }
      }
      var_15 = var_14(var_15);
    } while (var_15 != (type_1 *)0x0);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(void)

{
  int iVar1;
  int iVar2;
  char *pcVar3;
  size_t sVar4;
  
  iVar1 = DAT_000818d0;
  if (DAT_000818d0 != 0) {
    do {
      iVar2 = FUN_000385a0(iVar1);
      if (iVar2 == 0) {
        iVar2 = FUN_0003bb90(iVar1);
        if (*(int *)(iVar2 + 8) == 0) {
          iVar2 = FUN_00038460(iVar1);
          if (((iVar2 != 0) && (iVar2 = FUN_0003b660(iVar1), iVar2 == 0)) &&
             (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {
            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);
          }
        }
        else {
          iVar2 = FUN_0003bb90(iVar1);
          pcVar3 = strchr(*(char **)(iVar2 + 8),0x40);
          if (((pcVar3 != (char *)0x0) && (pcVar3[1] == '@')) && (pcVar3[2] == '@')) {
            sVar4 = strlen(pcVar3 + 3);
            memmove(pcVar3 + 1,pcVar3 + 3,sVar4 + 1);
          }
          iVar2 = FUN_0003b660(iVar1);
          if ((iVar2 == 0) && (iVar2 = FUN_0003b710(iVar1), iVar2 == 0)) {
            FUN_000375f0(iVar1,&DAT_000818d0,&DAT_000818d4);
          }
        }
      }
      iVar1 = FUN_0003b210(iVar1);
    } while (iVar1 != 0);
  }
  return;
}

