
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void reset_address_and_file_offset(Input_section * this) */

void __thiscall
gold::Output_section::Input_section::reset_address_and_file_offset(Input_section *this)

{
  byte bVar1;
  int *piVar2;
  int in_EAX;
  
  piVar2 = *(int **)(in_EAX + 0x10);
  bVar1 = *(byte *)(piVar2 + 7);
  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;
  if ((bVar1 & 8) == 0) {
    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;
  }
  if (*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset) {
    return;
  }
  (**(code **)(*piVar2 + 0x3c))(piVar2);
  return;
}



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

void __regparm3 FUN_000ecdc0(int param_1)

{
  byte bVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x10);
  bVar1 = *(byte *)(piVar2 + 7);
  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;
  if ((bVar1 & 8) == 0) {
    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;
  }
  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {
    return;
  }
  (**(code **)(*piVar2 + 0x3c))(piVar2);
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x2a223a
SUB ESP,0x8
MOV EAX,dword ptr [EAX + 0x10]
MOVZX EDX,byte ptr [EAX + 0x1c]
MOV ECX,EDX
AND ECX,0xfffffffa
MOV byte ptr [EAX + 0x1c],CL
AND ECX,0x8
JNZ 0x000ecde9
AND EDX,0xfffffff8
MOV byte ptr [EAX + 0x1c],DL
MOV EDX,dword ptr [EAX]
LEA ECX,[EBX + 0xffce4590]
MOV EDX,dword ptr [EDX + 0x3c]
CMP EDX,ECX
JNZ 0x000ece00
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
PUSH EAX
CALL EDX
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000ecdc0(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000ecdc0(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ecdc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" identifier = (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xfa;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xfa" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xfa" identifier & number_literal)) ;) (if_statement "if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" { (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xf8;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xf8" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xf8" identifier & number_literal)) ;) })) (if_statement "if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == FUN_00073590)" ( (binary_expression "*(code **)(*piVar2 + 0x3c) == FUN_00073590" (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*piVar2 + 0x3c))(piVar2);" (call_expression "(**(code **)(*piVar2 + 0x3c))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x3c))" ( (pointer_expression "**(code **)(*piVar2 + 0x3c)" * (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void reset_address_and_file_offset(Input_section * this) */\n\nvoid __thiscall\ngold::Output_section::Input_section::reset_address_and_file_offset(Input_section *this)\n\n{\n  byte bVar1;\n  int *piVar2;\n  int in_EAX;\n  \n  piVar2 = *(int **)(in_EAX + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section::Input_section::reset_address_and_file_offset(Input_section *this)\n\n{\n  byte bVar1;\n  int *piVar2;\n  int in_EAX;\n  \n  piVar2 = *(int **)(in_EAX + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::Input_section::" identifier : : identifier : : identifier : :) (function_declarator "reset_address_and_file_offset(Input_section *this)" identifier (parameter_list "(Input_section *this)" ( (parameter_declaration "Input_section *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  int in_EAX;\n  \n  piVar2 = *(int **)(in_EAX + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int in_EAX;" primitive_type identifier ;) (expression_statement "piVar2 = *(int **)(in_EAX + 0x10);" (assignment_expression "piVar2 = *(int **)(in_EAX + 0x10)" identifier = (pointer_expression "*(int **)(in_EAX + 0x10)" * (cast_expression "(int **)(in_EAX + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_EAX + 0x10)" ( (binary_expression "in_EAX + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" identifier = (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xfa;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xfa" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xfa" identifier & number_literal)) ;) (if_statement "if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" { (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xf8;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xf8" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xf8" identifier & number_literal)) ;) })) (if_statement "if (*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == Output_data::do_reset_address_and_file_offset)" ( (binary_expression "*(code **)(*piVar2 + 0x3c) == Output_data" (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) (ERROR "::do_reset_address_and_file_offset" : : identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*piVar2 + 0x3c))(piVar2);" (call_expression "(**(code **)(*piVar2 + 0x3c))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x3c))" ( (pointer_expression "**(code **)(*piVar2 + 0x3c)" * (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000ecdc0(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000ecdc0(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000ecdc0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x10)" identifier = (pointer_expression "*(int **)(param_1 + 0x10)" * (cast_expression "(int **)(param_1 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" identifier = (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xfa;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xfa" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xfa" identifier & number_literal)) ;) (if_statement "if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" { (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xf8;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xf8" (pointer_expression "*(byte *)(piVar2 + 7)" * (cast_expression "(byte *)(piVar2 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 7)" ( (binary_expression "piVar2 + 7" identifier + number_literal) )))) = (binary_expression "bVar1 & 0xf8" identifier & number_literal)) ;) })) (if_statement "if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == FUN_00073590)" ( (binary_expression "*(code **)(*piVar2 + 0x3c) == FUN_00073590" (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*piVar2 + 0x3c))(piVar2);" (call_expression "(**(code **)(*piVar2 + 0x3c))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x3c))" ( (pointer_expression "**(code **)(*piVar2 + 0x3c)" * (pointer_expression "*(code **)(*piVar2 + 0x3c)" * (cast_expression "(code **)(*piVar2 + 0x3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x3c)" ( (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (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 ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000ecdc0(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000ecdc0(int param_1)" (identifier "FUN_000ecdc0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 7);\n  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;\n  if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }\n  (**(code **)(*piVar2 + 0x3c))(piVar2);\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x10);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x10)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x10)" (* "*") (cast_expression "(int **)(param_1 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "bVar1 = *(byte *)(piVar2 + 7);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 7)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")"))))) (; ";")) (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xfa;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xfa" (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 & 0xfa" (identifier "bVar1") (& "&") (number_literal "0xfa"))) (; ";")) (if_statement "if ((bVar1 & 8) == 0) {\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" (if "if") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;\n  }" ({ "{") (expression_statement "*(byte *)(piVar2 + 7) = bVar1 & 0xf8;" (assignment_expression "*(byte *)(piVar2 + 7) = bVar1 & 0xf8" (pointer_expression "*(byte *)(piVar2 + 7)" (* "*") (cast_expression "(byte *)(piVar2 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 7)" (( "(") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "bVar1 & 0xf8" (identifier "bVar1") (& "&") (number_literal "0xf8"))) (; ";")) (} "}"))) (if_statement "if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == FUN_00073590)" (( "(") (binary_expression "*(code **)(*piVar2 + 0x3c) == FUN_00073590" (pointer_expression "*(code **)(*piVar2 + 0x3c)" (* "*") (cast_expression "(code **)(*piVar2 + 0x3c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x3c)" (( "(") (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (identifier "FUN_00073590")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar2 + 0x3c))(piVar2);" (call_expression "(**(code **)(*piVar2 + 0x3c))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 0x3c))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x3c)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x3c)" (* "*") (cast_expression "(code **)(*piVar2 + 0x3c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x3c)" (( "(") (binary_expression "*piVar2 + 0x3c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x3c")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void reset_address_and_file_offset(Input_section * this) */

void __thiscall
gold::Output_section::type_1::function_1(type_1 *this)

{
  type_2 var_3;
  int *var_2;
  int var_1;
  
  var_2 = *(int **)(var_1 + 0x10);
  var_3 = *(type_2 *)(var_2 + 7);
  *(type_2 *)(var_2 + 7) = var_3 & 0xfa;
  if ((var_3 & 8) == 0) {
    *(type_2 *)(var_2 + 7) = var_3 & 0xf8;
  }
  if (*(type_3 **)(*var_2 + 0x3c) == var_4::do_reset_address_and_file_offset) {
    return;
  }
  (**(type_3 **)(*var_2 + 0x3c))(var_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (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)))) (return_statement))))

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

void __regparm3 MASKED(int param_1)

{
  byte bVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x10);
  bVar1 = *(byte *)(piVar2 + 7);
  *(byte *)(piVar2 + 7) = bVar1 & 0xfa;
  if ((bVar1 & 8) == 0) {
    *(byte *)(piVar2 + 7) = bVar1 & 0xf8;
  }
  if (*(code **)(*piVar2 + 0x3c) == FUN_00073590) {
    return;
  }
  (**(code **)(*piVar2 + 0x3c))(piVar2);
  return;
}

