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

void elf_frob_file_after_relocs(void)

{
  asection *paVar1;
  segT secptr;
  fragS *fragP;
  uint uVar2;
  uchar *puVar3;
  asection *paVar4;
  int iVar5;
  bool bVar6;
  addressT aVar7;
  uint local_30;
  size_t local_28;
  
  if (groups.num_group != 0) {
    local_30 = 0;
    do {
      paVar1 = groups.head[local_30];
      if (paVar1 == (asection *)0x0) {
        local_28 = 4;
        iVar5 = 0;
      }
      else {
        local_28 = 4;
        iVar5 = 0;
        paVar4 = paVar1;
        do {
          uVar2 = 8;
          if ((paVar4->flags & 4) == 0) {
            uVar2 = 4;
          }
          bVar6 = CARRY4(local_28,uVar2);
          local_28 = local_28 + uVar2;
          iVar5 = iVar5 + (uint)bVar6;
          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);
        } while (paVar4 != (asection *)0x0);
      }
      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);
      subseg_set(secptr,0);
      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);
      puVar3 = (uchar *)frag_more(local_28);
      secptr->contents = puVar3;
      aVar7 = frag_now_fix_octets();
      fragP = frag_now;
      frag_now->fr_fix = aVar7;
      frag_wane(fragP);
      local_30 = local_30 + 1;
    } while (local_30 < groups.num_group);
  }
  hash_traverse(groups.indexes,free_section_idx);
  hash_die(groups.indexes);
  return;
}



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

void FUN_000458f0(void)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  bool bVar6;
  undefined8 uVar7;
  uint local_30;
  uint local_28;
  
  if (DAT_00070cf0 != 0) {
    local_30 = 0;
    do {
      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);
      if (iVar1 == 0) {
        local_28 = 4;
        iVar5 = 0;
      }
      else {
        local_28 = 4;
        iVar5 = 0;
        iVar4 = iVar1;
        do {
          uVar2 = 8;
          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {
            uVar2 = 4;
          }
          bVar6 = CARRY4(local_28,uVar2);
          local_28 = local_28 + uVar2;
          iVar5 = iVar5 + (uint)bVar6;
          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);
        } while (iVar4 != 0);
      }
      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);
      FUN_00035570(iVar1,0);
      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);
      uVar3 = FUN_000239b0(local_28);
      *(undefined4 *)(iVar1 + 0x84) = uVar3;
      uVar7 = thunk_FUN_00023cb0();
      iVar1 = DAT_00070f24;
      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;
      FUN_00023b10(iVar1);
      local_30 = local_30 + 1;
    } while (local_30 < DAT_00070cf0);
  }
  FUN_000244d0(DAT_00070cf4,FUN_00044450);
  FUN_00024120(DAT_00070cf4);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015020
