
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Word section_link(Elf_file<32,_true,_gold::Incremental_binary> *
   this, uint shndx) */

Elf_Word __thiscall
elfcpp::Elf_file<32,_true,_gold::Incremental_binary>::section_link
          (Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)

{
}



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

uint FUN_00260880(int *param_1,uint param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  longlong lVar6;
  
  iVar1 = *param_1;
  FUN_00260260(param_1);
  if ((uint)param_1[3] <= param_2) {
    FUN_00260260(param_1);
    iVar3 = param_1[3];
    uVar4 = gettext("section_link: bad shndx %u >= %u");
    FUN_0024b790(iVar1,uVar4,param_2,iVar3);
  }
  lVar6 = FUN_002603f0(param_1,param_2);
  iVar1 = *(int *)(iVar1 + 0x28);
  if ((-1 < lVar6) &&
     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),
     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),
     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,
     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))
  {
    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);
    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0024b670();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x389777
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [EDI]
PUSH EDI
CALL 0x00260260
ADD ESP,0x10
CMP EBP,dword ptr [EDI + 0xc]
JNC 0x002608e8
SUB ESP,0x8
PUSH EBP
PUSH EDI
CALL 0x002603f0
MOV ECX,dword ptr [ESI + 0x28]
ADD ESP,0x10
TEST EDX,EDX
JS 0x0026091b
MOV ESI,EAX
MOV EDI,EDX
MOV EBP,dword ptr [ECX + 0xc]
ADD ESI,0x28
ADC EDI,0x0
CMP dword ptr [ECX + 0x8],ESI
SBB EBP,EDI
JL 0x0026091b
ADD EAX,dword ptr [ECX + 0x10]
MOV EAX,dword ptr [EAX + 0x18]
ADD ESP,0x1c
POP EBX
POP ESI
BSWAP EAX
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00260260
MOV EDX,dword ptr [EDI + 0xc]
LEA EAX,[EBX + 0xffe7cfa8]
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00039440
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
PUSH EDX
PUSH EBP
PUSH EAX
PUSH ESI
CALL 0x0024b790
ADD ESP,0x10
JMP 0x002608aa
CALL 0x0024b670
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00260880(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0024b670();\n}\n\n" comment (function_definition "uint FUN_00260880(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0024b670();\n}" type_identifier (function_declarator "FUN_00260880(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0024b670();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" if (parenthesized_expression "((uint)param_1[3] <= param_2)" ( (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" { (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = gettext("section_link: bad shndx %u >= %u");" (assignment_expression "uVar4 = gettext("section_link: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_link: bad shndx %u >= %u")" identifier (argument_list "("section_link: bad shndx %u >= %u")" ( (string_literal ""section_link: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0024b790(iVar1,uVar4,param_2,iVar3);" (call_expression "FUN_0024b790(iVar1,uVar4,param_2,iVar3)" identifier (argument_list "(iVar1,uVar4,param_2,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "lVar6 = FUN_002603f0(param_1,param_2);" (assignment_expression "lVar6 = FUN_002603f0(param_1,param_2)" identifier = (call_expression "FUN_002603f0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x28)" identifier = (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" if (parenthesized_expression "((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(-1 < lVar6)" ( (binary_expression "-1 < lVar6" number_literal < identifier) )) && (parenthesized_expression "(iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" ( (comma_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar6 + 0x28) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar6 + 0x28) >> 0x20)" ( (binary_expression "(ulonglong)(lVar6 + 0x28) >> 0x20" (call_expression "(ulonglong)(lVar6 + 0x28)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) ))) >> number_literal) )))) , (comma_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" identifier = (call_expression "(uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" ( (binary_expression "*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) < (call_expression "(uint)(lVar6 + 0x28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) )))) )))) , (comma_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5" identifier = (binary_expression "*(int *)(iVar1 + 0xc) - iVar5" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5)" identifier (argument_list "(*(int *)(iVar1 + 0xc),iVar5)" ( (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" { (expression_statement "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);" (assignment_expression "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" identifier = (pointer_expression "*(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" * (cast_expression "(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" ( (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18" (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10)" (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) + number_literal) ))))) ;) (return_statement "return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" return (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) ;) })) comment (expression_statement "FUN_0024b670();" (call_expression "FUN_0024b670()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Elf_Word section_link(Elf_file<32,_true,_gold::Incremental_binary> *\n   this, uint shndx) */\n\nElf_Word __thiscall\nelfcpp::Elf_file<32,_true,_gold::Incremental_binary>::section_link\n          (Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)\n\n{\n}\n\n" comment comment (ERROR "Elf_Word __thiscall\nelfcpp::Elf_file<32,_true,_gold::Incremental_binary>::section_link\n          (Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Incremental_binary>::" identifier : : identifier > : :) (function_declarator "section_link\n          (Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)" identifier (parameter_list "(Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_gold::Incremental_binary> *this" type_identifier (ERROR "::Incremental_binary>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "uint FUN_00260880(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    \n  FUN_0024b670();\n}\n\n" (function_definition "uint FUN_00260880(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    \n  FUN_0024b670();\n}" type_identifier (function_declarator "FUN_00260880(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    \n  FUN_0024b670();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" if (parenthesized_expression "((uint)param_1[3] <= param_2)" ( (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" { (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = gettext("section_link: bad shndx %u >= %u");" (assignment_expression "uVar4 = gettext("section_link: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_link: bad shndx %u >= %u")" identifier (argument_list "("section_link: bad shndx %u >= %u")" ( (string_literal ""section_link: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0024b790(iVar1,uVar4,param_2,iVar3);" (call_expression "FUN_0024b790(iVar1,uVar4,param_2,iVar3)" identifier (argument_list "(iVar1,uVar4,param_2,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "lVar6 = FUN_002603f0(param_1,param_2);" (assignment_expression "lVar6 = FUN_002603f0(param_1,param_2)" identifier = (call_expression "FUN_002603f0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x28)" identifier = (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" if (parenthesized_expression "((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(-1 < lVar6)" ( (binary_expression "-1 < lVar6" number_literal < identifier) )) && (parenthesized_expression "(iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" ( (comma_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar6 + 0x28) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar6 + 0x28) >> 0x20)" ( (binary_expression "(ulonglong)(lVar6 + 0x28) >> 0x20" (call_expression "(ulonglong)(lVar6 + 0x28)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) ))) >> number_literal) )))) , (comma_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" identifier = (call_expression "(uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" ( (binary_expression "*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)" (pointer_expression "*(uint *)(iVar1 + 8)" * (cast_expression "(uint *)(iVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) < (call_expression "(uint)(lVar6 + 0x28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) )))) )))) , (comma_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5" identifier = (binary_expression "*(int *)(iVar1 + 0xc) - iVar5" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5)" identifier (argument_list "(*(int *)(iVar1 + 0xc),iVar5)" ( (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" { (expression_statement "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);" (assignment_expression "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" identifier = (pointer_expression "*(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" * (cast_expression "(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" ( (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18" (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10)" (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) + number_literal) ))))) ;) (return_statement "return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" return (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) ;) })) (expression_statement "FUN_0024b670();" (call_expression "FUN_0024b670()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) >> LIT) )))) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) ;) (return_statement return (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint FUN_00260880(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    \n  FUN_0024b670();\n}" (type_identifier "uint") (function_declarator "FUN_00260880(int *param_1,uint param_2)" (identifier "FUN_00260880") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  longlong lVar6;\n  \n  iVar1 = *param_1;\n  FUN_00260260(param_1);\n  if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }\n  lVar6 = FUN_002603f0(param_1,param_2);\n  iVar1 = *(int *)(iVar1 + 0x28);\n  if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }\n                    \n  FUN_0024b670();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "longlong lVar6;" (type_identifier "longlong") (identifier "lVar6") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" (identifier "FUN_00260260") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if ((uint)param_1[3] <= param_2) {\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" (if "if") (parenthesized_expression "((uint)param_1[3] <= param_2)" (( "(") (binary_expression "(uint)param_1[3] <= param_2" (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    FUN_00260260(param_1);\n    iVar3 = param_1[3];\n    uVar4 = gettext("section_link: bad shndx %u >= %u");\n    FUN_0024b790(iVar1,uVar4,param_2,iVar3);\n  }" ({ "{") (expression_statement "FUN_00260260(param_1);" (call_expression "FUN_00260260(param_1)" (identifier "FUN_00260260") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar3 = param_1[3];" (assignment_expression "iVar3 = param_1[3]" (identifier "iVar3") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar4 = gettext("section_link: bad shndx %u >= %u");" (assignment_expression "uVar4 = gettext("section_link: bad shndx %u >= %u")" (identifier "uVar4") (= "=") (call_expression "gettext("section_link: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_link: bad shndx %u >= %u")" (( "(") (string_literal ""section_link: bad shndx %u >= %u"" (" """) (string_content "section_link: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0024b790(iVar1,uVar4,param_2,iVar3);" (call_expression "FUN_0024b790(iVar1,uVar4,param_2,iVar3)" (identifier "FUN_0024b790") (argument_list "(iVar1,uVar4,param_2,iVar3)" (( "(") (identifier "iVar1") (, ",") (identifier "uVar4") (, ",") (identifier "param_2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar6 = FUN_002603f0(param_1,param_2);" (assignment_expression "lVar6 = FUN_002603f0(param_1,param_2)" (identifier "lVar6") (= "=") (call_expression "FUN_002603f0(param_1,param_2)" (identifier "FUN_002603f0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x28)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x28)" (* "*") (cast_expression "(int *)(iVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))\n  {\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" (if "if") (parenthesized_expression "((-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))" (( "(") (binary_expression "(-1 < lVar6) &&\n     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(-1 < lVar6)" (( "(") (binary_expression "-1 < lVar6" (number_literal "-1") (< "<") (identifier "lVar6")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0)" (( "(") (comma_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),\n     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20)" (identifier "iVar5") (= "=") (cast_expression "(int)((ulonglong)(lVar6 + 0x28) >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)(lVar6 + 0x28) >> 0x20)" (( "(") (binary_expression "(ulonglong)(lVar6 + 0x28) >> 0x20" (call_expression "(ulonglong)(lVar6 + 0x28)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(lVar6 + 0x28)" (( "(") (binary_expression "lVar6 + 0x28" (identifier "lVar6") (+ "+") (number_literal "0x28")) () ")"))) (>> ">>") (number_literal "0x20")) () ")")))) (, ",") (comma_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),\n     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" (identifier "uVar2") (= "=") (call_expression "(uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28))" (( "(") (binary_expression "*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)" (pointer_expression "*(uint *)(iVar1 + 8)" (* "*") (cast_expression "(uint *)(iVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (< "<") (call_expression "(uint)(lVar6 + 0x28)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar6 + 0x28)" (( "(") (binary_expression "lVar6 + 0x28" (identifier "lVar6") (+ "+") (number_literal "0x28")) () ")")))) () ")")))) (, ",") (comma_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5,\n     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(iVar1 + 0xc) - iVar5" (identifier "iVar3") (= "=") (binary_expression "*(int *)(iVar1 + 0xc) - iVar5" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "iVar5"))) (, ",") (binary_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2))" (( "(") (binary_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(iVar1 + 0xc),iVar5)" (identifier "SBORROW4") (argument_list "(*(int *)(iVar1 + 0xc),iVar5)" (( "(") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar5") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar2)" (identifier "SBORROW4") (argument_list "(iVar3,uVar2)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar2") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar2)" (( "(") (binary_expression "iVar3 - uVar2" (identifier "iVar3") (- "-") (identifier "uVar2")) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);\n    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n  }" ({ "{") (expression_statement "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);" (assignment_expression "uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" (* "*") (cast_expression "(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18)" (( "(") (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18" (binary_expression "(int)lVar6 + *(int *)(iVar1 + 0x10)" (cast_expression "(int)lVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar6")) (+ "+") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (return_statement "return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (return "return") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18"))) (; ";")) (} "}"))) (expression_statement "FUN_0024b670();" (call_expression "FUN_0024b670()" (identifier "FUN_0024b670") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Word section_link(Elf_file<32,_true,_gold::Incremental_binary> *
   this, uint shndx) */

Elf_Word __thiscall
elfcpp::Elf_file<32,_true,_gold::Incremental_binary>::section_link
          (Elf_file<32,_true,_gold::Incremental_binary> *this,uint shndx)

{
}


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

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

uint MASKED(int *param_1,uint param_2)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  longlong lVar6;
  
  iVar1 = *param_1;
  FUN_00260260(param_1);
  if ((uint)param_1[3] <= param_2) {
    FUN_00260260(param_1);
    iVar3 = param_1[3];
    uVar4 = gettext("section_link: bad shndx %u >= %u");
    FUN_0024b790(iVar1,uVar4,param_2,iVar3);
  }
  lVar6 = FUN_002603f0(param_1,param_2);
  iVar1 = *(int *)(iVar1 + 0x28);
  if ((-1 < lVar6) &&
     (iVar5 = (int)((ulonglong)(lVar6 + 0x28) >> 0x20),
     uVar2 = (uint)(*(uint *)(iVar1 + 8) < (uint)(lVar6 + 0x28)),
     iVar3 = *(int *)(iVar1 + 0xc) - iVar5,
     (SBORROW4(*(int *)(iVar1 + 0xc),iVar5) != SBORROW4(iVar3,uVar2)) == (int)(iVar3 - uVar2) < 0))
  {
    uVar2 = *(uint *)((int)lVar6 + *(int *)(iVar1 + 0x10) + 0x18);
    return uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0024b670();
}

