
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void mark_symbols_used_in_relocations(bfd *ibfd,sec_ptr isection,void *symbolsarg)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 *__ptr;
  undefined4 *puVar6;
  
  if (isection->output_section == (bfd_section *)0x0) {
    return;
  }
  iVar5 = bfd_get_reloc_upper_bound(ibfd,isection);
  if (iVar5 < 0) {
    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {
      return;
    }
  }
  else {
    if (iVar5 == 0) {
      return;
    }
    __ptr = (undefined4 *)xmalloc(iVar5);
    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);
    if (-1 < iVar5) {
      if (iVar5 != 0) {
        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);
        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);
        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);
        puVar6 = __ptr;
        do {
          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&
              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {
            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;
          }
          puVar6 = puVar6 + 1;
        } while (puVar6 != __ptr + iVar5);
      }
      free(__ptr);
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  bfd_fatal(ibfd->filename);
}



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

void FUN_00018470(undefined4 param_1,int param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined4 uStackY_40;
  undefined1 auStack_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x18479;
  if (*(int *)(param_2 + 0x3c) != 0) {
    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);
    puVar8 = auStack_2c;
    if (iVar4 < 0) {
      puVar7 = auStack_2c;
      if (iVar4 != -1) goto LAB_000184bf;
      iVar4 = bfd_get_error();
      puVar7 = auStack_2c;
      if (iVar4 != 5) goto LAB_000184bf;
    }
    else if (iVar4 != 0) {
      while( true ) {
        *(int *)(puVar8 + -0x10) = iVar4;
        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;
        puVar5 = (undefined4 *)xmalloc();
        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);
        *(undefined4 **)(puVar8 + -0x18) = puVar5;
        *(int *)(puVar8 + -0x1c) = param_2;
        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);
        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;
        iVar4 = bfd_canonicalize_reloc();
        puVar7 = puVar8;
        if (-1 < iVar4) break;
LAB_000184bf:
        puVar8 = puVar7 + -0x10;
        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);
        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;
        iVar4 = FUN_0002b610();
      }
      if (iVar4 != 0) {
        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);
        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);
        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);
        puVar6 = puVar5;
        do {
          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&
              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {
            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;
          }
          puVar6 = puVar6 + 1;
        } while (puVar6 != puVar5 + iVar4);
      }
      *(undefined4 **)(puVar8 + -0x10) = puVar5;
      *(undefined4 *)(puVar8 + -0x14) = 0x18550;
      free(*(void **)(puVar8 + -0x10));
      return;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000165d0
