
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint adjust_sym_shndx(Object * this, uint symndx, uint shndx, bool *
   is_ordinary) */

uint __thiscall
gold::Object::adjust_sym_shndx(Object *this,uint symndx,uint shndx,bool *is_ordinary)

{
}



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

void __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)

{
  int iVar1;
  
  iVar1 = param_1[0xc];
  if (iVar1 == 0) {
    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);
    param_1[0xc] = iVar1;
  }
  FUN_00121c60(iVar1,param_1,param_2);
  *param_3 = 1;
  return;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x0003a210
ADD EBX,0x3c1191
SUB ESP,0xc
MOV EAX,dword ptr [EAX + 0x30]
TEST EAX,EAX
JZ 0x00052e98
SUB ESP,0x4
PUSH EBP
PUSH ESI
PUSH EAX
CALL 0x00121c60
MOV byte ptr [EDI],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x6c]
MOV dword ptr [ESI + 0x30],EAX
ADD ESP,0x10
JMP 0x00052e7f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0x6c))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x6c))" ( (pointer_expression "**(code **)(*param_1 + 0x6c)" * (pointer_expression "*(code **)(*param_1 + 0x6c)" * (cast_expression "(code **)(*param_1 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x6c)" ( (binary_expression "*param_1 + 0x6c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_00121c60(iVar1,param_1,param_2);" (call_expression "FUN_00121c60(iVar1,param_1,param_2)" identifier (argument_list "(iVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint adjust_sym_shndx(Object * this, uint symndx, uint shndx, bool *\n   is_ordinary) */\n\nuint __thiscall\ngold::Object::adjust_sym_shndx(Object *this,uint symndx,uint shndx,bool *is_ordinary)\n\n{\n}\n\n" comment comment (function_definition "uint __thiscall\ngold::Object::adjust_sym_shndx(Object *this,uint symndx,uint shndx,bool *is_ordinary)\n\n{\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Object::" identifier : : identifier : :) (function_declarator "adjust_sym_shndx(Object *this,uint symndx,uint shndx,bool *is_ordinary)" identifier (parameter_list "(Object *this,uint symndx,uint shndx,bool *is_ordinary)" ( (parameter_declaration "Object *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "bool *is_ordinary" primitive_type (pointer_declarator "*is_ordinary" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined1 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0x6c))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x6c))" ( (pointer_expression "**(code **)(*param_1 + 0x6c)" * (pointer_expression "*(code **)(*param_1 + 0x6c)" * (cast_expression "(code **)(*param_1 + 0x6c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x6c)" ( (binary_expression "*param_1 + 0x6c" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "FUN_00121c60(iVar1,param_1,param_2);" (call_expression "FUN_00121c60(iVar1,param_1,param_2)" identifier (argument_list "(iVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00052e60(int *param_1,undefined4 param_2,undefined1 *param_3)" (identifier "FUN_00052e60") (parameter_list "(int *param_1,undefined4 param_2,undefined1 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = param_1[0xc];\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }\n  FUN_00121c60(iVar1,param_1,param_2);\n  *param_3 = 1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" (identifier "iVar1") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);\n    param_1[0xc] = iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);" (assignment_expression "iVar1 = (**(code **)(*param_1 + 0x6c))(param_1)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_1 + 0x6c))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x6c))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x6c)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x6c)" (* "*") (cast_expression "(code **)(*param_1 + 0x6c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x6c)" (( "(") (binary_expression "*param_1 + 0x6c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x6c")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "FUN_00121c60(iVar1,param_1,param_2);" (call_expression "FUN_00121c60(iVar1,param_1,param_2)" (identifier "FUN_00121c60") (argument_list "(iVar1,param_1,param_2)" (( "(") (identifier "iVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint adjust_sym_shndx(Object * this, uint symndx, uint shndx, bool *
   is_ordinary) */

type_1 __thiscall
gold::type_2::function_1(type_2 *this,type_1 symndx,type_1 shndx,bool *is_ordinary)

{
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))

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

void __regparm3 MASKED(int *param_1,undefined4 param_2,undefined1 *param_3)

{
  int iVar1;
  
  iVar1 = param_1[0xc];
  if (iVar1 == 0) {
    iVar1 = (**(code **)(*param_1 + 0x6c))(param_1);
    param_1[0xc] = iVar1;
  }
  FUN_00121c60(iVar1,param_1,param_2);
  *param_3 = 1;
  return;
}

