
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* 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;
  Relobj *pRVar2;
  _func_int_varargs *UNRECOVERED_JUMPTABLE;
  
  pRVar2 = (this->u2_).object;
  bVar1 = *(byte *)&(pRVar2->super_Object).offset_;
  *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f;
  if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {
    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;
  }
  UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf];
  if (UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*UNRECOVERED_JUMPTABLE)();
  return;
}



void FUN_002134dc(int param_1)

{
  byte bVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x10);
  bVar1 = *(byte *)(piVar2 + 8);
  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;
  if (-1 < piVar2[8] << 3) {
    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;
  }
  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*piVar2 + 0x3c))();
  return;
}


lui gp,0x2b
addiu gp,gp,0x5d64
addu gp,gp,t9
lw a0,0x10(a0)
lbu v0,0x20(a0)
andi v0,v0,0x5f
sb v0,0x20(a0)
lw v1,0x20(a0)
ext v1,v1,0x1c,0x1
bne v1,zero,0x0021350c
_ins v0,zero,0x6,0x1
sb v0,0x20(a0)
lw v1,0x0(a0)
lw v0,-0x5338(gp)
lw t9,0x3c(v1)
bne t9,v0,0x00213528
_nop
jr ra
_nop
jr t9
_nop
(translation_unit "void FUN_002134dc(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*piVar2 + 0x3c))();\n  return;\n}\n\n" (function_definition "void FUN_002134dc(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*piVar2 + 0x3c))();\n  return;\n}" primitive_type (function_declarator "FUN_002134dc(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 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*piVar2 + 0x3c))();\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 + 8);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 8)" identifier = (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x5f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x5f" (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (binary_expression "bVar1 & 0x5f" identifier & number_literal)) ;) (if_statement "if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" if (parenthesized_expression "(-1 < piVar2[8] << 3)" ( (binary_expression "-1 < piVar2[8] << 3" number_literal < (binary_expression "piVar2[8] << 3" (subscript_expression "piVar2[8]" identifier [ number_literal ]) << number_literal)) )) (compound_statement "{\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" { (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x1f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x1f" (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (binary_expression "bVar1 & 0x1f" identifier & number_literal)) ;) })) (if_statement "if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08)" ( (binary_expression "*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08" (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) )))) == (cast_expression "(code *)PTR_do_reset_address_and_file_offset_004c3f08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(*piVar2 + 0x3c))();" (call_expression "(**(code **)(*piVar2 + 0x3c))()" (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 "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\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  Relobj *pRVar2;\n  _func_int_varargs *UNRECOVERED_JUMPTABLE;\n  \n  pRVar2 = (this->u2_).object;\n  bVar1 = *(byte *)&(pRVar2->super_Object).offset_;\n  *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f;\n  if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {\n    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;\n  }\n  UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf];\n  if (UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*UNRECOVERED_JUMPTABLE)();\n  return;\n}\n\n" comment 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  Relobj *pRVar2;\n  _func_int_varargs *UNRECOVERED_JUMPTABLE;\n  \n  pRVar2 = (this->u2_).object;\n  bVar1 = *(byte *)&(pRVar2->super_Object).offset_;\n  *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f;\n  if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {\n    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;\n  }\n  UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf];\n  if (UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*UNRECOVERED_JUMPTABLE)();\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  Relobj *pRVar2;\n  _func_int_varargs *UNRECOVERED_JUMPTABLE;\n  \n  pRVar2 = (this->u2_).object;\n  bVar1 = *(byte *)&(pRVar2->super_Object).offset_;\n  *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f;\n  if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {\n    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;\n  }\n  UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf];\n  if (UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*UNRECOVERED_JUMPTABLE)();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "Relobj *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (declaration "_func_int_varargs *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "pRVar2 = (this->u2_).object;" (assignment_expression "pRVar2 = (this->u2_).object" identifier = (field_expression "(this->u2_).object" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "bVar1 = *(byte *)&(pRVar2->super_Object).offset_;" (assignment_expression "bVar1 = *(byte *)&(pRVar2->super_Object).offset_" identifier = (pointer_expression "*(byte *)&(pRVar2->super_Object).offset_" * (cast_expression "(byte *)&(pRVar2->super_Object).offset_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).offset_" & (field_expression "(pRVar2->super_Object).offset_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier))))) ;) (expression_statement "*(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f;" (assignment_expression "*(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x5f" (pointer_expression "*(byte *)&(pRVar2->super_Object).offset_" * (cast_expression "(byte *)&(pRVar2->super_Object).offset_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).offset_" & (field_expression "(pRVar2->super_Object).offset_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier)))) = (binary_expression "bVar1 & 0x5f" identifier & number_literal)) ;) (if_statement "if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {\n    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;\n  }" if (parenthesized_expression "(-1 < *(int *)&(pRVar2->super_Object).offset_ << 3)" ( (binary_expression "-1 < *(int *)&(pRVar2->super_Object).offset_ << 3" number_literal < (binary_expression "*(int *)&(pRVar2->super_Object).offset_ << 3" (pointer_expression "*(int *)&(pRVar2->super_Object).offset_" * (cast_expression "(int *)&(pRVar2->super_Object).offset_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).offset_" & (field_expression "(pRVar2->super_Object).offset_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier)))) << number_literal)) )) (compound_statement "{\n    *(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;\n  }" { (expression_statement "*(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f;" (assignment_expression "*(byte *)&(pRVar2->super_Object).offset_ = bVar1 & 0x1f" (pointer_expression "*(byte *)&(pRVar2->super_Object).offset_" * (cast_expression "(byte *)&(pRVar2->super_Object).offset_" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRVar2->super_Object).offset_" & (field_expression "(pRVar2->super_Object).offset_" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier)))) = (binary_expression "bVar1 & 0x1f" identifier & number_literal)) ;) })) (expression_statement "UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf];" (assignment_expression "UNRECOVERED_JUMPTABLE = (pRVar2->super_Object)._vptr_Object[0xf]" identifier = (subscript_expression "(pRVar2->super_Object)._vptr_Object[0xf]" (field_expression "(pRVar2->super_Object)._vptr_Object" (parenthesized_expression "(pRVar2->super_Object)" ( (field_expression "pRVar2->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }" if (parenthesized_expression "(UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08)" ( (binary_expression "UNRECOVERED_JUMPTABLE == (_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08" identifier == (cast_expression "(_func_int_varargs *)PTR_do_reset_address_and_file_offset_004c3f08" ( (type_descriptor "_func_int_varargs *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE)();" (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002134dc(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*piVar2 + 0x3c))();\n  return;\n}\n\n" (function_definition "void FUN_002134dc(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*piVar2 + 0x3c))();\n  return;\n}" primitive_type (function_declarator "FUN_002134dc(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 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*piVar2 + 0x3c))();\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 + 8);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 8)" identifier = (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x5f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x5f" (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (binary_expression "bVar1 & 0x5f" identifier & number_literal)) ;) (if_statement "if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" if (parenthesized_expression "(-1 < piVar2[8] << 3)" ( (binary_expression "-1 < piVar2[8] << 3" number_literal < (binary_expression "piVar2[8] << 3" (subscript_expression "piVar2[8]" identifier [ number_literal ]) << number_literal)) )) (compound_statement "{\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" { (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x1f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x1f" (pointer_expression "*(byte *)(piVar2 + 8)" * (cast_expression "(byte *)(piVar2 + 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 8)" ( (binary_expression "piVar2 + 8" identifier + number_literal) )))) = (binary_expression "bVar1 & 0x1f" identifier & number_literal)) ;) })) (if_statement "if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08)" ( (binary_expression "*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08" (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) )))) == (cast_expression "(code *)PTR_do_reset_address_and_file_offset_004c3f08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*piVar2 + 0x3c))();" (call_expression "(**(code **)(*piVar2 + 0x3c))()" (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 "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (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 LIT < (binary_expression (subscript_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) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002134dc(int param_1)\n\n{\n  byte bVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x10);\n  bVar1 = *(byte *)(piVar2 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*piVar2 + 0x3c))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002134dc(int param_1)" (identifier "FUN_002134dc") (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 + 8);\n  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;\n  if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }\n  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*piVar2 + 0x3c))();\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 + 8);" (assignment_expression "bVar1 = *(byte *)(piVar2 + 8)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(piVar2 + 8)" (* "*") (cast_expression "(byte *)(piVar2 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 8)" (( "(") (binary_expression "piVar2 + 8" (identifier "piVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x5f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x5f" (pointer_expression "*(byte *)(piVar2 + 8)" (* "*") (cast_expression "(byte *)(piVar2 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 8)" (( "(") (binary_expression "piVar2 + 8" (identifier "piVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "bVar1 & 0x5f" (identifier "bVar1") (& "&") (number_literal "0x5f"))) (; ";")) (if_statement "if (-1 < piVar2[8] << 3) {\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" (if "if") (parenthesized_expression "(-1 < piVar2[8] << 3)" (( "(") (binary_expression "-1 < piVar2[8] << 3" (number_literal "-1") (< "<") (binary_expression "piVar2[8] << 3" (subscript_expression "piVar2[8]" (identifier "piVar2") ([ "[") (number_literal "8") (] "]")) (<< "<<") (number_literal "3"))) () ")")) (compound_statement "{\n    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;\n  }" ({ "{") (expression_statement "*(byte *)(piVar2 + 8) = bVar1 & 0x1f;" (assignment_expression "*(byte *)(piVar2 + 8) = bVar1 & 0x1f" (pointer_expression "*(byte *)(piVar2 + 8)" (* "*") (cast_expression "(byte *)(piVar2 + 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 8)" (( "(") (binary_expression "piVar2 + 8" (identifier "piVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f"))) (; ";")) (} "}"))) (if_statement "if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08)" (( "(") (binary_expression "*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08" (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")) () ")")))) (== "==") (cast_expression "(code *)PTR_do_reset_address_and_file_offset_004c3f08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_reset_address_and_file_offset_004c3f08"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar2 + 0x3c))();" (call_expression "(**(code **)(*piVar2 + 0x3c))()" (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 "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* 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_1;
  type_3 *pRVar2;
  type_4 *var_2;
  
  pRVar2 = (this->u2_).object;
  var_1 = *(type_2 *)&(pRVar2->super_Object).offset_;
  *(type_2 *)&(pRVar2->super_Object).offset_ = var_1 & 0x5f;
  if (-1 < *(int *)&(pRVar2->super_Object).offset_ << 3) {
    *(type_2 *)&(pRVar2->super_Object).offset_ = var_1 & 0x1f;
  }
  var_2 = (pRVar2->super_Object)._vptr_Object[0xf];
  if (var_2 == (type_4 *)PTR_do_reset_address_and_file_offset_004c3f08) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*var_2)();
  return;
}


(translation_unit (function_definition type: (primitive_type) 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: (number_literal) right: (binary_expression left: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))) (return_statement))))

void MASKED(int param_1)

{
  byte bVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x10);
  bVar1 = *(byte *)(piVar2 + 8);
  *(byte *)(piVar2 + 8) = bVar1 & 0x5f;
  if (-1 < piVar2[8] << 3) {
    *(byte *)(piVar2 + 8) = bVar1 & 0x1f;
  }
  if (*(code **)(*piVar2 + 0x3c) == (code *)PTR_do_reset_address_and_file_offset_004c3f08) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00213528. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*piVar2 + 0x3c))();
  return;
}

