
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: read_symtab_xindex<32, false>
   DWARF original prototype: void read_symtab_xindex<32,_false>(Xindex * this, Object * object, uint
   xindex_shndx, uchar * pshdrs) */

void __thiscall
gold::Xindex::read_symtab_xindex<32,_false>
          (Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)

{
  section_size_type bytecount;
  
}



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

void FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)

{
  uint uVar1;
  undefined8 uVar2;
  uint local_24;
  uint local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x131b39;
  if (param_4 == 0) {
    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);
  }
  else {
    param_4 = param_4 + param_3 * 0x28;
    local_24 = *(uint *)(param_4 + 0x14);
    if (param_2[7] == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001219f0();
    }
    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,
                         local_24,1,0);
  }
  if (param_1[2] == param_1[1]) {
    FUN_0012a8a0(param_1 + 1,local_24 >> 2);
    if (local_24 != 0) {
      uVar1 = 0;
      do {
        local_20[0] = *(uint *)((int)uVar2 + uVar1);
        if (0xfeff < local_20[0]) {
          local_20[0] = local_20[0] + *param_1;
        }
        uVar1 = uVar1 + 4;
        FUN_000ab360(param_1 + 1,local_20);
      } while (uVar1 < local_24);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x2e24c7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x3c]
MOV ECX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JZ 0x00131c00
LEA EDX,[EDX + EDX*0x4]
MOV ESI,dword ptr [ECX + 0x1c]
LEA EAX,[EAX + EDX*0x8]
XOR EDX,EDX
MOV EBP,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x8],EBP
TEST ESI,ESI
JZ 0x00131c2e
ADD ESI,0x1c
PUSH 0x0
PUSH 0x1
PUSH EBP
PUSH EDX
PUSH EAX
PUSH dword ptr [ECX + 0x24]
PUSH dword ptr [ECX + 0x20]
PUSH ESI
CALL 0x000d4670
ADD ESP,0x20
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [EAX + 0x4]
CMP dword ptr [EAX + 0x8],ECX
JNZ 0x00131c18
MOV EAX,dword ptr [ESP + 0x30]
SUB ESP,0x8
LEA EBX,[EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x10]
SHR EAX,0x2
PUSH EAX
PUSH EBX
CALL 0x0012a8a0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x00131bf3
XOR EDI,EDI
LEA EBP,[ESP + 0xc]
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ESI + EDI*0x1]
CMP EDX,0xfeff
JBE 0x00131bd9
MOV EAX,dword ptr [ESP + 0x30]
ADD EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
ADD EDI,0x4
PUSH EBP
PUSH EBX
CALL 0x000ab360
ADD ESP,0x10
CMP dword ptr [ESP + 0x8],EDI
JA 0x00131bc8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ECX]
PUSH 0x0
LEA ESI,[ESP + 0xc]
PUSH ESI
PUSH EDX
PUSH ECX
CALL dword ptr [EAX + 0x38]
MOV ESI,EAX
ADD ESP,0x10
JMP 0x00131b8e
LEA EAX,[EBX + 0xffeeb470]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffeeae98]
PUSH 0x7f
PUSH EAX
CALL 0x000da200
CALL 0x001219f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}\n\n" comment (function_definition "void FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" primitive_type (function_declarator "FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x131b39;" (assignment_expression "uStack_14 = 0x131b39" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }" { (expression_statement "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" identifier = (call_expression "(**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" ( (pointer_expression "**(code **)(*param_2 + 0x38)" * (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,&local_24,0)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) }) (else_clause "else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" else (compound_statement "{\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" { (expression_statement "param_4 = param_4 + param_3 * 0x28;" (assignment_expression "param_4 = param_4 + param_3 * 0x28" identifier = (binary_expression "param_4 + param_3 * 0x28" identifier + (binary_expression "param_3 * 0x28" identifier * number_literal))) ;) (expression_statement "local_24 = *(uint *)(param_4 + 0x14);" (assignment_expression "local_24 = *(uint *)(param_4 + 0x14)" identifier = (pointer_expression "*(uint *)(param_4 + 0x14)" * (cast_expression "(uint *)(param_4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_2[7] == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_001219f0();\n    }" { comment (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);" (assignment_expression "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" identifier = (call_expression "FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" identifier (argument_list "(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" ( (binary_expression "param_2[7] + 0x1c" (subscript_expression "param_2[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_2[8]" identifier [ number_literal ]) , (subscript_expression "param_2[9]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(param_4 + 0x10)" * (cast_expression "(undefined4 *)(param_4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) , number_literal , identifier , number_literal , number_literal )))) ;) }))) (if_statement "if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" if (parenthesized_expression "(param_1[2] == param_1[1])" ( (binary_expression "param_1[2] == param_1[1]" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (subscript_expression "param_1[1]" identifier [ number_literal ])) )) (compound_statement "{\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" { (expression_statement "FUN_0012a8a0(param_1 + 1,local_24 >> 2);" (call_expression "FUN_0012a8a0(param_1 + 1,local_24 >> 2)" identifier (argument_list "(param_1 + 1,local_24 >> 2)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "local_24 >> 2" identifier >> number_literal) ))) ;) (if_statement "if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);" do (compound_statement "{\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      }" { (expression_statement "local_20[0] = *(uint *)((int)uVar2 + uVar1);" (assignment_expression "local_20[0] = *(uint *)((int)uVar2 + uVar1)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(uint *)((int)uVar2 + uVar1)" * (cast_expression "(uint *)((int)uVar2 + uVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uVar2 + uVar1)" ( (binary_expression "(int)uVar2 + uVar1" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }" if (parenthesized_expression "(0xfeff < local_20[0])" ( (binary_expression "0xfeff < local_20[0]" number_literal < (subscript_expression "local_20[0]" identifier [ number_literal ])) )) (compound_statement "{\n          local_20[0] = local_20[0] + *param_1;\n        }" { (expression_statement "local_20[0] = local_20[0] + *param_1;" (assignment_expression "local_20[0] = local_20[0] + *param_1" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (binary_expression "local_20[0] + *param_1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) (expression_statement "FUN_000ab360(param_1 + 1,local_20);" (call_expression "FUN_000ab360(param_1 + 1,local_20)" identifier (argument_list "(param_1 + 1,local_20)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier ))) ;) }) while (parenthesized_expression "(uVar1 < local_24)" ( (binary_expression "uVar1 < local_24" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));" (call_expression "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" identifier (argument_list "("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""read_symtab_xindex"" " string_content ") , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original name: read_symtab_xindex<32, false>\n   DWARF original prototype: void read_symtab_xindex<32,_false>(Xindex * this, Object * object, uint\n   xindex_shndx, uchar * pshdrs) */\n\nvoid __thiscall\ngold::Xindex::read_symtab_xindex<32,_false>\n          (Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)\n\n{\n  section_size_type bytecount;\n  \n}\n\n" comment comment (ERROR "void __thiscall\ngold::Xindex::read_symtab_xindex<32,_false>\n          (Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Xindex::" identifier : : identifier : :) identifier (ERROR "<32" < number_literal) , (function_declarator "_false>\n          (Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)" identifier (ERROR ">" >) (parameter_list "(Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)" ( (parameter_declaration "Xindex *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Object *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint xindex_shndx" type_identifier identifier) , (parameter_declaration "uchar *pshdrs" type_identifier (pointer_declarator "*pshdrs" * identifier)) )))) (compound_statement "{\n  section_size_type bytecount;\n  \n}" { (declaration "section_size_type bytecount;" type_identifier identifier ;) }))
(translation_unit "void FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    \n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}\n\n" (function_definition "void FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    \n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" primitive_type (function_declarator "FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    \n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x131b39;" (assignment_expression "uStack_14 = 0x131b39" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }" { (expression_statement "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" identifier = (call_expression "(**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" ( (pointer_expression "**(code **)(*param_2 + 0x38)" * (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,param_3,&local_24,0)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) }) (else_clause "else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" else (compound_statement "{\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" { (expression_statement "param_4 = param_4 + param_3 * 0x28;" (assignment_expression "param_4 = param_4 + param_3 * 0x28" identifier = (binary_expression "param_4 + param_3 * 0x28" identifier + (binary_expression "param_3 * 0x28" identifier * number_literal))) ;) (expression_statement "local_24 = *(uint *)(param_4 + 0x14);" (assignment_expression "local_24 = *(uint *)(param_4 + 0x14)" identifier = (pointer_expression "*(uint *)(param_4 + 0x14)" * (cast_expression "(uint *)(param_4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x14)" ( (binary_expression "param_4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    \n      FUN_001219f0();\n    }" { (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);" (assignment_expression "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" identifier = (call_expression "FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" identifier (argument_list "(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" ( (binary_expression "param_2[7] + 0x1c" (subscript_expression "param_2[7]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_2[8]" identifier [ number_literal ]) , (subscript_expression "param_2[9]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)(param_4 + 0x10)" * (cast_expression "(undefined4 *)(param_4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) , number_literal , identifier , number_literal , number_literal )))) ;) }))) (if_statement "if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" if (parenthesized_expression "(param_1[2] == param_1[1])" ( (binary_expression "param_1[2] == param_1[1]" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (subscript_expression "param_1[1]" identifier [ number_literal ])) )) (compound_statement "{\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" { (expression_statement "FUN_0012a8a0(param_1 + 1,local_24 >> 2);" (call_expression "FUN_0012a8a0(param_1 + 1,local_24 >> 2)" identifier (argument_list "(param_1 + 1,local_24 >> 2)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "local_24 >> 2" identifier >> number_literal) ))) ;) (if_statement "if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);" do (compound_statement "{\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      }" { (expression_statement "local_20[0] = *(uint *)((int)uVar2 + uVar1);" (assignment_expression "local_20[0] = *(uint *)((int)uVar2 + uVar1)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(uint *)((int)uVar2 + uVar1)" * (cast_expression "(uint *)((int)uVar2 + uVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)uVar2 + uVar1)" ( (binary_expression "(int)uVar2 + uVar1" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }" if (parenthesized_expression "(0xfeff < local_20[0])" ( (binary_expression "0xfeff < local_20[0]" number_literal < (subscript_expression "local_20[0]" identifier [ number_literal ])) )) (compound_statement "{\n          local_20[0] = local_20[0] + *param_1;\n        }" { (expression_statement "local_20[0] = local_20[0] + *param_1;" (assignment_expression "local_20[0] = local_20[0] + *param_1" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (binary_expression "local_20[0] + *param_1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) (expression_statement "FUN_000ab360(param_1 + 1,local_20);" (call_expression "FUN_000ab360(param_1 + 1,local_20)" identifier (argument_list "(param_1 + 1,local_20)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier ))) ;) }) while (parenthesized_expression "(uVar1 < local_24)" ( (binary_expression "uVar1 < local_24" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));" (call_expression "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" identifier (argument_list "("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""read_symtab_xindex"" " string_content ") , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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 , (pointer_expression & IDENT) , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT , LIT , LIT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT >> LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) ))) ;) })))
(function_definition "void FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    \n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" (primitive_type "void") (function_declarator "FUN_00131b30(int *param_1,int *param_2,int param_3,int param_4)" (identifier "FUN_00131b30") (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined8 uVar2;\n  uint local_24;\n  uint local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x131b39;\n  if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }\n  if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }\n                    \n  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "uint local_20 [3];" (type_identifier "uint") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x131b39;" (assignment_expression "uStack_14 = 0x131b39" (identifier "uStack_14") (= "=") (number_literal "0x131b39")) (; ";")) (if_statement "if (param_4 == 0) {\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }\n  else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);\n  }" ({ "{") (expression_statement "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x38)" (* "*") (cast_expression "(code **)(*param_2 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x38)" (( "(") (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_2,param_3,&local_24,0)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" (else "else") (compound_statement "{\n    param_4 = param_4 + param_3 * 0x28;\n    local_24 = *(uint *)(param_4 + 0x14);\n    if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }\n    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);\n  }" ({ "{") (expression_statement "param_4 = param_4 + param_3 * 0x28;" (assignment_expression "param_4 = param_4 + param_3 * 0x28" (identifier "param_4") (= "=") (binary_expression "param_4 + param_3 * 0x28" (identifier "param_4") (+ "+") (binary_expression "param_3 * 0x28" (identifier "param_3") (* "*") (number_literal "0x28")))) (; ";")) (expression_statement "local_24 = *(uint *)(param_4 + 0x14);" (assignment_expression "local_24 = *(uint *)(param_4 + 0x14)" (identifier "local_24") (= "=") (pointer_expression "*(uint *)(param_4 + 0x14)" (* "*") (cast_expression "(uint *)(param_4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x14)" (( "(") (binary_expression "param_4 + 0x14" (identifier "param_4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_2[7] == 0) {\n                    \n      FUN_001219f0();\n    }" (if "if") (parenthesized_expression "(param_2[7] == 0)" (( "(") (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_001219f0();\n    }" ({ "{") (expression_statement "FUN_001219f0();" (call_expression "FUN_001219f0()" (identifier "FUN_001219f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0);" (assignment_expression "uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" (identifier "uVar2") (= "=") (call_expression "FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" (identifier "FUN_000d4670") (argument_list "(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,\n                         local_24,1,0)" (( "(") (binary_expression "param_2[7] + 0x1c" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "0x1c")) (, ",") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(param_4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "0") (, ",") (identifier "local_24") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (if_statement "if (param_1[2] == param_1[1]) {\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_1[2] == param_1[1])" (( "(") (binary_expression "param_1[2] == param_1[1]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n    FUN_0012a8a0(param_1 + 1,local_24 >> 2);\n    if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }\n    return;\n  }" ({ "{") (expression_statement "FUN_0012a8a0(param_1 + 1,local_24 >> 2);" (call_expression "FUN_0012a8a0(param_1 + 1,local_24 >> 2)" (identifier "FUN_0012a8a0") (argument_list "(param_1 + 1,local_24 >> 2)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (binary_expression "local_24 >> 2" (identifier "local_24") (>> ">>") (number_literal "2")) () ")"))) (; ";")) (if_statement "if (local_24 != 0) {\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = 0;\n      do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);\n    }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      } while (uVar1 < local_24);" (do "do") (compound_statement "{\n        local_20[0] = *(uint *)((int)uVar2 + uVar1);\n        if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }\n        uVar1 = uVar1 + 4;\n        FUN_000ab360(param_1 + 1,local_20);\n      }" ({ "{") (expression_statement "local_20[0] = *(uint *)((int)uVar2 + uVar1);" (assignment_expression "local_20[0] = *(uint *)((int)uVar2 + uVar1)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(uint *)((int)uVar2 + uVar1)" (* "*") (cast_expression "(uint *)((int)uVar2 + uVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)uVar2 + uVar1)" (( "(") (binary_expression "(int)uVar2 + uVar1" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (+ "+") (identifier "uVar1")) () ")"))))) (; ";")) (if_statement "if (0xfeff < local_20[0]) {\n          local_20[0] = local_20[0] + *param_1;\n        }" (if "if") (parenthesized_expression "(0xfeff < local_20[0])" (( "(") (binary_expression "0xfeff < local_20[0]" (number_literal "0xfeff") (< "<") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) () ")")) (compound_statement "{\n          local_20[0] = local_20[0] + *param_1;\n        }" ({ "{") (expression_statement "local_20[0] = local_20[0] + *param_1;" (assignment_expression "local_20[0] = local_20[0] + *param_1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_20[0] + *param_1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 4" (identifier "uVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "FUN_000ab360(param_1 + 1,local_20);" (call_expression "FUN_000ab360(param_1 + 1,local_20)" (identifier "FUN_000ab360") (argument_list "(param_1 + 1,local_20)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 < local_24)" (( "(") (binary_expression "uVar1 < local_24" (identifier "uVar1") (< "<") (identifier "local_24")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));" (call_expression "FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" (identifier "FUN_000da200") (argument_list "("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20))" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x7f") (, ",") (string_literal ""read_symtab_xindex"" (" """) (string_content "read_symtab_xindex") (" """)) (, ",") (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x20")) () ")"))) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: read_symtab_xindex<32, false>
   DWARF original prototype: void read_symtab_xindex<32,_false>(Xindex * this, Object * object, uint
   xindex_shndx, uchar * pshdrs) */

void __thiscall
gold::Xindex::read_symtab_xindex<32,_false>
          (Xindex *this,Object *object,uint xindex_shndx,uchar *pshdrs)

{
  type_1 bytecount;
  
}


(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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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) (pointer_expression argument: (identifier)) (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (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: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (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))))) (number_literal) (identifier) (number_literal) (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))) (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))))))

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

void MASKED(int *param_1,int *param_2,int param_3,int param_4)

{
  uint uVar1;
  undefined8 uVar2;
  uint local_24;
  uint local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x131b39;
  if (param_4 == 0) {
    uVar2 = (**(code **)(*param_2 + 0x38))(param_2,param_3,&local_24,0);
  }
  else {
    param_4 = param_4 + param_3 * 0x28;
    local_24 = *(uint *)(param_4 + 0x14);
    if (param_2[7] == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_001219f0();
    }
    uVar2 = FUN_000d4670(param_2[7] + 0x1c,param_2[8],param_2[9],*(undefined4 *)(param_4 + 0x10),0,
                         local_24,1,0);
  }
  if (param_1[2] == param_1[1]) {
    FUN_0012a8a0(param_1 + 1,local_24 >> 2);
    if (local_24 != 0) {
      uVar1 = 0;
      do {
        local_20[0] = *(uint *)((int)uVar2 + uVar1);
        if (0xfeff < local_20[0]) {
          local_20[0] = local_20[0] + *param_1;
        }
        uVar1 = uVar1 + 4;
        FUN_000ab360(param_1 + 1,local_20);
      } while (uVar1 < local_24);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/object.cc",0x7f,"read_symtab_xindex",(int)((ulonglong)uVar2 >> 0x20));
}