ADD EBX,0x22707
SUB ESP,0x2c
MOV EDX,dword ptr [EBX + 0x8cf0]
TEST EDX,EDX
JZ 0x000459f6
LEA EAX,[0x8cec]
MOV dword ptr [ESP + 0xc],0x0
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBX + 0x8fc4]
MOV dword ptr [ESP + 0x1c],EAX
LEA EAX,[EBX + 0x8f24]
MOV dword ptr [ESP + 0x18],EAX
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + EBX*0x1]
MOV ECX,dword ptr [EAX + EDX*0x4]
TEST ECX,ECX
JZ 0x00045a20
MOV EBP,ECX
MOV ESI,0x4
XOR EDI,EDI
NOP
MOV EAX,0x8
XOR EDX,EDX
TEST byte ptr [EBP + 0x14],0x4
JNZ 0x00045974
MOV EAX,0x4
XOR EDX,EDX
ADD ESI,EAX
MOV EAX,dword ptr [EBP + 0xa4]
ADC EDI,EDX
MOV EBP,dword ptr [EAX + 0x8c]
TEST EBP,EBP
JNZ 0x00045960
MOV dword ptr [ESP + 0x14],ESI
MOV EAX,dword ptr [ECX + 0xa4]
SUB ESP,0x8
MOV EBP,dword ptr [EAX + 0x88]
PUSH 0x0
PUSH EBP
CALL 0x00035570
PUSH EDI
PUSH ESI
PUSH EBP
MOV EAX,dword ptr [ESP + 0x38]
PUSH dword ptr [EAX]
CALL 0x00013490
ADD ESP,0x14
PUSH dword ptr [ESP + 0x20]
CALL 0x000239b0
MOV dword ptr [EBP + 0x84],EAX
CALL 0x00023d00
MOV EDI,dword ptr [ESP + 0x28]
MOV ECX,dword ptr [EDI]
MOV dword ptr [ECX + 0x10],EAX
MOV dword ptr [ECX + 0x14],EDX
MOV dword ptr [ESP],ECX
CALL 0x00023b10
ADD dword ptr [ESP + 0x1c],0x1
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
CMP dword ptr [EDX + EBX*0x1 + 0x4],EAX
JA 0x00045940
SUB ESP,0x8
LEA EAX,[EBX + 0xfffdc450]
PUSH EAX
PUSH dword ptr [EBX + 0x8cf4]
CALL 0x000244d0
POP EAX
PUSH dword ptr [EBX + 0x8cf4]
CALL 0x00024120
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x14],0x4
MOV ESI,0x4
XOR EDI,EDI
JMP 0x0004598c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000458f0(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}\n\n" comment (function_definition "void FUN_000458f0(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" primitive_type (function_declarator "FUN_000458f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (if_statement "if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" if (parenthesized_expression "(DAT_00070cf0 != 0)" ( (binary_expression "DAT_00070cf0 != 0" identifier != number_literal) )) (compound_statement "{\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);" do (compound_statement "{\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    }" { (expression_statement "iVar1 = *(int *)(DAT_00070cec + local_30 * 4);" (assignment_expression "iVar1 = *(int *)(DAT_00070cec + local_30 * 4)" identifier = (pointer_expression "*(int *)(DAT_00070cec + local_30 * 4)" * (cast_expression "(int *)(DAT_00070cec + local_30 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070cec + local_30 * 4)" ( (binary_expression "DAT_00070cec + local_30 * 4" identifier + (binary_expression "local_30 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" else (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) (do_statement "do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        }" { (expression_statement "uVar2 = 8;" (assignment_expression "uVar2 = 8" identifier = number_literal) ;) (if_statement "if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }" if (parenthesized_expression "((*(byte *)(iVar4 + 0x14) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x14) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x14) & 4)" ( (binary_expression "*(byte *)(iVar4 + 0x14) & 4" (pointer_expression "*(byte *)(iVar4 + 0x14)" * (cast_expression "(byte *)(iVar4 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar2 = 4;\n          }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "bVar6 = CARRY4(local_28,uVar2);" (assignment_expression "bVar6 = CARRY4(local_28,uVar2)" identifier = (call_expression "CARRY4(local_28,uVar2)" identifier (argument_list "(local_28,uVar2)" ( identifier , identifier )))) ;) (expression_statement "local_28 = local_28 + uVar2;" (assignment_expression "local_28 = local_28 + uVar2" identifier = (binary_expression "local_28 + uVar2" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + (uint)bVar6" identifier = (binary_expression "iVar5 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);" (assignment_expression "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" identifier = (pointer_expression "*(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" * (cast_expression "(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0xa4) + 0x8c)" ( (binary_expression "*(int *)(iVar4 + 0xa4) + 0x8c" (pointer_expression "*(int *)(iVar4 + 0xa4)" * (cast_expression "(int *)(iVar4 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa4)" ( (binary_expression "iVar4 + 0xa4" identifier + number_literal) )))) + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" identifier = (pointer_expression "*(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" * (cast_expression "(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xa4) + 0x88)" ( (binary_expression "*(int *)(iVar1 + 0xa4) + 0x88" (pointer_expression "*(int *)(iVar1 + 0xa4)" * (cast_expression "(int *)(iVar1 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00035570(iVar1,0);" (call_expression "FUN_00035570(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);" (call_expression "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5)" identifier (argument_list "(DAT_00070fc4,iVar1,local_28,iVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "uVar3 = FUN_000239b0(local_28);" (assignment_expression "uVar3 = FUN_000239b0(local_28)" identifier = (call_expression "FUN_000239b0(local_28)" identifier (argument_list "(local_28)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar3" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" * (cast_expression "(undefined4 *)(iVar1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x84)" ( (binary_expression "iVar1 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = thunk_FUN_00023cb0();" (assignment_expression "uVar7 = thunk_FUN_00023cb0()" identifier = (call_expression "thunk_FUN_00023cb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = DAT_00070f24;" (assignment_expression "iVar1 = DAT_00070f24" identifier = identifier) ;) (expression_statement "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;" (assignment_expression "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7" (pointer_expression "*(undefined8 *)(DAT_00070f24 + 0x10)" * (cast_expression "(undefined8 *)(DAT_00070f24 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070f24 + 0x10)" ( (binary_expression "DAT_00070f24 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00023b10(iVar1);" (call_expression "FUN_00023b10(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_30 < DAT_00070cf0)" ( (binary_expression "local_30 < DAT_00070cf0" identifier < identifier) )) ;) })) (expression_statement "FUN_000244d0(DAT_00070cf4,FUN_00044450);" (call_expression "FUN_000244d0(DAT_00070cf4,FUN_00044450)" identifier (argument_list "(DAT_00070cf4,FUN_00044450)" ( identifier , identifier ))) ;) (expression_statement "FUN_00024120(DAT_00070cf4);" (call_expression "FUN_00024120(DAT_00070cf4)" identifier (argument_list "(DAT_00070cf4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid elf_frob_file_after_relocs(void)\n\n{\n  asection *paVar1;\n  segT secptr;\n  fragS *fragP;\n  uint uVar2;\n  uchar *puVar3;\n  asection *paVar4;\n  int iVar5;\n  bool bVar6;\n  addressT aVar7;\n  uint local_30;\n  size_t local_28;\n  \n  if (groups.num_group != 0) {\n    local_30 = 0;\n    do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);\n  }\n  hash_traverse(groups.indexes,free_section_idx);\n  hash_die(groups.indexes);\n  return;\n}\n\n" comment comment (function_definition "void elf_frob_file_after_relocs(void)\n\n{\n  asection *paVar1;\n  segT secptr;\n  fragS *fragP;\n  uint uVar2;\n  uchar *puVar3;\n  asection *paVar4;\n  int iVar5;\n  bool bVar6;\n  addressT aVar7;\n  uint local_30;\n  size_t local_28;\n  \n  if (groups.num_group != 0) {\n    local_30 = 0;\n    do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);\n  }\n  hash_traverse(groups.indexes,free_section_idx);\n  hash_die(groups.indexes);\n  return;\n}" primitive_type (function_declarator "elf_frob_file_after_relocs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  asection *paVar1;\n  segT secptr;\n  fragS *fragP;\n  uint uVar2;\n  uchar *puVar3;\n  asection *paVar4;\n  int iVar5;\n  bool bVar6;\n  addressT aVar7;\n  uint local_30;\n  size_t local_28;\n  \n  if (groups.num_group != 0) {\n    local_30 = 0;\n    do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);\n  }\n  hash_traverse(groups.indexes,free_section_idx);\n  hash_die(groups.indexes);\n  return;\n}" { (declaration "asection *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (declaration "segT secptr;" type_identifier identifier ;) (declaration "fragS *fragP;" type_identifier (pointer_declarator "*fragP" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "asection *paVar4;" type_identifier (pointer_declarator "*paVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "addressT aVar7;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "size_t local_28;" primitive_type identifier ;) (if_statement "if (groups.num_group != 0) {\n    local_30 = 0;\n    do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);\n  }" if (parenthesized_expression "(groups.num_group != 0)" ( (binary_expression "groups.num_group != 0" (field_expression "groups.num_group" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    local_30 = 0;\n    do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);\n  }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (do_statement "do {\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    } while (local_30 < groups.num_group);" do (compound_statement "{\n      paVar1 = groups.head[local_30];\n      if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }\n      secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);\n      subseg_set(secptr,0);\n      bfd_set_section_size(stdoutput,secptr,local_28,iVar5);\n      puVar3 = (uchar *)frag_more(local_28);\n      secptr->contents = puVar3;\n      aVar7 = frag_now_fix_octets();\n      fragP = frag_now;\n      frag_now->fr_fix = aVar7;\n      frag_wane(fragP);\n      local_30 = local_30 + 1;\n    }" { (expression_statement "paVar1 = groups.head[local_30];" (assignment_expression "paVar1 = groups.head[local_30]" identifier = (subscript_expression "groups.head[local_30]" (field_expression "groups.head" identifier . field_identifier) [ identifier ])) ;) (if_statement "if (paVar1 == (asection *)0x0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }" if (parenthesized_expression "(paVar1 == (asection *)0x0)" ( (binary_expression "paVar1 == (asection *)0x0" identifier == (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }" else (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n        paVar4 = paVar1;\n        do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "paVar4 = paVar1;" (assignment_expression "paVar4 = paVar1" identifier = identifier) ;) (do_statement "do {\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        } while (paVar4 != (asection *)0x0);" do (compound_statement "{\n          uVar2 = 8;\n          if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);\n        }" { (expression_statement "uVar2 = 8;" (assignment_expression "uVar2 = 8" identifier = number_literal) ;) (if_statement "if ((paVar4->flags & 4) == 0) {\n            uVar2 = 4;\n          }" if (parenthesized_expression "((paVar4->flags & 4) == 0)" ( (binary_expression "(paVar4->flags & 4) == 0" (parenthesized_expression "(paVar4->flags & 4)" ( (binary_expression "paVar4->flags & 4" (field_expression "paVar4->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar2 = 4;\n          }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "bVar6 = CARRY4(local_28,uVar2);" (assignment_expression "bVar6 = CARRY4(local_28,uVar2)" identifier = (call_expression "CARRY4(local_28,uVar2)" identifier (argument_list "(local_28,uVar2)" ( identifier , identifier )))) ;) (expression_statement "local_28 = local_28 + uVar2;" (assignment_expression "local_28 = local_28 + uVar2" identifier = (binary_expression "local_28 + uVar2" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + (uint)bVar6" identifier = (binary_expression "iVar5 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c);" (assignment_expression "paVar4 = *(asection **)((int)paVar4->used_by_bfd + 0x8c)" identifier = (pointer_expression "*(asection **)((int)paVar4->used_by_bfd + 0x8c)" * (cast_expression "(asection **)((int)paVar4->used_by_bfd + 0x8c)" ( (type_descriptor "asection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)paVar4->used_by_bfd + 0x8c)" ( (binary_expression "(int)paVar4->used_by_bfd + 0x8c" (cast_expression "(int)paVar4->used_by_bfd" ( (type_descriptor "int" primitive_type) ) (field_expression "paVar4->used_by_bfd" identifier -> field_identifier)) + number_literal) ))))) ;) }) while (parenthesized_expression "(paVar4 != (asection *)0x0)" ( (binary_expression "paVar4 != (asection *)0x0" identifier != (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88);" (assignment_expression "secptr = *(segT *)((int)paVar1->used_by_bfd + 0x88)" identifier = (pointer_expression "*(segT *)((int)paVar1->used_by_bfd + 0x88)" * (cast_expression "(segT *)((int)paVar1->used_by_bfd + 0x88)" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)paVar1->used_by_bfd + 0x88)" ( (binary_expression "(int)paVar1->used_by_bfd + 0x88" (cast_expression "(int)paVar1->used_by_bfd" ( (type_descriptor "int" primitive_type) ) (field_expression "paVar1->used_by_bfd" identifier -> field_identifier)) + number_literal) ))))) ;) (expression_statement "subseg_set(secptr,0);" (call_expression "subseg_set(secptr,0)" identifier (argument_list "(secptr,0)" ( identifier , number_literal ))) ;) (expression_statement "bfd_set_section_size(stdoutput,secptr,local_28,iVar5);" (call_expression "bfd_set_section_size(stdoutput,secptr,local_28,iVar5)" identifier (argument_list "(stdoutput,secptr,local_28,iVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "puVar3 = (uchar *)frag_more(local_28);" (assignment_expression "puVar3 = (uchar *)frag_more(local_28)" identifier = (cast_expression "(uchar *)frag_more(local_28)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "frag_more(local_28)" identifier (argument_list "(local_28)" ( identifier ))))) ;) (expression_statement "secptr->contents = puVar3;" (assignment_expression "secptr->contents = puVar3" (field_expression "secptr->contents" identifier -> field_identifier) = identifier) ;) (expression_statement "aVar7 = frag_now_fix_octets();" (assignment_expression "aVar7 = frag_now_fix_octets()" identifier = (call_expression "frag_now_fix_octets()" identifier (argument_list "()" ( )))) ;) (expression_statement "fragP = frag_now;" (assignment_expression "fragP = frag_now" identifier = identifier) ;) (expression_statement "frag_now->fr_fix = aVar7;" (assignment_expression "frag_now->fr_fix = aVar7" (field_expression "frag_now->fr_fix" identifier -> field_identifier) = identifier) ;) (expression_statement "frag_wane(fragP);" (call_expression "frag_wane(fragP)" identifier (argument_list "(fragP)" ( identifier ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_30 < groups.num_group)" ( (binary_expression "local_30 < groups.num_group" identifier < (field_expression "groups.num_group" identifier . field_identifier)) )) ;) })) (expression_statement "hash_traverse(groups.indexes,free_section_idx);" (call_expression "hash_traverse(groups.indexes,free_section_idx)" identifier (argument_list "(groups.indexes,free_section_idx)" ( (field_expression "groups.indexes" identifier . field_identifier) , identifier ))) ;) (expression_statement "hash_die(groups.indexes);" (call_expression "hash_die(groups.indexes)" identifier (argument_list "(groups.indexes)" ( (field_expression "groups.indexes" identifier . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000458f0(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}\n\n" (function_definition "void FUN_000458f0(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" primitive_type (function_declarator "FUN_000458f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (if_statement "if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" if (parenthesized_expression "(DAT_00070cf0 != 0)" ( (binary_expression "DAT_00070cf0 != 0" identifier != number_literal) )) (compound_statement "{\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);" do (compound_statement "{\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    }" { (expression_statement "iVar1 = *(int *)(DAT_00070cec + local_30 * 4);" (assignment_expression "iVar1 = *(int *)(DAT_00070cec + local_30 * 4)" identifier = (pointer_expression "*(int *)(DAT_00070cec + local_30 * 4)" * (cast_expression "(int *)(DAT_00070cec + local_30 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070cec + local_30 * 4)" ( (binary_expression "DAT_00070cec + local_30 * 4" identifier + (binary_expression "local_30 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" else (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" { (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) (do_statement "do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        }" { (expression_statement "uVar2 = 8;" (assignment_expression "uVar2 = 8" identifier = number_literal) ;) (if_statement "if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }" if (parenthesized_expression "((*(byte *)(iVar4 + 0x14) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar4 + 0x14) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x14) & 4)" ( (binary_expression "*(byte *)(iVar4 + 0x14) & 4" (pointer_expression "*(byte *)(iVar4 + 0x14)" * (cast_expression "(byte *)(iVar4 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar2 = 4;\n          }" { (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) })) (expression_statement "bVar6 = CARRY4(local_28,uVar2);" (assignment_expression "bVar6 = CARRY4(local_28,uVar2)" identifier = (call_expression "CARRY4(local_28,uVar2)" identifier (argument_list "(local_28,uVar2)" ( identifier , identifier )))) ;) (expression_statement "local_28 = local_28 + uVar2;" (assignment_expression "local_28 = local_28 + uVar2" identifier = (binary_expression "local_28 + uVar2" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + (uint)bVar6" identifier = (binary_expression "iVar5 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);" (assignment_expression "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" identifier = (pointer_expression "*(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" * (cast_expression "(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0xa4) + 0x8c)" ( (binary_expression "*(int *)(iVar4 + 0xa4) + 0x8c" (pointer_expression "*(int *)(iVar4 + 0xa4)" * (cast_expression "(int *)(iVar4 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xa4)" ( (binary_expression "iVar4 + 0xa4" identifier + number_literal) )))) + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }))) (expression_statement "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" identifier = (pointer_expression "*(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" * (cast_expression "(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xa4) + 0x88)" ( (binary_expression "*(int *)(iVar1 + 0xa4) + 0x88" (pointer_expression "*(int *)(iVar1 + 0xa4)" * (cast_expression "(int *)(iVar1 + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00035570(iVar1,0);" (call_expression "FUN_00035570(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);" (call_expression "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5)" identifier (argument_list "(DAT_00070fc4,iVar1,local_28,iVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "uVar3 = FUN_000239b0(local_28);" (assignment_expression "uVar3 = FUN_000239b0(local_28)" identifier = (call_expression "FUN_000239b0(local_28)" identifier (argument_list "(local_28)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar3" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" * (cast_expression "(undefined4 *)(iVar1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x84)" ( (binary_expression "iVar1 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar7 = thunk_FUN_00023cb0();" (assignment_expression "uVar7 = thunk_FUN_00023cb0()" identifier = (call_expression "thunk_FUN_00023cb0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = DAT_00070f24;" (assignment_expression "iVar1 = DAT_00070f24" identifier = identifier) ;) (expression_statement "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;" (assignment_expression "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7" (pointer_expression "*(undefined8 *)(DAT_00070f24 + 0x10)" * (cast_expression "(undefined8 *)(DAT_00070f24 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00070f24 + 0x10)" ( (binary_expression "DAT_00070f24 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00023b10(iVar1);" (call_expression "FUN_00023b10(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_30 < DAT_00070cf0)" ( (binary_expression "local_30 < DAT_00070cf0" identifier < identifier) )) ;) })) (expression_statement "FUN_000244d0(DAT_00070cf4,FUN_00044450);" (call_expression "FUN_000244d0(DAT_00070cf4,FUN_00044450)" identifier (argument_list "(DAT_00070cf4,FUN_00044450)" ( identifier , identifier ))) ;) (expression_statement "FUN_00024120(DAT_00070cf4);" (call_expression "FUN_00024120(DAT_00070cf4)" identifier (argument_list "(DAT_00070cf4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }) while (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000458f0(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000458f0(void)" (identifier "FUN_000458f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  bool bVar6;\n  undefined8 uVar7;\n  uint local_30;\n  uint local_28;\n  \n  if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }\n  FUN_000244d0(DAT_00070cf4,FUN_00044450);\n  FUN_00024120(DAT_00070cf4);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (if_statement "if (DAT_00070cf0 != 0) {\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" (if "if") (parenthesized_expression "(DAT_00070cf0 != 0)" (( "(") (binary_expression "DAT_00070cf0 != 0" (identifier "DAT_00070cf0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_30 = 0;\n    do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);\n  }" ({ "{") (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    } while (local_30 < DAT_00070cf0);" (do "do") (compound_statement "{\n      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);\n      if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }\n      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);\n      FUN_00035570(iVar1,0);\n      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);\n      uVar3 = FUN_000239b0(local_28);\n      *(undefined4 *)(iVar1 + 0x84) = uVar3;\n      uVar7 = thunk_FUN_00023cb0();\n      iVar1 = DAT_00070f24;\n      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;\n      FUN_00023b10(iVar1);\n      local_30 = local_30 + 1;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(DAT_00070cec + local_30 * 4);" (assignment_expression "iVar1 = *(int *)(DAT_00070cec + local_30 * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_00070cec + local_30 * 4)" (* "*") (cast_expression "(int *)(DAT_00070cec + local_30 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00070cec + local_30 * 4)" (( "(") (binary_expression "DAT_00070cec + local_30 * 4" (identifier "DAT_00070cec") (+ "+") (binary_expression "local_30 * 4" (identifier "local_30") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n        local_28 = 4;\n        iVar5 = 0;\n      }\n      else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n      }" ({ "{") (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" (identifier "local_28") (= "=") (number_literal "4")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" (else "else") (compound_statement "{\n        local_28 = 4;\n        iVar5 = 0;\n        iVar4 = iVar1;\n        do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);\n      }" ({ "{") (expression_statement "local_28 = 4;" (assignment_expression "local_28 = 4" (identifier "local_28") (= "=") (number_literal "4")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" (identifier "iVar4") (= "=") (identifier "iVar1")) (; ";")) (do_statement "do {\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        } while (iVar4 != 0);" (do "do") (compound_statement "{\n          uVar2 = 8;\n          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }\n          bVar6 = CARRY4(local_28,uVar2);\n          local_28 = local_28 + uVar2;\n          iVar5 = iVar5 + (uint)bVar6;\n          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);\n        }" ({ "{") (expression_statement "uVar2 = 8;" (assignment_expression "uVar2 = 8" (identifier "uVar2") (= "=") (number_literal "8")) (; ";")) (if_statement "if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {\n            uVar2 = 4;\n          }" (if "if") (parenthesized_expression "((*(byte *)(iVar4 + 0x14) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(iVar4 + 0x14) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x14) & 4)" (( "(") (binary_expression "*(byte *)(iVar4 + 0x14) & 4" (pointer_expression "*(byte *)(iVar4 + 0x14)" (* "*") (cast_expression "(byte *)(iVar4 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = 4;\n          }" ({ "{") (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";")) (} "}"))) (expression_statement "bVar6 = CARRY4(local_28,uVar2);" (assignment_expression "bVar6 = CARRY4(local_28,uVar2)" (identifier "bVar6") (= "=") (call_expression "CARRY4(local_28,uVar2)" (identifier "CARRY4") (argument_list "(local_28,uVar2)" (( "(") (identifier "local_28") (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "local_28 = local_28 + uVar2;" (assignment_expression "local_28 = local_28 + uVar2" (identifier "local_28") (= "=") (binary_expression "local_28 + uVar2" (identifier "local_28") (+ "+") (identifier "uVar2"))) (; ";")) (expression_statement "iVar5 = iVar5 + (uint)bVar6;" (assignment_expression "iVar5 = iVar5 + (uint)bVar6" (identifier "iVar5") (= "=") (binary_expression "iVar5 + (uint)bVar6" (identifier "iVar5") (+ "+") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")))) (; ";")) (expression_statement "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);" (assignment_expression "iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0xa4) + 0x8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0xa4) + 0x8c)" (( "(") (binary_expression "*(int *)(iVar4 + 0xa4) + 0x8c" (pointer_expression "*(int *)(iVar4 + 0xa4)" (* "*") (cast_expression "(int *)(iVar4 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xa4)" (( "(") (binary_expression "iVar4 + 0xa4" (identifier "iVar4") (+ "+") (number_literal "0xa4")) () ")")))) (+ "+") (number_literal "0x8c")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);" (assignment_expression "iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0xa4) + 0x88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0xa4) + 0x88)" (( "(") (binary_expression "*(int *)(iVar1 + 0xa4) + 0x88" (pointer_expression "*(int *)(iVar1 + 0xa4)" (* "*") (cast_expression "(int *)(iVar1 + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xa4)" (( "(") (binary_expression "iVar1 + 0xa4" (identifier "iVar1") (+ "+") (number_literal "0xa4")) () ")")))) (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (expression_statement "FUN_00035570(iVar1,0);" (call_expression "FUN_00035570(iVar1,0)" (identifier "FUN_00035570") (argument_list "(iVar1,0)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);" (call_expression "bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5)" (identifier "bfd_set_section_size") (argument_list "(DAT_00070fc4,iVar1,local_28,iVar5)" (( "(") (identifier "DAT_00070fc4") (, ",") (identifier "iVar1") (, ",") (identifier "local_28") (, ",") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "uVar3 = FUN_000239b0(local_28);" (assignment_expression "uVar3 = FUN_000239b0(local_28)" (identifier "uVar3") (= "=") (call_expression "FUN_000239b0(local_28)" (identifier "FUN_000239b0") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar3;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar3" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x84)" (( "(") (binary_expression "iVar1 + 0x84" (identifier "iVar1") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar7 = thunk_FUN_00023cb0();" (assignment_expression "uVar7 = thunk_FUN_00023cb0()" (identifier "uVar7") (= "=") (call_expression "thunk_FUN_00023cb0()" (identifier "thunk_FUN_00023cb0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar1 = DAT_00070f24;" (assignment_expression "iVar1 = DAT_00070f24" (identifier "iVar1") (= "=") (identifier "DAT_00070f24")) (; ";")) (expression_statement "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;" (assignment_expression "*(undefined8 *)(DAT_00070f24 + 0x10) = uVar7" (pointer_expression "*(undefined8 *)(DAT_00070f24 + 0x10)" (* "*") (cast_expression "(undefined8 *)(DAT_00070f24 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00070f24 + 0x10)" (( "(") (binary_expression "DAT_00070f24 + 0x10" (identifier "DAT_00070f24") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "FUN_00023b10(iVar1);" (call_expression "FUN_00023b10(iVar1)" (identifier "FUN_00023b10") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_30 < DAT_00070cf0)" (( "(") (binary_expression "local_30 < DAT_00070cf0" (identifier "local_30") (< "<") (identifier "DAT_00070cf0")) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000244d0(DAT_00070cf4,FUN_00044450);" (call_expression "FUN_000244d0(DAT_00070cf4,FUN_00044450)" (identifier "FUN_000244d0") (argument_list "(DAT_00070cf4,FUN_00044450)" (( "(") (identifier "DAT_00070cf4") (, ",") (identifier "FUN_00044450") () ")"))) (; ";")) (expression_statement "FUN_00024120(DAT_00070cf4);" (call_expression "FUN_00024120(DAT_00070cf4)" (identifier "FUN_00024120") (argument_list "(DAT_00070cf4)" (( "(") (identifier "DAT_00070cf4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 *var_1;
  type_2 secptr;
  type_3 *fragP;
  type_4 var_4;
  type_5 *puVar3;
  type_1 *var_6;
  int var_5;
  bool bVar6;
  type_6 aVar7;
  type_4 var_12;
  size_t var_3;
  
  if (groups.num_group != 0) {
    var_12 = 0;
    do {
      var_1 = groups.head[var_12];
      if (var_1 == (type_1 *)0x0) {
        var_3 = 4;
        var_5 = 0;
      }
      else {
        var_3 = 4;
        var_5 = 0;
        var_6 = var_1;
        do {
          var_4 = 8;
          if ((var_6->flags & 4) == 0) {
            var_4 = 4;
          }
          bVar6 = var_2(var_3,var_4);
          var_3 = var_3 + var_4;
          var_5 = var_5 + (type_4)bVar6;
          var_6 = *(type_1 **)((int)var_6->used_by_bfd + 0x8c);
        } while (var_6 != (type_1 *)0x0);
      }
      secptr = *(type_2 *)((int)var_1->used_by_bfd + 0x88);
      var_7(secptr,0);
      var_8(stdoutput,secptr,var_3,var_5);
      puVar3 = (type_5 *)var_9(var_3);
      secptr->contents = puVar3;
      aVar7 = var_10();
      fragP = frag_now;
      frag_now->fr_fix = aVar7;
      var_11(fragP);
      var_12 = var_12 + 1;
    } while (var_12 < groups.num_group);
  }
  var_13(groups.indexes,free_section_idx);
  var_14(groups.indexes);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (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: (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)))))))) condition: (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: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(void)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  bool bVar6;
  undefined8 uVar7;
  uint local_30;
  uint local_28;
  
  if (DAT_00070cf0 != 0) {
    local_30 = 0;
    do {
      iVar1 = *(int *)(DAT_00070cec + local_30 * 4);
      if (iVar1 == 0) {
        local_28 = 4;
        iVar5 = 0;
      }
      else {
        local_28 = 4;
        iVar5 = 0;
        iVar4 = iVar1;
        do {
          uVar2 = 8;
          if ((*(byte *)(iVar4 + 0x14) & 4) == 0) {
            uVar2 = 4;
          }
          bVar6 = CARRY4(local_28,uVar2);
          local_28 = local_28 + uVar2;
          iVar5 = iVar5 + (uint)bVar6;
          iVar4 = *(int *)(*(int *)(iVar4 + 0xa4) + 0x8c);
        } while (iVar4 != 0);
      }
      iVar1 = *(int *)(*(int *)(iVar1 + 0xa4) + 0x88);
      FUN_00035570(iVar1,0);
      bfd_set_section_size(DAT_00070fc4,iVar1,local_28,iVar5);
      uVar3 = FUN_000239b0(local_28);
      *(undefined4 *)(iVar1 + 0x84) = uVar3;
      uVar7 = thunk_FUN_00023cb0();
      iVar1 = DAT_00070f24;
      *(undefined8 *)(DAT_00070f24 + 0x10) = uVar7;
      FUN_00023b10(iVar1);
      local_30 = local_30 + 1;
    } while (local_30 < DAT_00070cf0);
  }
  FUN_000244d0(DAT_00070cf4,FUN_00044450);
  FUN_00024120(DAT_00070cf4);
  return;
}