ADD EBX,0x26b87
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [EDI + 0x3c]
TEST EAX,EAX
JZ 0x000184a3
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
CALL 0x00013830
ADD ESP,0x10
TEST EAX,EAX
JS 0x000184b0
JNZ 0x000184d0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,-0x1
JNZ 0x000184bf
CALL 0x000132b0
CMP EAX,0x5
JZ 0x000184a3
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x3c]
PUSH dword ptr [EAX]
CALL 0x0002b610
LEA ESI,[ESI]
SUB ESP,0xc
PUSH EAX
CALL 0x000132e0
PUSH dword ptr [ESP + 0x48]
PUSH EAX
MOV ESI,EAX
PUSH EDI
PUSH dword ptr [ESP + 0x4c]
CALL 0x000137c0
ADD ESP,0x20
TEST EAX,EAX
JS 0x000184bf
JZ 0x00018547
MOV EDX,dword ptr [EBX + 0xffffffc8]
MOV ECX,dword ptr [EDX + 0x140]
MOV EDI,dword ptr [EDX + 0x98]
MOV EBP,dword ptr [EDX + 0x1e8]
MOV EDX,ESI
MOV dword ptr [ESP + 0xc],ECX
LEA ECX,[ESI + EAX*0x4]
LEA ESI,[ESI]
MOV EAX,dword ptr [EDX]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00018540
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00018540
CMP EAX,EDI
JZ 0x00018540
CMP EAX,EBP
JZ 0x00018540
CMP EAX,dword ptr [ESP + 0xc]
JZ 0x00018540
OR dword ptr [EAX + 0xc],0x20
LEA ESI,[ESI]
NOP
ADD EDX,0x4
CMP EDX,ECX
JNZ 0x00018518
SUB ESP,0xc
PUSH ESI
CALL 0x00013948
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00018470(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00018470(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018470(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uStackY_40;" type_identifier identifier ;) (declaration "undefined1 auStack_2c [24];" type_identifier (array_declarator "auStack_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x18479;" (assignment_expression "uStack_14 = 0x18479" identifier = number_literal) ;) (if_statement "if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3c) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3c) != 0" (pointer_expression "*(int *)(param_2 + 0x3c)" * (cast_expression "(int *)(param_2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" { (expression_statement "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "puVar8 = auStack_2c;" (assignment_expression "puVar8 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }" { (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 != -1) goto LAB_000184bf;" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000184bf;" goto statement_identifier ;)) (expression_statement "iVar4 = bfd_get_error();" (assignment_expression "iVar4 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 != 5) goto LAB_000184bf;" if (parenthesized_expression "(iVar4 != 5)" ( (binary_expression "iVar4 != 5" identifier != number_literal) )) (goto_statement "goto LAB_000184bf;" goto statement_identifier ;)) }) (else_clause "else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" else (if_statement "if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" { (while_statement "while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" { (expression_statement "*(int *)(puVar8 + -0x10) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x184d9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x184d9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)xmalloc();" (assignment_expression "puVar5 = (undefined4 *)xmalloc()" identifier = (cast_expression "(undefined4 *)xmalloc()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38)" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar8 + 0x38)" * (cast_expression "(undefined4 *)(puVar8 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x38)" ( (binary_expression "puVar8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(puVar8 + -0x18) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x18) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x18)" * (cast_expression "(undefined4 **)(puVar8 + -0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_2;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_2" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);" (assignment_expression "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30)" (pointer_expression "*(undefined4 *)(puVar8 + -0x20)" * (cast_expression "(undefined4 *)(puVar8 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar8 + 0x30)" * (cast_expression "(undefined4 *)(puVar8 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x30)" ( (binary_expression "puVar8 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x184ea;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x184ea" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" * (cast_expression "(undefined4 *)(puVar8 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = bfd_canonicalize_reloc();" (assignment_expression "iVar4 = bfd_canonicalize_reloc()" identifier = (call_expression "bfd_canonicalize_reloc()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (-1 < iVar4) break;" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_000184bf:\n        puVar8 = puVar7 + -0x10;" statement_identifier : (expression_statement "puVar8 = puVar7 + -0x10;" (assignment_expression "puVar8 = puVar7 + -0x10" identifier = (binary_expression "puVar7 + -0x10" identifier + number_literal)) ;)) (expression_statement "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);" (assignment_expression "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30)" (pointer_expression "*(undefined4 *)(puVar7 + -0x10)" * (cast_expression "(undefined4 *)(puVar7 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = (pointer_expression "**(undefined4 **)(puVar7 + 0x30)" * (pointer_expression "*(undefined4 **)(puVar7 + 0x30)" * (cast_expression "(undefined4 **)(puVar7 + 0x30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x30)" ( (binary_expression "puVar7 + 0x30" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x184cd;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x184cd" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = FUN_0002b610();" (assignment_expression "iVar4 = FUN_0002b610()" identifier = (call_expression "FUN_0002b610()" identifier (argument_list "()" ( )))) ;) })) (if_statement "if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" { (expression_statement "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);" (assignment_expression "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x98)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x98" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);" (assignment_expression "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x1e8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);" (assignment_expression "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" (pointer_expression "*(undefined4 *)(puVar8 + 0xc)" * (cast_expression "(undefined4 *)(puVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" * (cast_expression "(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x140)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (do_statement "do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);" do (compound_statement "{\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        }" { (if_statement "if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" if (parenthesized_expression "((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))))" ( (binary_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" (parenthesized_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1))" ( (binary_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)" (parenthesized_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0))" ( (binary_expression "(*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)" (parenthesized_expression "(*(int **)*puVar6 != (int *)0x0)" ( (binary_expression "*(int **)*puVar6 != (int *)0x0" (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = **(int **)*puVar6, iVar3 != 0)" ( (comma_expression "iVar3 = **(int **)*puVar6, iVar3 != 0" (assignment_expression "iVar3 = **(int **)*puVar6" identifier = (pointer_expression "**(int **)*puVar6" * (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != identifier) ))) )) && (parenthesized_expression "((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" ( (parenthesized_expression "(iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))" ( (binary_expression "iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))" (binary_expression "iVar3 != iVar2" identifier != identifier) && (parenthesized_expression "(iVar3 != *(int *)(puVar8 + 0xc))" ( (binary_expression "iVar3 != *(int *)(puVar8 + 0xc)" identifier != (pointer_expression "*(int *)(puVar8 + 0xc)" * (cast_expression "(int *)(puVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" { (expression_statement "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;" (assignment_expression "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" * (cast_expression "(uint *)(iVar3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" * (cast_expression "(uint *)(iVar3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != puVar5 + iVar4)" ( (binary_expression "puVar6 != puVar5 + iVar4" identifier != (binary_expression "puVar5 + iVar4" identifier + identifier)) )) ;) })) (expression_statement "*(undefined4 **)(puVar8 + -0x10) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x10) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x10)" * (cast_expression "(undefined4 **)(puVar8 + -0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x18550;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x18550" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)(puVar8 + -0x10));" (call_expression "free(*(void **)(puVar8 + -0x10))" identifier (argument_list "(*(void **)(puVar8 + -0x10))" ( (pointer_expression "*(void **)(puVar8 + -0x10)" * (cast_expression "(void **)(puVar8 + -0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))) })) (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 */\n\nvoid mark_symbols_used_in_relocations(bfd *ibfd,sec_ptr isection,void *symbolsarg)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__ptr;\n  undefined4 *puVar6;\n  \n  if (isection->output_section == (bfd_section *)0x0) {\n    return;\n  }\n  iVar5 = bfd_get_reloc_upper_bound(ibfd,isection);\n  if (iVar5 < 0) {\n    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }\n  }\n  else {\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(ibfd->filename);\n}\n\n" comment comment (function_definition "void mark_symbols_used_in_relocations(bfd *ibfd,sec_ptr isection,void *symbolsarg)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__ptr;\n  undefined4 *puVar6;\n  \n  if (isection->output_section == (bfd_section *)0x0) {\n    return;\n  }\n  iVar5 = bfd_get_reloc_upper_bound(ibfd,isection);\n  if (iVar5 < 0) {\n    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }\n  }\n  else {\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(ibfd->filename);\n}" primitive_type (function_declarator "mark_symbols_used_in_relocations(bfd *ibfd,sec_ptr isection,void *symbolsarg)" identifier (parameter_list "(bfd *ibfd,sec_ptr isection,void *symbolsarg)" ( (parameter_declaration "bfd *ibfd" type_identifier (pointer_declarator "*ibfd" * identifier)) , (parameter_declaration "sec_ptr isection" type_identifier identifier) , (parameter_declaration "void *symbolsarg" primitive_type (pointer_declarator "*symbolsarg" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__ptr;\n  undefined4 *puVar6;\n  \n  if (isection->output_section == (bfd_section *)0x0) {\n    return;\n  }\n  iVar5 = bfd_get_reloc_upper_bound(ibfd,isection);\n  if (iVar5 < 0) {\n    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }\n  }\n  else {\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  bfd_fatal(ibfd->filename);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (isection->output_section == (bfd_section *)0x0) {\n    return;\n  }" if (parenthesized_expression "(isection->output_section == (bfd_section *)0x0)" ( (binary_expression "isection->output_section == (bfd_section *)0x0" (field_expression "isection->output_section" identifier -> field_identifier) == (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = bfd_get_reloc_upper_bound(ibfd,isection);" (assignment_expression "iVar5 = bfd_get_reloc_upper_bound(ibfd,isection)" identifier = (call_expression "bfd_get_reloc_upper_bound(ibfd,isection)" identifier (argument_list "(ibfd,isection)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 < 0) {\n    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }\n  }\n  else {\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }\n  }" { (if_statement "if ((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)) {\n      return;\n    }" if (parenthesized_expression "((iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5))" ( (binary_expression "(iVar5 == -1) && (iVar5 = bfd_get_error(), iVar5 == 5)" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) && (parenthesized_expression "(iVar5 = bfd_get_error(), iVar5 == 5)" ( (comma_expression "iVar5 = bfd_get_error(), iVar5 == 5" (assignment_expression "iVar5 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) , (binary_expression "iVar5 == 5" identifier == number_literal)) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }" else (compound_statement "{\n    if (iVar5 == 0) {\n      return;\n    }\n    __ptr = (undefined4 *)xmalloc(iVar5);\n    iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);\n    if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }\n  }" { (if_statement "if (iVar5 == 0) {\n      return;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "__ptr = (undefined4 *)xmalloc(iVar5);" (assignment_expression "__ptr = (undefined4 *)xmalloc(iVar5)" identifier = (cast_expression "(undefined4 *)xmalloc(iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))))) ;) (expression_statement "iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg);" (assignment_expression "iVar5 = bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg)" identifier = (call_expression "bfd_canonicalize_reloc(ibfd,isection,__ptr,symbolsarg)" identifier (argument_list "(ibfd,isection,__ptr,symbolsarg)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (-1 < iVar5) {\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n      if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }\n      free(__ptr);\n      return;\n    }" { (if_statement "if (iVar5 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        puVar6 = __ptr;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);\n      }" { (expression_statement "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140);" (assignment_expression "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x140)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x140)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x140)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x140)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);" (assignment_expression "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x98)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x98" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);" (assignment_expression "iVar3 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x1e8" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = __ptr;" (assignment_expression "puVar6 = __ptr" identifier = identifier) ;) (do_statement "do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != __ptr + iVar5);" do (compound_statement "{\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        }" { (if_statement "if ((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))) {\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }" if (parenthesized_expression "((((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1))))" ( (binary_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)) && ((iVar4 != iVar3 && (iVar4 != iVar1)))" (parenthesized_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2))" ( (binary_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)) &&\n              (iVar4 != iVar2)" (parenthesized_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0))" ( (binary_expression "(*(int **)*puVar6 != (int *)0x0) && (iVar4 = **(int **)*puVar6, iVar4 != 0)" (parenthesized_expression "(*(int **)*puVar6 != (int *)0x0)" ( (binary_expression "*(int **)*puVar6 != (int *)0x0" (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar4 = **(int **)*puVar6, iVar4 != 0)" ( (comma_expression "iVar4 = **(int **)*puVar6, iVar4 != 0" (assignment_expression "iVar4 = **(int **)*puVar6" identifier = (pointer_expression "**(int **)*puVar6" * (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) ))) )) && (parenthesized_expression "((iVar4 != iVar3 && (iVar4 != iVar1)))" ( (parenthesized_expression "(iVar4 != iVar3 && (iVar4 != iVar1))" ( (binary_expression "iVar4 != iVar3 && (iVar4 != iVar1)" (binary_expression "iVar4 != iVar3" identifier != identifier) && (parenthesized_expression "(iVar4 != iVar1)" ( (binary_expression "iVar4 != iVar1" identifier != identifier) ))) )) ))) )) (compound_statement "{\n            *(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;\n          }" { (expression_statement "*(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20;" (assignment_expression "*(uint *)(iVar4 + 0xc) = *(uint *)(iVar4 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar4 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != __ptr + iVar5)" ( (binary_expression "puVar6 != __ptr + iVar5" identifier != (binary_expression "__ptr + iVar5" identifier + identifier)) )) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) comment (expression_statement "bfd_fatal(ibfd->filename);" (call_expression "bfd_fatal(ibfd->filename)" identifier (argument_list "(ibfd->filename)" ( (field_expression "ibfd->filename" identifier -> field_identifier) ))) ;) })))
(translation_unit "void FUN_00018470(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00018470(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018470(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uStackY_40;" type_identifier identifier ;) (declaration "undefined1 auStack_2c [24];" type_identifier (array_declarator "auStack_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x18479;" (assignment_expression "uStack_14 = 0x18479" identifier = number_literal) ;) (if_statement "if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3c) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3c) != 0" (pointer_expression "*(int *)(param_2 + 0x3c)" * (cast_expression "(int *)(param_2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" { (expression_statement "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "puVar8 = auStack_2c;" (assignment_expression "puVar8 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }" { (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 != -1) goto LAB_000184bf;" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000184bf;" goto statement_identifier ;)) (expression_statement "iVar4 = bfd_get_error();" (assignment_expression "iVar4 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" identifier = identifier) ;) (if_statement "if (iVar4 != 5) goto LAB_000184bf;" if (parenthesized_expression "(iVar4 != 5)" ( (binary_expression "iVar4 != 5" identifier != number_literal) )) (goto_statement "goto LAB_000184bf;" goto statement_identifier ;)) }) (else_clause "else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" else (if_statement "if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" { (while_statement "while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" { (expression_statement "*(int *)(puVar8 + -0x10) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x184d9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x184d9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)xmalloc();" (assignment_expression "puVar5 = (undefined4 *)xmalloc()" identifier = (cast_expression "(undefined4 *)xmalloc()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38)" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar8 + 0x38)" * (cast_expression "(undefined4 *)(puVar8 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x38)" ( (binary_expression "puVar8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(puVar8 + -0x18) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x18) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x18)" * (cast_expression "(undefined4 **)(puVar8 + -0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_2;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_2" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);" (assignment_expression "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30)" (pointer_expression "*(undefined4 *)(puVar8 + -0x20)" * (cast_expression "(undefined4 *)(puVar8 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar8 + 0x30)" * (cast_expression "(undefined4 *)(puVar8 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x30)" ( (binary_expression "puVar8 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x184ea;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x184ea" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" * (cast_expression "(undefined4 *)(puVar8 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = bfd_canonicalize_reloc();" (assignment_expression "iVar4 = bfd_canonicalize_reloc()" identifier = (call_expression "bfd_canonicalize_reloc()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" identifier = identifier) ;) (if_statement "if (-1 < iVar4) break;" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_000184bf:\n        puVar8 = puVar7 + -0x10;" statement_identifier : (expression_statement "puVar8 = puVar7 + -0x10;" (assignment_expression "puVar8 = puVar7 + -0x10" identifier = (binary_expression "puVar7 + -0x10" identifier + number_literal)) ;)) (expression_statement "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);" (assignment_expression "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30)" (pointer_expression "*(undefined4 *)(puVar7 + -0x10)" * (cast_expression "(undefined4 *)(puVar7 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = (pointer_expression "**(undefined4 **)(puVar7 + 0x30)" * (pointer_expression "*(undefined4 **)(puVar7 + 0x30)" * (cast_expression "(undefined4 **)(puVar7 + 0x30)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x30)" ( (binary_expression "puVar7 + 0x30" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x184cd;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x184cd" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = FUN_0002b610();" (assignment_expression "iVar4 = FUN_0002b610()" identifier = (call_expression "FUN_0002b610()" identifier (argument_list "()" ( )))) ;) })) (if_statement "if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" { (expression_statement "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);" (assignment_expression "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x98)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x98" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);" (assignment_expression "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" identifier = (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" * (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x1e8)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x1e8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);" (assignment_expression "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" (pointer_expression "*(undefined4 *)(puVar8 + 0xc)" * (cast_expression "(undefined4 *)(puVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" * (cast_expression "(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x140)" ( (binary_expression "PTR__bfd_std_section_0003efc8 + 0x140" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (do_statement "do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);" do (compound_statement "{\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        }" { (if_statement "if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" if (parenthesized_expression "((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))))" ( (binary_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" (parenthesized_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1))" ( (binary_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)" (parenthesized_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0))" ( (binary_expression "(*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)" (parenthesized_expression "(*(int **)*puVar6 != (int *)0x0)" ( (binary_expression "*(int **)*puVar6 != (int *)0x0" (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = **(int **)*puVar6, iVar3 != 0)" ( (comma_expression "iVar3 = **(int **)*puVar6, iVar3 != 0" (assignment_expression "iVar3 = **(int **)*puVar6" identifier = (pointer_expression "**(int **)*puVar6" * (pointer_expression "*(int **)*puVar6" * (cast_expression "(int **)*puVar6" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*puVar6" * identifier))))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != identifier) ))) )) && (parenthesized_expression "((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" ( (parenthesized_expression "(iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))" ( (binary_expression "iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))" (binary_expression "iVar3 != iVar2" identifier != identifier) && (parenthesized_expression "(iVar3 != *(int *)(puVar8 + 0xc))" ( (binary_expression "iVar3 != *(int *)(puVar8 + 0xc)" identifier != (pointer_expression "*(int *)(puVar8 + 0xc)" * (cast_expression "(int *)(puVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" { (expression_statement "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;" (assignment_expression "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" * (cast_expression "(uint *)(iVar3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" * (cast_expression "(uint *)(iVar3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) | number_literal)) ;) })) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != puVar5 + iVar4)" ( (binary_expression "puVar6 != puVar5 + iVar4" identifier != (binary_expression "puVar5 + iVar4" identifier + identifier)) )) ;) })) (expression_statement "*(undefined4 **)(puVar8 + -0x10) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x10) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x10)" * (cast_expression "(undefined4 **)(puVar8 + -0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x18550;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x18550" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)(puVar8 + -0x10));" (call_expression "free(*(void **)(puVar8 + -0x10))" identifier (argument_list "(*(void **)(puVar8 + -0x10))" ( (pointer_expression "*(void **)(puVar8 + -0x10)" * (cast_expression "(void **)(puVar8 + -0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression * IDENT))))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) && (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))) })) (return_statement return ;) })))
(function_definition "void FUN_00018470(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00018470(undefined4 param_1,int param_2)" (identifier "FUN_00018470") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uStackY_40;\n  undefined1 auStack_2c [24];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x18479;\n  if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 uStackY_40;" (type_identifier "undefined4") (identifier "uStackY_40") (; ";")) (declaration "undefined1 auStack_2c [24];" (type_identifier "undefined1") (array_declarator "auStack_2c [24]" (identifier "auStack_2c") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x18479;" (assignment_expression "uStack_14 = 0x18479" (identifier "uStack_14") (= "=") (number_literal "0x18479")) (; ";")) (if_statement "if (*(int *)(param_2 + 0x3c) != 0) {\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x3c) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x3c) != 0" (pointer_expression "*(int *)(param_2 + 0x3c)" (* "*") (cast_expression "(int *)(param_2 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);\n    puVar8 = auStack_2c;\n    if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);" (assignment_expression "iVar4 = bfd_get_reloc_upper_bound(param_1,param_2)" (identifier "iVar4") (= "=") (call_expression "bfd_get_reloc_upper_bound(param_1,param_2)" (identifier "bfd_get_reloc_upper_bound") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar8 = auStack_2c;" (assignment_expression "puVar8 = auStack_2c" (identifier "puVar8") (= "=") (identifier "auStack_2c")) (; ";")) (if_statement "if (iVar4 < 0) {\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }\n    else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      puVar7 = auStack_2c;\n      if (iVar4 != -1) goto LAB_000184bf;\n      iVar4 = bfd_get_error();\n      puVar7 = auStack_2c;\n      if (iVar4 != 5) goto LAB_000184bf;\n    }" ({ "{") (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" (identifier "puVar7") (= "=") (identifier "auStack_2c")) (; ";")) (if_statement "if (iVar4 != -1) goto LAB_000184bf;" (if "if") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_000184bf;" (goto "goto") (statement_identifier "LAB_000184bf") (; ";"))) (expression_statement "iVar4 = bfd_get_error();" (assignment_expression "iVar4 = bfd_get_error()" (identifier "iVar4") (= "=") (call_expression "bfd_get_error()" (identifier "bfd_get_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = auStack_2c;" (assignment_expression "puVar7 = auStack_2c" (identifier "puVar7") (= "=") (identifier "auStack_2c")) (; ";")) (if_statement "if (iVar4 != 5) goto LAB_000184bf;" (if "if") (parenthesized_expression "(iVar4 != 5)" (( "(") (binary_expression "iVar4 != 5" (identifier "iVar4") (!= "!=") (number_literal "5")) () ")")) (goto_statement "goto LAB_000184bf;" (goto "goto") (statement_identifier "LAB_000184bf") (; ";"))) (} "}")) (else_clause "else if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" (else "else") (if_statement "if (iVar4 != 0) {\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }\n      if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }\n      *(undefined4 **)(puVar8 + -0x10) = puVar5;\n      *(undefined4 *)(puVar8 + -0x14) = 0x18550;\n      free(*(void **)(puVar8 + -0x10));\n      return;\n    }" ({ "{") (while_statement "while( true ) {\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        *(int *)(puVar8 + -0x10) = iVar4;\n        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;\n        puVar5 = (undefined4 *)xmalloc();\n        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);\n        *(undefined4 **)(puVar8 + -0x18) = puVar5;\n        *(int *)(puVar8 + -0x1c) = param_2;\n        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);\n        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;\n        iVar4 = bfd_canonicalize_reloc();\n        puVar7 = puVar8;\n        if (-1 < iVar4) break;\nLAB_000184bf:\n        puVar8 = puVar7 + -0x10;\n        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);\n        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;\n        iVar4 = FUN_0002b610();\n      }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x10) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x10)" (* "*") (cast_expression "(int *)(puVar8 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x184d9;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x184d9" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x184d9")) (; ";")) (expression_statement "puVar5 = (undefined4 *)xmalloc();" (assignment_expression "puVar5 = (undefined4 *)xmalloc()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)xmalloc()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc()" (identifier "xmalloc") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38)" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar8 + 0x38)" (* "*") (cast_expression "(undefined4 *)(puVar8 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x38)" (( "(") (binary_expression "puVar8 + 0x38" (identifier "puVar8") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(puVar8 + -0x18) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x18) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x18)" (* "*") (cast_expression "(undefined4 **)(puVar8 + -0x18)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x18)" (( "(") (binary_expression "puVar8 + -0x18" (identifier "puVar8") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x1c) = param_2;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_2" (pointer_expression "*(int *)(puVar8 + -0x1c)" (* "*") (cast_expression "(int *)(puVar8 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x1c)" (( "(") (binary_expression "puVar8 + -0x1c" (identifier "puVar8") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);" (assignment_expression "*(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30)" (pointer_expression "*(undefined4 *)(puVar8 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x20)" (( "(") (binary_expression "puVar8 + -0x20" (identifier "puVar8") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar8 + 0x30)" (* "*") (cast_expression "(undefined4 *)(puVar8 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x30)" (( "(") (binary_expression "puVar8 + 0x30" (identifier "puVar8") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x184ea;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x184ea" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x24)" (( "(") (binary_expression "puVar8 + -0x24" (identifier "puVar8") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x184ea")) (; ";")) (expression_statement "iVar4 = bfd_canonicalize_reloc();" (assignment_expression "iVar4 = bfd_canonicalize_reloc()" (identifier "iVar4") (= "=") (call_expression "bfd_canonicalize_reloc()" (identifier "bfd_canonicalize_reloc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = puVar8;" (assignment_expression "puVar7 = puVar8" (identifier "puVar7") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (-1 < iVar4) break;" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_000184bf:\n        puVar8 = puVar7 + -0x10;" (statement_identifier "LAB_000184bf") (: ":") (expression_statement "puVar8 = puVar7 + -0x10;" (assignment_expression "puVar8 = puVar7 + -0x10" (identifier "puVar8") (= "=") (binary_expression "puVar7 + -0x10" (identifier "puVar7") (+ "+") (number_literal "-0x10"))) (; ";"))) (expression_statement "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);" (assignment_expression "*(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30)" (pointer_expression "*(undefined4 *)(puVar7 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x10)" (( "(") (binary_expression "puVar7 + -0x10" (identifier "puVar7") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "**(undefined4 **)(puVar7 + 0x30)" (* "*") (pointer_expression "*(undefined4 **)(puVar7 + 0x30)" (* "*") (cast_expression "(undefined4 **)(puVar7 + 0x30)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x30)" (( "(") (binary_expression "puVar7 + 0x30" (identifier "puVar7") (+ "+") (number_literal "0x30")) () ")")))))) (; ";")) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x184cd;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x184cd" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x14)" (( "(") (binary_expression "puVar7 + -0x14" (identifier "puVar7") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x184cd")) (; ";")) (expression_statement "iVar4 = FUN_0002b610();" (assignment_expression "iVar4 = FUN_0002b610()" (identifier "iVar4") (= "=") (call_expression "FUN_0002b610()" (identifier "FUN_0002b610") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (if_statement "if (iVar4 != 0) {\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);\n        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);\n        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);\n        puVar6 = puVar5;\n        do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);\n      }" ({ "{") (expression_statement "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);" (assignment_expression "iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" (* "*") (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x98)" (( "(") (binary_expression "PTR__bfd_std_section_0003efc8 + 0x98" (identifier "PTR__bfd_std_section_0003efc8") (+ "+") (number_literal "0x98")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);" (assignment_expression "iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" (* "*") (cast_expression "(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x1e8)" (( "(") (binary_expression "PTR__bfd_std_section_0003efc8 + 0x1e8" (identifier "PTR__bfd_std_section_0003efc8") (+ "+") (number_literal "0x1e8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);" (assignment_expression "*(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" (pointer_expression "*(undefined4 *)(puVar8 + 0xc)" (* "*") (cast_expression "(undefined4 *)(puVar8 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xc)" (( "(") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" (* "*") (cast_expression "(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_0003efc8 + 0x140)" (( "(") (binary_expression "PTR__bfd_std_section_0003efc8 + 0x140" (identifier "PTR__bfd_std_section_0003efc8") (+ "+") (number_literal "0x140")) () ")"))))) (; ";")) (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (do_statement "do {\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        } while (puVar6 != puVar5 + iVar4);" (do "do") (compound_statement "{\n          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }\n          puVar6 = puVar6 + 1;\n        }" ({ "{") (if_statement "if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" (if "if") (parenthesized_expression "((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))))" (( "(") (binary_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" (parenthesized_expression "(((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1))" (( "(") (binary_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&\n              (iVar3 != iVar1)" (parenthesized_expression "((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0))" (( "(") (binary_expression "(*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)" (parenthesized_expression "(*(int **)*puVar6 != (int *)0x0)" (( "(") (binary_expression "*(int **)*puVar6 != (int *)0x0" (pointer_expression "*(int **)*puVar6" (* "*") (cast_expression "(int **)*puVar6" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = **(int **)*puVar6, iVar3 != 0)" (( "(") (comma_expression "iVar3 = **(int **)*puVar6, iVar3 != 0" (assignment_expression "iVar3 = **(int **)*puVar6" (identifier "iVar3") (= "=") (pointer_expression "**(int **)*puVar6" (* "*") (pointer_expression "*(int **)*puVar6" (* "*") (cast_expression "(int **)*puVar6" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 != iVar1)" (( "(") (binary_expression "iVar3 != iVar1" (identifier "iVar3") (!= "!=") (identifier "iVar1")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))" (( "(") (parenthesized_expression "(iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc)))" (( "(") (binary_expression "iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))" (binary_expression "iVar3 != iVar2" (identifier "iVar3") (!= "!=") (identifier "iVar2")) (&& "&&") (parenthesized_expression "(iVar3 != *(int *)(puVar8 + 0xc))" (( "(") (binary_expression "iVar3 != *(int *)(puVar8 + 0xc)" (identifier "iVar3") (!= "!=") (pointer_expression "*(int *)(puVar8 + 0xc)" (* "*") (cast_expression "(int *)(puVar8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xc)" (( "(") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;\n          }" ({ "{") (expression_statement "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;" (assignment_expression "*(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" (* "*") (cast_expression "(uint *)(iVar3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar3 + 0xc) | 0x20" (pointer_expression "*(uint *)(iVar3 + 0xc)" (* "*") (cast_expression "(uint *)(iVar3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (| "|") (number_literal "0x20"))) (; ";")) (} "}"))) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar6 != puVar5 + iVar4)" (( "(") (binary_expression "puVar6 != puVar5 + iVar4" (identifier "puVar6") (!= "!=") (binary_expression "puVar5 + iVar4" (identifier "puVar5") (+ "+") (identifier "iVar4"))) () ")")) (; ";")) (} "}"))) (expression_statement "*(undefined4 **)(puVar8 + -0x10) = puVar5;" (assignment_expression "*(undefined4 **)(puVar8 + -0x10) = puVar5" (pointer_expression "*(undefined4 **)(puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 **)(puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x18550;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x18550" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x18550")) (; ";")) (expression_statement "free(*(void **)(puVar8 + -0x10));" (call_expression "free(*(void **)(puVar8 + -0x10))" (identifier "free") (argument_list "(*(void **)(puVar8 + -0x10))" (( "(") (pointer_expression "*(void **)(puVar8 + -0x10)" (* "*") (cast_expression "(void **)(puVar8 + -0x10)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *ibfd,type_2 isection,void *symbolsarg)

{
  int var_10;
  int var_8;
  int var_9;
  int var_7;
  int var_2;
  type_3 *var_12;
  type_3 *var_11;
  
  if (isection->output_section == (type_4 *)0x0) {
    return;
  }
  var_2 = var_1(ibfd,isection);
  if (var_2 < 0) {
    if ((var_2 == -1) && (var_2 = var_3(), var_2 == 5)) {
      return;
    }
  }
  else {
    if (var_2 == 0) {
      return;
    }
    var_12 = (type_3 *)var_4(var_2);
    var_2 = var_5(ibfd,isection,var_12,symbolsarg);
    if (-1 < var_2) {
      if (var_2 != 0) {
        var_10 = *(int *)(var_6 + 0x140);
        var_8 = *(int *)(var_6 + 0x98);
        var_9 = *(int *)(var_6 + 0x1e8);
        var_11 = var_12;
        do {
          if ((((*(int **)*var_11 != (int *)0x0) && (var_7 = **(int **)*var_11, var_7 != 0)) &&
              (var_7 != var_8)) && ((var_7 != var_9 && (var_7 != var_10)))) {
            *(type_5 *)(var_7 + 0xc) = *(type_5 *)(var_7 + 0xc) | 0x20;
          }
          var_11 = var_11 + 1;
        } while (var_11 != var_12 + var_2);
      }
      var_13(var_12);
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_14(ibfd->filename);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (pointer_expression argument: (identifier)))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (pointer_expression argument: (identifier)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (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)))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (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)))))))) (return_statement))))))) (return_statement))))

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

void MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined4 uStackY_40;
  undefined1 auStack_2c [24];
  undefined4 uStack_14;
  
  uStack_14 = 0x18479;
  if (*(int *)(param_2 + 0x3c) != 0) {
    iVar4 = bfd_get_reloc_upper_bound(param_1,param_2);
    puVar8 = auStack_2c;
    if (iVar4 < 0) {
      puVar7 = auStack_2c;
      if (iVar4 != -1) goto LAB_000184bf;
      iVar4 = bfd_get_error();
      puVar7 = auStack_2c;
      if (iVar4 != 5) goto LAB_000184bf;
    }
    else if (iVar4 != 0) {
      while( true ) {
        *(int *)(puVar8 + -0x10) = iVar4;
        *(undefined4 *)(puVar8 + -0x14) = 0x184d9;
        puVar5 = (undefined4 *)xmalloc();
        *(undefined4 *)(puVar8 + -0x14) = *(undefined4 *)(puVar8 + 0x38);
        *(undefined4 **)(puVar8 + -0x18) = puVar5;
        *(int *)(puVar8 + -0x1c) = param_2;
        *(undefined4 *)(puVar8 + -0x20) = *(undefined4 *)(puVar8 + 0x30);
        *(undefined4 *)(puVar8 + -0x24) = 0x184ea;
        iVar4 = bfd_canonicalize_reloc();
        puVar7 = puVar8;
        if (-1 < iVar4) break;
LAB_000184bf:
        puVar8 = puVar7 + -0x10;
        *(undefined4 *)(puVar7 + -0x10) = **(undefined4 **)(puVar7 + 0x30);
        *(undefined4 *)(puVar7 + -0x14) = 0x184cd;
        iVar4 = FUN_0002b610();
      }
      if (iVar4 != 0) {
        iVar1 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x98);
        iVar2 = *(int *)(PTR__bfd_std_section_0003efc8 + 0x1e8);
        *(undefined4 *)(puVar8 + 0xc) = *(undefined4 *)(PTR__bfd_std_section_0003efc8 + 0x140);
        puVar6 = puVar5;
        do {
          if ((((*(int **)*puVar6 != (int *)0x0) && (iVar3 = **(int **)*puVar6, iVar3 != 0)) &&
              (iVar3 != iVar1)) && ((iVar3 != iVar2 && (iVar3 != *(int *)(puVar8 + 0xc))))) {
            *(uint *)(iVar3 + 0xc) = *(uint *)(iVar3 + 0xc) | 0x20;
          }
          puVar6 = puVar6 + 1;
        } while (puVar6 != puVar5 + iVar4);
      }
      *(undefined4 **)(puVar8 + -0x10) = puVar5;
      *(undefined4 *)(puVar8 + -0x14) = 0x18550;
      free(*(void **)(puVar8 + -0x10));
      return;
    }
  }
  return;
}

