
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Addr local_section_offset(Output_reloc<9,_false,_64,_false> * this,
   Addend addend) */

Elf_Addr __thiscall
gold::Output_reloc<9,_false,_64,_false>::local_section_offset
          (Output_reloc<9,_false,_64,_false> *this,Addend addend)

{
}



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

int FUN_002fd130(int *param_1,int param_2,undefined4 param_3)

{
  uint uVar1;
  int *piVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  code *extraout_ECX;
  longlong lVar7;
  
  uVar1 = param_1[4];
  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");
  }
  piVar2 = (int *)*param_1;
  pcVar6 = FUN_00071550;
  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {
    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);
    }
    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);
  }
  else {
    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);
    pcVar6 = extraout_ECX;
  }
  if (iVar4 != 0) {
    param_1 = (int *)*param_1;
    iVar5 = param_1[0x21];
    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);
    }
    uVar3 = *(uint *)(iVar5 + uVar1 * 8);
    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {
      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&
         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {
        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);
        if (lVar7 != -1) {
          return (int)lVar7;
        }
                    /* WARNING: Subroutine does not return */
        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);
      }
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");
    }
    return uVar3 + param_2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2ecec7
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [EBP + 0x10]
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[ESI + -0x1]
CMP EAX,-0x6
JA 0x002fd271
TEST byte ptr [EBP + 0x17],0x40
JZ 0x002fd271
MOV EAX,dword ptr [EBP]
LEA ECX,[EBX + 0xffa87550]
MOV EDX,dword ptr [EAX]
MOV EDX,dword ptr [EDX + 0x60]
CMP EDX,ECX
JNZ 0x002fd210
MOV EDX,dword ptr [EAX + 0x38]
MOV EAX,dword ptr [EAX + 0x3c]
SUB EAX,EDX
SAR EAX,0x2
CMP ESI,EAX
JNC 0x002fd2bc
MOV EDI,dword ptr [EDX + ESI*0x4]
TEST EDI,EDI
JZ 0x002fd2a3
MOV ECX,dword ptr [EBP]
MOV EDX,dword ptr [ECX + 0x84]
MOV EAX,dword ptr [ECX + 0x88]
SUB EAX,EDX
SAR EAX,0x3
CMP ESI,EAX
JNC 0x002fd28a
MOV EAX,dword ptr [EDX + ESI*0x8]
MOV EDX,dword ptr [EDX + ESI*0x8 + 0x4]
MOV EBP,EDX
AND EBP,EAX
CMP EBP,-0x1
JZ 0x002fd1e0
ADD EAX,dword ptr [ESP + 0x8]
ADC EDX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ECX]
LEA EDX,[EBX + 0xffc64260]
MOV EAX,dword ptr [EAX + 0xec]
CMP EAX,EDX
JNZ 0x002fd228
SUB ESP,0x4
LEA EAX,[EBX + 0xffea8f28]
PUSH EAX
LEA EAX,[EBX + 0xffea7d0b]
PUSH 0x432
PUSH EAX
CALL 0x002446e0
SUB ESP,0x8
PUSH ESI
PUSH EAX
CALL EDX
MOV EDI,EAX
ADD ESP,0x10
JMP 0x002fd19b
SUB ESP,0xc
PUSH ECX
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x002fd1f2
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x18]
PUSH ESI
PUSH EAX
PUSH EDI
CALL 0x002cdbd0
ADD ESP,0x20
MOV ECX,EDX
AND ECX,EAX
CMP ECX,-0x1
JNZ 0x002fd1d7
PUSH EAX
LEA EAX,[EBX + 0xffea8f28]
PUSH EAX
LEA EAX,[EBX + 0xffea7d0b]
PUSH 0x434
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffea8f28]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xffea7d0b]
PUSH 0x428
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffea8f0c]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffe63385]
PUSH 0x7f7
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffea8f28]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xffea7d0b]
PUSH 0x42b
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffea923c]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffe63385]
PUSH 0x5c8
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_002fd130(int *param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}\n\n" comment (function_definition "int FUN_002fd130(int *param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" primitive_type (function_declarator "FUN_002fd130(int *param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "code *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "longlong lVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[4];" (assignment_expression "uVar1 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" if (parenthesized_expression "((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0))" ( (binary_expression "(0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" (parenthesized_expression "(0xfffffffa < uVar1 - 1)" ( (binary_expression "0xfffffffa < uVar1 - 1" number_literal < (binary_expression "uVar1 - 1" identifier - number_literal)) )) || (parenthesized_expression "((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x17) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x17) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 0x17) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x17)" * (cast_expression "(byte *)((int)param_1 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" { comment (expression_statement "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset")" identifier (argument_list "("../../gold/output.cc",0x428,"local_section_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") ))) ;) })) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pcVar6 = FUN_00071550;" (assignment_expression "pcVar6 = FUN_00071550" identifier = identifier) ;) (if_statement "if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x60) == FUN_00071550)" ( (binary_expression "*(code **)(*piVar2 + 0x60) == FUN_00071550" (pointer_expression "*(code **)(*piVar2 + 0x60)" * (cast_expression "(code **)(*piVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x60)" ( (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }" { (if_statement "if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" if (parenthesized_expression "((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1)" ( (binary_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1" (call_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar2[0xf] - piVar2[0xe] >> 2)" ( (binary_expression "piVar2[0xf] - piVar2[0xe] >> 2" (binary_expression "piVar2[0xf] - piVar2[0xe]" (subscript_expression "piVar2[0xf]" identifier [ number_literal ]) - (subscript_expression "piVar2[0xe]" identifier [ number_literal ])) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);" (call_expression "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1)" identifier (argument_list "("../../gold/object.h",0x5c8,"do_output_section",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_output_section"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);" (assignment_expression "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4)" identifier = (pointer_expression "*(int *)(piVar2[0xe] + uVar1 * 4)" * (cast_expression "(int *)(piVar2[0xe] + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2[0xe] + uVar1 * 4)" ( (binary_expression "piVar2[0xe] + uVar1 * 4" (subscript_expression "piVar2[0xe]" identifier [ number_literal ]) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" else (compound_statement "{\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" { (expression_statement "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" identifier = (call_expression "(**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x60))" ( (pointer_expression "**(code **)(*piVar2 + 0x60)" * (pointer_expression "*(code **)(*piVar2 + 0x60)" * (cast_expression "(code **)(*piVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x60)" ( (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "pcVar6 = extraout_ECX;" (assignment_expression "pcVar6 = extraout_ECX" identifier = identifier) ;) }))) (if_statement "if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar5 = param_1[0x21];" (assignment_expression "iVar5 = param_1[0x21]" identifier = (subscript_expression "param_1[0x21]" identifier [ number_literal ])) ;) (if_statement "if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" if (parenthesized_expression "((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1)" ( (binary_expression "(uint)(param_1[0x22] - iVar5 >> 3) <= uVar1" (call_expression "(uint)(param_1[0x22] - iVar5 >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0x22] - iVar5 >> 3)" ( (binary_expression "param_1[0x22] - iVar5 >> 3" (binary_expression "param_1[0x22] - iVar5" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) - identifier) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);" (call_expression "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" identifier (argument_list "("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""get_output_section_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar3 = *(uint *)(iVar5 + uVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(iVar5 + uVar1 * 8)" identifier = (pointer_expression "*(uint *)(iVar5 + uVar1 * 8)" * (cast_expression "(uint *)(iVar5 + uVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + uVar1 * 8)" ( (binary_expression "iVar5 + uVar1 * 8" identifier + (binary_expression "uVar1 * 8" identifier * number_literal)) ))))) ;) (if_statement "if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" if (parenthesized_expression "((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff)" ( (binary_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff" (parenthesized_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3)" ( (binary_expression "*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3" (pointer_expression "*(uint *)(iVar5 + 4 + uVar1 * 8)" * (cast_expression "(uint *)(iVar5 + 4 + uVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4 + uVar1 * 8)" ( (binary_expression "iVar5 + 4 + uVar1 * 8" (binary_expression "iVar5 + 4" identifier + number_literal) + (binary_expression "uVar1 * 8" identifier * number_literal)) )))) & identifier) )) == number_literal) )) (compound_statement "{\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" { (if_statement "if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" if (parenthesized_expression "((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0))" ( (binary_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" (parenthesized_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260)" ( (binary_expression "*(code **)(*param_1 + 0xec) != FUN_0024e260" (pointer_expression "*(code **)(*param_1 + 0xec)" * (cast_expression "(code **)(*param_1 + 0xec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xec)" ( (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" * identifier) + number_literal) )))) != identifier) )) && (parenthesized_expression "(iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" ( (comma_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xec))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xec))" ( (pointer_expression "**(code **)(*param_1 + 0xec)" * (pointer_expression "*(code **)(*param_1 + 0xec)" * (cast_expression "(code **)(*param_1 + 0xec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xec)" ( (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    /* WARNING: Subroutine does not return */\n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" { (expression_statement "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);" (assignment_expression "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" identifier = (call_expression "FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" identifier (argument_list "(iVar4,iVar5,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (lVar7 != -1) {\n          return (int)lVar7;\n        }" if (parenthesized_expression "(lVar7 != -1)" ( (binary_expression "lVar7 != -1" identifier != number_literal) )) (compound_statement "{\n          return (int)lVar7;\n        }" { (return_statement "return (int)lVar7;" return (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);" (call_expression "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" identifier (argument_list "("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") , (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset")" identifier (argument_list "("../../gold/output.cc",0x432,"local_section_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") ))) ;) })) (return_statement "return uVar3 + param_2;" return (binary_expression "uVar3 + param_2" identifier + identifier) ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);" (call_expression "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" identifier (argument_list "("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Elf_Addr local_section_offset(Output_reloc<9,_false,_64,_false> * this,\n   Addend addend) */\n\nElf_Addr __thiscall\ngold::Output_reloc<9,_false,_64,_false>::local_section_offset\n          (Output_reloc<9,_false,_64,_false> *this,Addend addend)\n\n{\n}\n\n" comment comment (ERROR "Elf_Addr __thiscall\ngold::Output_reloc<9,_false,_64,_false>::local_section_offset\n          (Output_reloc<9,_false,_64,_false> *this,Addend addend)" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_false>::" identifier > : :) (function_declarator "local_section_offset\n          (Output_reloc<9,_false,_64,_false> *this,Addend addend)" identifier (parameter_list "(Output_reloc<9,_false,_64,_false> *this,Addend addend)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_64" type_identifier) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Addend addend" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "int FUN_002fd130(int *param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    \n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}\n\n" (function_definition "int FUN_002fd130(int *param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    \n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" primitive_type (function_declarator "FUN_002fd130(int *param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    \n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "code *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "longlong lVar7;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[4];" (assignment_expression "uVar1 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (if_statement "if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" if (parenthesized_expression "((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0))" ( (binary_expression "(0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" (parenthesized_expression "(0xfffffffa < uVar1 - 1)" ( (binary_expression "0xfffffffa < uVar1 - 1" number_literal < (binary_expression "uVar1 - 1" identifier - number_literal)) )) || (parenthesized_expression "((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)param_1 + 0x17) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x17) & 0x40)" ( (binary_expression "*(byte *)((int)param_1 + 0x17) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x17)" * (cast_expression "(byte *)((int)param_1 + 0x17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x17)" ( (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" { (expression_statement "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset")" identifier (argument_list "("../../gold/output.cc",0x428,"local_section_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") ))) ;) })) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "pcVar6 = FUN_00071550;" (assignment_expression "pcVar6 = FUN_00071550" identifier = identifier) ;) (if_statement "if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x60) == FUN_00071550)" ( (binary_expression "*(code **)(*piVar2 + 0x60) == FUN_00071550" (pointer_expression "*(code **)(*piVar2 + 0x60)" * (cast_expression "(code **)(*piVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x60)" ( (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }" { (if_statement "if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" if (parenthesized_expression "((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1)" ( (binary_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1" (call_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar2[0xf] - piVar2[0xe] >> 2)" ( (binary_expression "piVar2[0xf] - piVar2[0xe] >> 2" (binary_expression "piVar2[0xf] - piVar2[0xe]" (subscript_expression "piVar2[0xf]" identifier [ number_literal ]) - (subscript_expression "piVar2[0xe]" identifier [ number_literal ])) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" { (expression_statement "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);" (call_expression "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1)" identifier (argument_list "("../../gold/object.h",0x5c8,"do_output_section",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_output_section"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);" (assignment_expression "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4)" identifier = (pointer_expression "*(int *)(piVar2[0xe] + uVar1 * 4)" * (cast_expression "(int *)(piVar2[0xe] + uVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2[0xe] + uVar1 * 4)" ( (binary_expression "piVar2[0xe] + uVar1 * 4" (subscript_expression "piVar2[0xe]" identifier [ number_literal ]) + (binary_expression "uVar1 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" else (compound_statement "{\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" { (expression_statement "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" identifier = (call_expression "(**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x60))" ( (pointer_expression "**(code **)(*piVar2 + 0x60)" * (pointer_expression "*(code **)(*piVar2 + 0x60)" * (cast_expression "(code **)(*piVar2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x60)" ( (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,uVar1)" ( identifier , identifier )))) ;) (expression_statement "pcVar6 = extraout_ECX;" (assignment_expression "pcVar6 = extraout_ECX" identifier = identifier) ;) }))) (if_statement "if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" { (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar5 = param_1[0x21];" (assignment_expression "iVar5 = param_1[0x21]" identifier = (subscript_expression "param_1[0x21]" identifier [ number_literal ])) ;) (if_statement "if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" if (parenthesized_expression "((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1)" ( (binary_expression "(uint)(param_1[0x22] - iVar5 >> 3) <= uVar1" (call_expression "(uint)(param_1[0x22] - iVar5 >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0x22] - iVar5 >> 3)" ( (binary_expression "param_1[0x22] - iVar5 >> 3" (binary_expression "param_1[0x22] - iVar5" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) - identifier) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" { (expression_statement "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);" (call_expression "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" identifier (argument_list "("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""get_output_section_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar3 = *(uint *)(iVar5 + uVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(iVar5 + uVar1 * 8)" identifier = (pointer_expression "*(uint *)(iVar5 + uVar1 * 8)" * (cast_expression "(uint *)(iVar5 + uVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + uVar1 * 8)" ( (binary_expression "iVar5 + uVar1 * 8" identifier + (binary_expression "uVar1 * 8" identifier * number_literal)) ))))) ;) (if_statement "if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" if (parenthesized_expression "((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff)" ( (binary_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff" (parenthesized_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3)" ( (binary_expression "*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3" (pointer_expression "*(uint *)(iVar5 + 4 + uVar1 * 8)" * (cast_expression "(uint *)(iVar5 + 4 + uVar1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4 + uVar1 * 8)" ( (binary_expression "iVar5 + 4 + uVar1 * 8" (binary_expression "iVar5 + 4" identifier + number_literal) + (binary_expression "uVar1 * 8" identifier * number_literal)) )))) & identifier) )) == number_literal) )) (compound_statement "{\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" { (if_statement "if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" if (parenthesized_expression "((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0))" ( (binary_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" (parenthesized_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260)" ( (binary_expression "*(code **)(*param_1 + 0xec) != FUN_0024e260" (pointer_expression "*(code **)(*param_1 + 0xec)" * (cast_expression "(code **)(*param_1 + 0xec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xec)" ( (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" * identifier) + number_literal) )))) != identifier) )) && (parenthesized_expression "(iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" ( (comma_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0xec))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xec))" ( (pointer_expression "**(code **)(*param_1 + 0xec)" * (pointer_expression "*(code **)(*param_1 + 0xec)" * (cast_expression "(code **)(*param_1 + 0xec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xec)" ( (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" { (expression_statement "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);" (assignment_expression "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" identifier = (call_expression "FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" identifier (argument_list "(iVar4,iVar5,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (lVar7 != -1) {\n          return (int)lVar7;\n        }" if (parenthesized_expression "(lVar7 != -1)" ( (binary_expression "lVar7 != -1" identifier != number_literal) )) (compound_statement "{\n          return (int)lVar7;\n        }" { (return_statement "return (int)lVar7;" return (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (expression_statement "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);" (call_expression "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" identifier (argument_list "("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") , (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset")" identifier (argument_list "("../../gold/output.cc",0x432,"local_section_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") ))) ;) })) (return_statement "return uVar3 + param_2;" return (binary_expression "uVar3 + param_2" identifier + identifier) ;) })) (expression_statement "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);" (call_expression "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" identifier (argument_list "("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""local_section_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) >> LIT) ))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) >> LIT) ))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) & IDENT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (return_statement return (binary_expression IDENT + IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "int FUN_002fd130(int *param_1,int param_2,undefined4 param_3)\n\n{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    \n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" (primitive_type "int") (function_declarator "FUN_002fd130(int *param_1,int param_2,undefined4 param_3)" (identifier "FUN_002fd130") (parameter_list "(int *param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  code *extraout_ECX;\n  longlong lVar7;\n  \n  uVar1 = param_1[4];\n  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }\n  piVar2 = (int *)*param_1;\n  pcVar6 = FUN_00071550;\n  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }\n  if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }\n                    \n  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "code *extraout_ECX;" (type_identifier "code") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "longlong lVar7;" (type_identifier "longlong") (identifier "lVar7") (; ";")) (expression_statement "uVar1 = param_1[4];" (assignment_expression "uVar1 = param_1[4]" (identifier "uVar1") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" (if "if") (parenthesized_expression "((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0))" (( "(") (binary_expression "(0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" (parenthesized_expression "(0xfffffffa < uVar1 - 1)" (( "(") (binary_expression "0xfffffffa < uVar1 - 1" (number_literal "0xfffffffa") (< "<") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)((int)param_1 + 0x17) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)param_1 + 0x17) & 0x40)" (( "(") (binary_expression "*(byte *)((int)param_1 + 0x17) & 0x40" (pointer_expression "*(byte *)((int)param_1 + 0x17)" (* "*") (cast_expression "(byte *)((int)param_1 + 0x17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x17)" (( "(") (binary_expression "(int)param_1 + 0x17" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x17")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset")" (identifier "FUN_002446e0") (argument_list "("../../gold/output.cc",0x428,"local_section_offset")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x428") (, ",") (string_literal ""local_section_offset"" (" """) (string_content "local_section_offset") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "pcVar6 = FUN_00071550;" (assignment_expression "pcVar6 = FUN_00071550" (identifier "pcVar6") (= "=") (identifier "FUN_00071550")) (; ";")) (if_statement "if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }\n  else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" (if "if") (parenthesized_expression "(*(code **)(*piVar2 + 0x60) == FUN_00071550)" (( "(") (binary_expression "*(code **)(*piVar2 + 0x60) == FUN_00071550" (pointer_expression "*(code **)(*piVar2 + 0x60)" (* "*") (cast_expression "(code **)(*piVar2 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x60)" (( "(") (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x60")) () ")")))) (== "==") (identifier "FUN_00071550")) () ")")) (compound_statement "{\n    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }\n    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);\n  }" ({ "{") (if_statement "if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" (if "if") (parenthesized_expression "((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1)" (( "(") (binary_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1" (call_expression "(uint)(piVar2[0xf] - piVar2[0xe] >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(piVar2[0xf] - piVar2[0xe] >> 2)" (( "(") (binary_expression "piVar2[0xf] - piVar2[0xe] >> 2" (binary_expression "piVar2[0xf] - piVar2[0xe]" (subscript_expression "piVar2[0xf]" (identifier "piVar2") ([ "[") (number_literal "0xf") (] "]")) (- "-") (subscript_expression "piVar2[0xe]" (identifier "piVar2") ([ "[") (number_literal "0xe") (] "]"))) (>> ">>") (number_literal "2")) () ")"))) (<= "<=") (identifier "uVar1")) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);" (call_expression "FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1)" (identifier "FUN_002446e0") (argument_list "("../../gold/object.h",0x5c8,"do_output_section",uVar1)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x5c8") (, ",") (string_literal ""do_output_section"" (" """) (string_content "do_output_section") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);" (assignment_expression "iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(piVar2[0xe] + uVar1 * 4)" (* "*") (cast_expression "(int *)(piVar2[0xe] + uVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2[0xe] + uVar1 * 4)" (( "(") (binary_expression "piVar2[0xe] + uVar1 * 4" (subscript_expression "piVar2[0xe]" (identifier "piVar2") ([ "[") (number_literal "0xe") (] "]")) (+ "+") (binary_expression "uVar1 * 4" (identifier "uVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" (else "else") (compound_statement "{\n    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);\n    pcVar6 = extraout_ECX;\n  }" ({ "{") (expression_statement "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*piVar2 + 0x60))(piVar2,uVar1)" (parenthesized_expression "(**(code **)(*piVar2 + 0x60))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x60)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x60)" (* "*") (cast_expression "(code **)(*piVar2 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x60)" (( "(") (binary_expression "*piVar2 + 0x60" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "(piVar2,uVar1)" (( "(") (identifier "piVar2") (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "pcVar6 = extraout_ECX;" (assignment_expression "pcVar6 = extraout_ECX" (identifier "pcVar6") (= "=") (identifier "extraout_ECX")) (; ";")) (} "}")))) (if_statement "if (iVar4 != 0) {\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = (int *)*param_1;\n    iVar5 = param_1[0x21];\n    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }\n    uVar3 = *(uint *)(iVar5 + uVar1 * 8);\n    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }\n    return uVar3 + param_2;\n  }" ({ "{") (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar5 = param_1[0x21];" (assignment_expression "iVar5 = param_1[0x21]" (identifier "iVar5") (= "=") (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]"))) (; ";")) (if_statement "if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" (if "if") (parenthesized_expression "((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1)" (( "(") (binary_expression "(uint)(param_1[0x22] - iVar5 >> 3) <= uVar1" (call_expression "(uint)(param_1[0x22] - iVar5 >> 3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[0x22] - iVar5 >> 3)" (( "(") (binary_expression "param_1[0x22] - iVar5 >> 3" (binary_expression "param_1[0x22] - iVar5" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (- "-") (identifier "iVar5")) (>> ">>") (number_literal "3")) () ")"))) (<= "<=") (identifier "uVar1")) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);" (call_expression "FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" (identifier "FUN_002446e0") (argument_list "("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x7f7") (, ",") (string_literal ""get_output_section_offset"" (" """) (string_content "get_output_section_offset") (" """)) (, ",") (identifier "iVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = *(uint *)(iVar5 + uVar1 * 8);" (assignment_expression "uVar3 = *(uint *)(iVar5 + uVar1 * 8)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar5 + uVar1 * 8)" (* "*") (cast_expression "(uint *)(iVar5 + uVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + uVar1 * 8)" (( "(") (binary_expression "iVar5 + uVar1 * 8" (identifier "iVar5") (+ "+") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" (if "if") (parenthesized_expression "((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff)" (( "(") (binary_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff" (parenthesized_expression "(*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3)" (( "(") (binary_expression "*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3" (pointer_expression "*(uint *)(iVar5 + 4 + uVar1 * 8)" (* "*") (cast_expression "(uint *)(iVar5 + 4 + uVar1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4 + uVar1 * 8)" (( "(") (binary_expression "iVar5 + 4 + uVar1 * 8" (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) (+ "+") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) () ")")))) (& "&") (identifier "uVar3")) () ")")) (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }\n                    \n      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");\n    }" ({ "{") (if_statement "if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" (if "if") (parenthesized_expression "((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0))" (( "(") (binary_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260) &&\n         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" (parenthesized_expression "(*(code **)(*param_1 + 0xec) != FUN_0024e260)" (( "(") (binary_expression "*(code **)(*param_1 + 0xec) != FUN_0024e260" (pointer_expression "*(code **)(*param_1 + 0xec)" (* "*") (cast_expression "(code **)(*param_1 + 0xec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xec)" (( "(") (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xec")) () ")")))) (!= "!=") (identifier "FUN_0024e260")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)" (( "(") (comma_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0" (assignment_expression "iVar5 = (**(code **)(*param_1 + 0xec))(param_1)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*param_1 + 0xec))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0xec))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xec)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xec)" (* "*") (cast_expression "(code **)(*param_1 + 0xec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xec)" (( "(") (binary_expression "*param_1 + 0xec" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xec")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);\n        if (lVar7 != -1) {\n          return (int)lVar7;\n        }\n                    \n        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);\n      }" ({ "{") (expression_statement "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);" (assignment_expression "lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" (identifier "lVar7") (= "=") (call_expression "FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3)" (identifier "FUN_002cdbd0") (argument_list "(iVar4,iVar5,uVar1,param_2,param_3)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar5") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (lVar7 != -1) {\n          return (int)lVar7;\n        }" (if "if") (parenthesized_expression "(lVar7 != -1)" (( "(") (binary_expression "lVar7 != -1" (identifier "lVar7") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          return (int)lVar7;\n        }" ({ "{") (return_statement "return (int)lVar7;" (return "return") (cast_expression "(int)lVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar7")) (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);" (call_expression "FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x434") (, ",") (string_literal ""local_section_offset"" (" """) (string_content "local_section_offset") (" """)) (, ",") (cast_expression "(int)lVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar7")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");" (call_expression "FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset")" (identifier "FUN_002446e0") (argument_list "("../../gold/output.cc",0x432,"local_section_offset")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x432") (, ",") (string_literal ""local_section_offset"" (" """) (string_content "local_section_offset") (" """)) () ")"))) (; ";")) (} "}"))) (return_statement "return uVar3 + param_2;" (return "return") (binary_expression "uVar3 + param_2" (identifier "uVar3") (+ "+") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);" (call_expression "FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.cc",0x42b,"local_section_offset",pcVar6)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x42b") (, ",") (string_literal ""local_section_offset"" (" """) (string_content "local_section_offset") (" """)) (, ",") (identifier "pcVar6") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Addr local_section_offset(Output_reloc<9,_false,_64,_false> * this,
   Addend addend) */

Elf_Addr __thiscall
gold::Output_reloc<9,_false,_64,_false>::local_section_offset
          (Output_reloc<9,_false,_64,_false> *this,Addend addend)

{
}


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

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

int MASKED(int *param_1,int param_2,undefined4 param_3)

{
  uint uVar1;
  int *piVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  code *extraout_ECX;
  longlong lVar7;
  
  uVar1 = param_1[4];
  if ((0xfffffffa < uVar1 - 1) || ((*(byte *)((int)param_1 + 0x17) & 0x40) == 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.cc",0x428,"local_section_offset");
  }
  piVar2 = (int *)*param_1;
  pcVar6 = FUN_00071550;
  if (*(code **)(*piVar2 + 0x60) == FUN_00071550) {
    if ((uint)(piVar2[0xf] - piVar2[0xe] >> 2) <= uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x5c8,"do_output_section",uVar1);
    }
    iVar4 = *(int *)(piVar2[0xe] + uVar1 * 4);
  }
  else {
    iVar4 = (**(code **)(*piVar2 + 0x60))(piVar2,uVar1);
    pcVar6 = extraout_ECX;
  }
  if (iVar4 != 0) {
    param_1 = (int *)*param_1;
    iVar5 = param_1[0x21];
    if ((uint)(param_1[0x22] - iVar5 >> 3) <= uVar1) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/object.h",0x7f7,"get_output_section_offset",iVar5);
    }
    uVar3 = *(uint *)(iVar5 + uVar1 * 8);
    if ((*(uint *)(iVar5 + 4 + uVar1 * 8) & uVar3) == 0xffffffff) {
      if ((*(code **)(*param_1 + 0xec) != FUN_0024e260) &&
         (iVar5 = (**(code **)(*param_1 + 0xec))(param_1), iVar5 != 0)) {
        lVar7 = FUN_002cdbd0(iVar4,iVar5,uVar1,param_2,param_3);
        if (lVar7 != -1) {
          return (int)lVar7;
        }
                    /* WARNING: Subroutine does not return */
        FUN_002446e0("../../gold/output.cc",0x434,"local_section_offset",(int)lVar7);
      }
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/output.cc",0x432,"local_section_offset");
    }
    return uVar3 + param_2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.cc",0x42b,"local_section_offset",pcVar6);
}

