
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint64_t do_section_flags(Sized_relobj_file<64,_true> * this, uint
   shndx) */

uint64_t __thiscall
gold::Sized_relobj_file<64,_true>::do_section_flags(Sized_relobj_file<64,_true> *this,uint shndx)

{
}



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

undefined8 FUN_0029a2b0(int param_1,uint param_2)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int iVar6;
  undefined8 uVar7;
  
  if (*(int **)(param_1 + 0x54) != (int *)0x0) {
    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);
    uVar1 = *(uint *)(iVar6 + 8);
    uVar2 = *(uint *)(iVar6 + 0xc);
    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,
                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)
    ;
  }
  iVar6 = param_1 + 0x90;
  iVar3 = *(int *)(param_1 + 0x90);
  FUN_00107810(iVar6);
  if (*(uint *)(param_1 + 0x9c) <= param_2) {
    FUN_00107810(iVar6);
    uVar4 = *(undefined4 *)(param_1 + 0x9c);
    uVar5 = gettext("section_flags: bad shndx %u >= %u");
    FUN_0028b750(iVar3,uVar5,param_2,uVar4);
  }
  uVar7 = FUN_001066e0(iVar6,param_2);
  if (*(int *)(iVar3 + 0x1c) != 0) {
    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),
                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);
    uVar1 = *(uint *)(iVar6 + 8);
    uVar2 = *(uint *)(iVar6 + 0xc);
    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,
                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)
    ;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028b560();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x34fd47
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EDI + 0x54]
TEST EAX,EAX
JZ 0x0029a2f0
MOV ESI,dword ptr [ESP + 0x24]
SHL ESI,0x6
ADD ESI,dword ptr [EAX]
MOV EDX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0xc]
ADD ESP,0xc
POP EBX
POP ESI
BSWAP EAX
BSWAP EDX
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA ESI,[EDI + 0x90]
MOV EBP,dword ptr [EDI + 0x90]
PUSH ESI
CALL 0x00107810
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x9c]
CMP dword ptr [ESP + 0x24],EAX
JNC 0x0029a360
SUB ESP,0x8
PUSH dword ptr [ESP + 0x2c]
PUSH ESI
CALL 0x001066e0
MOV ECX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
TEST ECX,ECX
JZ 0x0029a391
ADD ECX,0x1c
PUSH 0x1
PUSH 0x1
PUSH 0x40
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x20]
PUSH ECX
CALL 0x0023eb50
ADD ESP,0x20
MOV EDX,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [EAX + 0xc]
ADD ESP,0xc
POP EBX
POP ESI
BSWAP EAX
BSWAP EDX
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00107810
MOV EDI,dword ptr [EDI + 0x9c]
LEA EAX,[EBX + 0xffe7cf60]
MOV dword ptr [ESP],EAX
CALL 0x00039440
ADD ESP,0x10
PUSH EDI
PUSH dword ptr [ESP + 0x28]
PUSH EAX
PUSH EBP
CALL 0x0028b750
ADD ESP,0x10
JMP 0x0029a314
CALL 0x0028b560
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 FUN_0029a2b0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028b560();\n}\n\n" comment (function_definition "undefined8 FUN_0029a2b0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028b560();\n}" type_identifier (function_declarator "FUN_0029a2b0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028b560();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" if (parenthesized_expression "(*(int **)(param_1 + 0x54) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x54) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x54)" * (cast_expression "(int **)(param_1 + 0x54)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" { (expression_statement "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);" (assignment_expression "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54)" identifier = (binary_expression "param_2 * 0x40 + **(int **)(param_1 + 0x54)" (binary_expression "param_2 * 0x40" identifier * number_literal) + (pointer_expression "**(int **)(param_1 + 0x54)" * (pointer_expression "*(int **)(param_1 + 0x54)" * (cast_expression "(int **)(param_1 + 0x54)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))))) ;) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" identifier = (pointer_expression "*(uint *)(iVar6 + 8)" * (cast_expression "(uint *)(iVar6 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" return (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" identifier (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) , (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 "iVar6 = param_1 + 0x90;" (assignment_expression "iVar6 = param_1 + 0x90" identifier = (binary_expression "param_1 + 0x90" identifier + number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x90);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x90)" identifier = (pointer_expression "*(int *)(param_1 + 0x90)" * (cast_expression "(int *)(param_1 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 0x9c) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 0x9c) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x9c)" * (cast_expression "(uint *)(param_1 + 0x9c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x9c)" ( (binary_expression "param_1 + 0x9c" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" { (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x9c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x9c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x9c)" * (cast_expression "(undefined4 *)(param_1 + 0x9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x9c)" ( (binary_expression "param_1 + 0x9c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = gettext("section_flags: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_flags: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_flags: bad shndx %u >= %u")" identifier (argument_list "("section_flags: bad shndx %u >= %u")" ( (string_literal ""section_flags: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b750(iVar3,uVar5,param_2,uVar4);" (call_expression "FUN_0028b750(iVar3,uVar5,param_2,uVar4)" identifier (argument_list "(iVar3,uVar5,param_2,uVar4)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar7 = FUN_001066e0(iVar6,param_2);" (assignment_expression "uVar7 = FUN_001066e0(iVar6,param_2)" identifier = (call_expression "FUN_001066e0(iVar6,param_2)" identifier (argument_list "(iVar6,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x1c) != 0" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" { (expression_statement "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);" (assignment_expression "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" identifier = (call_expression "FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" identifier (argument_list "(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" ( (binary_expression "*(int *)(iVar3 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" * (cast_expression "(undefined4 *)(iVar3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" identifier = (pointer_expression "*(uint *)(iVar6 + 8)" * (cast_expression "(uint *)(iVar6 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" return (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" identifier (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) , (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_0028b560();" (call_expression "FUN_0028b560()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint64_t do_section_flags(Sized_relobj_file<64,_true> * this, uint\n   shndx) */\n\nuint64_t __thiscall\ngold::Sized_relobj_file<64,_true>::do_section_flags(Sized_relobj_file<64,_true> *this,uint shndx)\n\n{\n}\n\n" comment comment (ERROR "uint64_t __thiscall\ngold::Sized_relobj_file<64,_true>::do_section_flags(Sized_relobj_file<64,_true> *this,uint shndx)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::" identifier > : :) (function_declarator "do_section_flags(Sized_relobj_file<64,_true> *this,uint shndx)" identifier (parameter_list "(Sized_relobj_file<64,_true> *this,uint shndx)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "undefined8 FUN_0029a2b0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    \n  FUN_0028b560();\n}\n\n" (function_definition "undefined8 FUN_0029a2b0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    \n  FUN_0028b560();\n}" type_identifier (function_declarator "FUN_0029a2b0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    \n  FUN_0028b560();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" if (parenthesized_expression "(*(int **)(param_1 + 0x54) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 0x54) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x54)" * (cast_expression "(int **)(param_1 + 0x54)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" { (expression_statement "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);" (assignment_expression "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54)" identifier = (binary_expression "param_2 * 0x40 + **(int **)(param_1 + 0x54)" (binary_expression "param_2 * 0x40" identifier * number_literal) + (pointer_expression "**(int **)(param_1 + 0x54)" * (pointer_expression "*(int **)(param_1 + 0x54)" * (cast_expression "(int **)(param_1 + 0x54)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))))) ;) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" identifier = (pointer_expression "*(uint *)(iVar6 + 8)" * (cast_expression "(uint *)(iVar6 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" return (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" identifier (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) , (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 "iVar6 = param_1 + 0x90;" (assignment_expression "iVar6 = param_1 + 0x90" identifier = (binary_expression "param_1 + 0x90" identifier + number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x90);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x90)" identifier = (pointer_expression "*(int *)(param_1 + 0x90)" * (cast_expression "(int *)(param_1 + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 0x9c) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 0x9c) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x9c)" * (cast_expression "(uint *)(param_1 + 0x9c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x9c)" ( (binary_expression "param_1 + 0x9c" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" { (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x9c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x9c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x9c)" * (cast_expression "(undefined4 *)(param_1 + 0x9c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x9c)" ( (binary_expression "param_1 + 0x9c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = gettext("section_flags: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_flags: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_flags: bad shndx %u >= %u")" identifier (argument_list "("section_flags: bad shndx %u >= %u")" ( (string_literal ""section_flags: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0028b750(iVar3,uVar5,param_2,uVar4);" (call_expression "FUN_0028b750(iVar3,uVar5,param_2,uVar4)" identifier (argument_list "(iVar3,uVar5,param_2,uVar4)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar7 = FUN_001066e0(iVar6,param_2);" (assignment_expression "uVar7 = FUN_001066e0(iVar6,param_2)" identifier = (call_expression "FUN_001066e0(iVar6,param_2)" identifier (argument_list "(iVar6,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x1c) != 0" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" { (expression_statement "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);" (assignment_expression "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" identifier = (call_expression "FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" identifier (argument_list "(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" ( (binary_expression "*(int *)(iVar3 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" * (cast_expression "(undefined4 *)(iVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" * (cast_expression "(undefined4 *)(iVar3 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" identifier = (pointer_expression "*(uint *)(iVar6 + 8)" * (cast_expression "(uint *)(iVar6 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) ;) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" return (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" identifier (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) , (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_0028b560();" (call_expression "FUN_0028b560()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return (call_expression IDENT (argument_list ( (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)) , (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 (assignment_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) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return (call_expression IDENT (argument_list ( (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)) , (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 "undefined8 FUN_0029a2b0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    \n  FUN_0028b560();\n}" (type_identifier "undefined8") (function_declarator "FUN_0029a2b0(int param_1,uint param_2)" (identifier "FUN_0029a2b0") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined8 uVar7;\n  \n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n  iVar6 = param_1 + 0x90;\n  iVar3 = *(int *)(param_1 + 0x90);\n  FUN_00107810(iVar6);\n  if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }\n  uVar7 = FUN_001066e0(iVar6,param_2);\n  if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }\n                    \n  FUN_0028b560();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (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 "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x54) != (int *)0x0)" (( "(") (binary_expression "*(int **)(param_1 + 0x54) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 0x54)" (* "*") (cast_expression "(int **)(param_1 + 0x54)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" ({ "{") (expression_statement "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);" (assignment_expression "iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54)" (identifier "iVar6") (= "=") (binary_expression "param_2 * 0x40 + **(int **)(param_1 + 0x54)" (binary_expression "param_2 * 0x40" (identifier "param_2") (* "*") (number_literal "0x40")) (+ "+") (pointer_expression "**(int **)(param_1 + 0x54)" (* "*") (pointer_expression "*(int **)(param_1 + 0x54)" (* "*") (cast_expression "(int **)(param_1 + 0x54)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")"))))))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar6 + 8)" (* "*") (cast_expression "(uint *)(iVar6 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar6 + 0xc)" (* "*") (cast_expression "(uint *)(iVar6 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" (return "return") (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" (identifier "CONCAT44") (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) (, ",") (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 "iVar6 = param_1 + 0x90;" (assignment_expression "iVar6 = param_1 + 0x90" (identifier "iVar6") (= "=") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x90);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x90)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x90)" (* "*") (cast_expression "(int *)(param_1 + 0x90)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" (identifier "FUN_00107810") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (*(uint *)(param_1 + 0x9c) <= param_2) {\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x9c) <= param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 0x9c) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x9c)" (* "*") (cast_expression "(uint *)(param_1 + 0x9c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x9c)" (( "(") (binary_expression "param_1 + 0x9c" (identifier "param_1") (+ "+") (number_literal "0x9c")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    FUN_00107810(iVar6);\n    uVar4 = *(undefined4 *)(param_1 + 0x9c);\n    uVar5 = gettext("section_flags: bad shndx %u >= %u");\n    FUN_0028b750(iVar3,uVar5,param_2,uVar4);\n  }" ({ "{") (expression_statement "FUN_00107810(iVar6);" (call_expression "FUN_00107810(iVar6)" (identifier "FUN_00107810") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x9c);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x9c)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x9c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x9c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x9c)" (( "(") (binary_expression "param_1 + 0x9c" (identifier "param_1") (+ "+") (number_literal "0x9c")) () ")"))))) (; ";")) (expression_statement "uVar5 = gettext("section_flags: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_flags: bad shndx %u >= %u")" (identifier "uVar5") (= "=") (call_expression "gettext("section_flags: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_flags: bad shndx %u >= %u")" (( "(") (string_literal ""section_flags: bad shndx %u >= %u"" (" """) (string_content "section_flags: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0028b750(iVar3,uVar5,param_2,uVar4);" (call_expression "FUN_0028b750(iVar3,uVar5,param_2,uVar4)" (identifier "FUN_0028b750") (argument_list "(iVar3,uVar5,param_2,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar5") (, ",") (identifier "param_2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar7 = FUN_001066e0(iVar6,param_2);" (assignment_expression "uVar7 = FUN_001066e0(iVar6,param_2)" (identifier "uVar7") (= "=") (call_expression "FUN_001066e0(iVar6,param_2)" (identifier "FUN_001066e0") (argument_list "(iVar6,param_2)" (( "(") (identifier "iVar6") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0x1c) != 0) {\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1c) != 0" (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);\n    uVar1 = *(uint *)(iVar6 + 8);\n    uVar2 = *(uint *)(iVar6 + 0xc);\n    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;\n  }" ({ "{") (expression_statement "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);" (assignment_expression "iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" (identifier "iVar6") (= "=") (call_expression "FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" (identifier "FUN_0023eb50") (argument_list "(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),\n                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar7") (, ",") (number_literal "0x40") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar6 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar6 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar6 + 8)" (* "*") (cast_expression "(uint *)(iVar6 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)(iVar6 + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar6 + 0xc)" (* "*") (cast_expression "(uint *)(iVar6 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (return_statement "return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)\n    ;" (return "return") (call_expression "CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" (identifier "CONCAT44") (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,\n                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) (, ",") (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_0028b560();" (call_expression "FUN_0028b560()" (identifier "FUN_0028b560") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint64_t do_section_flags(Sized_relobj_file<64,_true> * this, uint
   shndx) */

uint64_t __thiscall
gold::Sized_relobj_file<64,_true>::do_section_flags(Sized_relobj_file<64,_true> *this,uint shndx)

{
}


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

undefined8 MASKED(int param_1,uint param_2)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int iVar6;
  undefined8 uVar7;
  
  if (*(int **)(param_1 + 0x54) != (int *)0x0) {
    iVar6 = param_2 * 0x40 + **(int **)(param_1 + 0x54);
    uVar1 = *(uint *)(iVar6 + 8);
    uVar2 = *(uint *)(iVar6 + 0xc);
    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,
                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)
    ;
  }
  iVar6 = param_1 + 0x90;
  iVar3 = *(int *)(param_1 + 0x90);
  FUN_00107810(iVar6);
  if (*(uint *)(param_1 + 0x9c) <= param_2) {
    FUN_00107810(iVar6);
    uVar4 = *(undefined4 *)(param_1 + 0x9c);
    uVar5 = gettext("section_flags: bad shndx %u >= %u");
    FUN_0028b750(iVar3,uVar5,param_2,uVar4);
  }
  uVar7 = FUN_001066e0(iVar6,param_2);
  if (*(int *)(iVar3 + 0x1c) != 0) {
    iVar6 = FUN_0023eb50(*(int *)(iVar3 + 0x1c) + 0x1c,*(undefined4 *)(iVar3 + 0x20),
                         *(undefined4 *)(iVar3 + 0x24),uVar7,0x40,1,1);
    uVar1 = *(uint *)(iVar6 + 8);
    uVar2 = *(uint *)(iVar6 + 0xc);
    return CONCAT44(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18,
                    uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)
    ;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028b560();
}

