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

uint64_t __thiscall
gold::Sized_relobj_file<32,_false>::do_section_entsize
          (Sized_relobj_file<32,_false> *this,uint shndx)

{
  Symbols_data *pSVar1;
  
  pSVar1 = (this->super_Sized_relobj<32,_false>).super_Relobj.sd_;
  if (pSVar1 != (Symbols_data *)0x0) {
    return (uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.cc",0xa7b,"do_section_entsize");
}



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

undefined4 FUN_000b3630(int param_1,int param_2)

{
  if (*(int **)(param_1 + 0x54) != (int *)0x0) {
    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x2db9ca
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [EDX + 0x54]
TEST EDX,EDX
JZ 0x000b3660
MOV ECX,dword ptr [EDX]
LEA EAX,[EAX + EAX*0x4]
XOR EDX,EDX
LEA EAX,[ECX + EAX*0x8]
MOV EAX,dword ptr [EAX + 0x24]
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xffefe114]
PUSH EAX
LEA EAX,[EBX + 0xffefd078]
PUSH 0xa7b
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000b3630(int param_1,int param_2)\n\n{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}\n\n" comment (function_definition "undefined4 FUN_000b3630(int param_1,int param_2)\n\n{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" type_identifier (function_declarator "FUN_000b3630(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" { (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\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    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }" { (return_statement "return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);" return (pointer_expression "*(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" * (cast_expression "(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" ( (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24" (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28" (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) ))))) + (binary_expression "param_2 * 0x28" identifier * number_literal)) + number_literal) )))) ;) })) comment (expression_statement "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);" (call_expression "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" identifier (argument_list "("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_section_entsize"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint64_t do_section_entsize(Sized_relobj_file<32,_false> * this, uint\n   shndx) */\n\nuint64_t __thiscall\ngold::Sized_relobj_file<32,_false>::do_section_entsize\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{\n  Symbols_data *pSVar1;\n  \n  pSVar1 = (this->super_Sized_relobj<32,_false>).super_Relobj.sd_;\n  if (pSVar1 != (Symbols_data *)0x0) {\n    return (uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0xa7b,"do_section_entsize");\n}\n\n" comment comment (declaration "uint64_t __thiscall\ngold::Sized_relobj_file<32,_false>::do_section_entsize\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{\n  Symbols_data *pSVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_section_entsize\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{\n  Symbols_data" identifier > : : (function_declarator "do_section_entsize\n          (Sized_relobj_file<32,_false> *this,uint shndx)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,uint shndx)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) { identifier) (pointer_declarator "*pSVar1" * identifier) ;) (expression_statement "pSVar1 = (this->super_Sized_relobj<32,_false>).super_Relobj.sd_;" (assignment_expression "pSVar1 = (this->super_Sized_relobj<32,_false>).super_Relobj.sd_" identifier = (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj.sd_" (field_expression "(this->super_Sized_relobj<32,_false>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_false>)" ( (comma_expression "this->super_Sized_relobj<32,_false" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier)) ;) (if_statement "if (pSVar1 != (Symbols_data *)0x0) {\n    return (uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24);\n  }" if (parenthesized_expression "(pSVar1 != (Symbols_data *)0x0)" ( (binary_expression "pSVar1 != (Symbols_data *)0x0" identifier != (cast_expression "(Symbols_data *)0x0" ( (type_descriptor "Symbols_data *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24);\n  }" { (return_statement "return (uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24);" return (cast_expression "(uint64_t)*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24)" ( (type_descriptor "uint64_t" primitive_type) ) (pointer_expression "*(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24)" * (cast_expression "(uint *)(pSVar1->section_headers_data + shndx * 0x28 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pSVar1->section_headers_data + shndx * 0x28 + 0x24)" ( (binary_expression "pSVar1->section_headers_data + shndx * 0x28 + 0x24" (binary_expression "pSVar1->section_headers_data + shndx * 0x28" (field_expression "pSVar1->section_headers_data" identifier -> field_identifier) + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0xa7b,"do_section_entsize");" (call_expression "do_gold_unreachable("../../gold/object.cc",0xa7b,"do_section_entsize")" identifier (argument_list "("../../gold/object.cc",0xa7b,"do_section_entsize")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_section_entsize"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "undefined4 FUN_000b3630(int param_1,int param_2)\n\n{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}\n\n" (function_definition "undefined4 FUN_000b3630(int param_1,int param_2)\n\n{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" type_identifier (function_declarator "FUN_000b3630(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" { (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\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    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }" { (return_statement "return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);" return (pointer_expression "*(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" * (cast_expression "(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" ( (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24" (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28" (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) ))))) + (binary_expression "param_2 * 0x28" identifier * number_literal)) + number_literal) )))) ;) })) (expression_statement "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);" (call_expression "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" identifier (argument_list "("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_section_entsize"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (binary_expression IDENT * LIT)) + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined4 FUN_000b3630(int param_1,int param_2)\n\n{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" (type_identifier "undefined4") (function_declarator "FUN_000b3630(int param_1,int param_2)" (identifier "FUN_000b3630") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);\n}" ({ "{") (if_statement "if (*(int **)(param_1 + 0x54) != (int *)0x0) {\n    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\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    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);\n  }" ({ "{") (return_statement "return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);" (return "return") (pointer_expression "*(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" (* "*") (cast_expression "(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24)" (( "(") (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24" (binary_expression "**(int **)(param_1 + 0x54) + param_2 * 0x28" (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")) () ")"))))) (+ "+") (binary_expression "param_2 * 0x28" (identifier "param_2") (* "*") (number_literal "0x28"))) (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);" (call_expression "FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/object.cc",0xa7b,"do_section_entsize",param_2)" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0xa7b") (, ",") (string_literal ""do_section_entsize"" (" """) (string_content "do_section_entsize") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

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

uint64_t __thiscall
gold::Sized_relobj_file<32,_false>::do_section_entsize
          (Sized_relobj_file<32,_false> *this,type_2 var_2)

{
  type_1 *var_1;
  
  var_1 = (this->super_Sized_relobj<32,_false>).super_Relobj.sd_;
  if (var_1 != (type_1 *)0x0) {
    return (uint64_t)*(type_2 *)(var_1->section_headers_data + var_2 * 0x28 + 0x24);
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/object.cc",0xa7b,"do_section_entsize");
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (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 (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (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)))))) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

undefined4 MASKED(int param_1,int param_2)

{
  if (*(int **)(param_1 + 0x54) != (int *)0x0) {
    return *(undefined4 *)(**(int **)(param_1 + 0x54) + param_2 * 0x28 + 0x24);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.cc",0xa7b,"do_section_entsize",param_2);
}

