
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* DWARF original prototype: void reserve_local(Output_data_got<64,_true> * this, uint i, Relobj *
   object, uint sym_index, uint got_type) */

void __thiscall
gold::Output_data_got<64,_true>::reserve_local
          (Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)

{
  _func_int_varargs *p_Var1;
  
  p_Var1 = (this->super_Output_data_got_base).super_Output_section_data_build.
           super_Output_section_data.super_Output_data._vptr_Output_data[0x19];
  if (p_Var1 == (_func_int_varargs *)PTR_do_reserve_slot_004c41ec) {
    (*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3);
  }
  else {
    (*p_Var1)();
  }
  (*(object->super_Object)._vptr_Object[0x2d])(object,sym_index,got_type,i << 3,0,0);
  return;
}



void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {
    (*(code *)PTR_remove_004c1f38)
              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);
  }
  else {
    (**(code **)(*param_1 + 100))();
  }
  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);
  return;
}


lui gp,0x2a
addiu gp,gp,-0x5d40
addu gp,gp,t9
lw t0,0x0(a0)
addiu sp,sp,-0x30
lw v0,-0x5054(gp)
sw gp,0x18(sp)
sw s2,0x28(sp)
or s2,a3,zero
sw s1,0x24(sp)
or s1,a1,zero
sw s0,0x20(sp)
sw ra,0x2c(sp)
lw t9,0x64(t0)
bne t9,v0,0x0022f02c
_or s0,a2,zero
sll a3,a1,0x6
lw t9,-0x7308(gp)
or a2,zero,zero
sw zero,0x10(sp)
addiu v0,a3,0x40
addiu a0,a0,0x40
srl v0,v0,0x3
srl a3,a3,0x3
jalr t9
_sw v0,0x14(sp)
or v1,zero,zero
lw a2,0x40(sp)
or v0,zero,zero
sw v1,0x14(sp)
sll a3,s1,0x3
sw v0,0x10(sp)
or a1,s2,zero
lw v0,0x0(s0)
lw t9,0xb4(v0)
jalr t9
_or a0,s0,zero
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
jalr t9
_nop
b 0x0022efec
_or v1,zero,zero
(translation_unit "void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}\n\n" (function_definition "void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" primitive_type (function_declarator "FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec)" ( (binary_expression "*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec" (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_do_reserve_slot_004c41ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }" { (expression_statement "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);" (call_expression "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" (parenthesized_expression "(*(code *)PTR_remove_004c1f38)" ( (pointer_expression "*(code *)PTR_remove_004c1f38" * (cast_expression "(code *)PTR_remove_004c1f38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) , identifier , number_literal , (binary_expression "(uint)(param_2 * 0x40) >> 3" (call_expression "(uint)(param_2 * 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 * 0x40)" ( (binary_expression "param_2 * 0x40" identifier * number_literal) ))) >> number_literal) , number_literal , (binary_expression "param_2 * 0x40 + 0x40U >> 3" (binary_expression "param_2 * 0x40 + 0x40U" (binary_expression "param_2 * 0x40" identifier * number_literal) + number_literal) >> number_literal) ))) ;) }) (else_clause "else {\n    (**(code **)(*param_1 + 100))();\n  }" else (compound_statement "{\n    (**(code **)(*param_1 + 100))();\n  }" { (expression_statement "(**(code **)(*param_1 + 100))();" (call_expression "(**(code **)(*param_1 + 100))()" (parenthesized_expression "(**(code **)(*param_1 + 100))" ( (pointer_expression "**(code **)(*param_1 + 100)" * (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);" (call_expression "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0)" (parenthesized_expression "(**(code **)(*param_3 + 0xb4))" ( (pointer_expression "**(code **)(*param_3 + 0xb4)" * (pointer_expression "*(code **)(*param_3 + 0xb4)" * (cast_expression "(code **)(*param_3 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0xb4)" ( (binary_expression "*param_3 + 0xb4" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,param_4,param_5,param_2 << 3,0,0)" ( identifier , identifier , identifier , (binary_expression "param_2 << 3" identifier << number_literal) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* DWARF original prototype: void reserve_local(Output_data_got<64,_true> * this, uint i, Relobj *\n   object, uint sym_index, uint got_type) */\n\nvoid __thiscall\ngold::Output_data_got<64,_true>::reserve_local\n          (Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)\n\n{\n  _func_int_varargs *p_Var1;\n  \n  p_Var1 = (this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data._vptr_Output_data[0x19];\n  if (p_Var1 == (_func_int_varargs *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3);\n  }\n  else {\n    (*p_Var1)();\n  }\n  (*(object->super_Object)._vptr_Object[0x2d])(object,sym_index,got_type,i << 3,0,0);\n  return;\n}\n\n" comment comment comment comment (declaration "void __thiscall\ngold::Output_data_got<64,_true>::reserve_local\n          (Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)\n\n{\n  _func_int_varargs *p_Var1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::reserve_local\n          (Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)\n\n{\n  _func_int_varargs" identifier > : : (function_declarator "reserve_local\n          (Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)" identifier (parameter_list "(Output_data_got<64,_true> *this,uint i,Relobj *object,uint sym_index,uint got_type)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint i" type_identifier identifier) , (parameter_declaration "Relobj *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint sym_index" type_identifier identifier) , (parameter_declaration "uint got_type" type_identifier identifier) ))) { identifier) (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "p_Var1 = (this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data._vptr_Output_data[0x19];" (assignment_expression "p_Var1 = (this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data._vptr_Output_data[0x19]" identifier = (subscript_expression "(this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data._vptr_Output_data[0x19]" (field_expression "(this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data._vptr_Output_data" (field_expression "(this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_data_got_base).super_Output_section_data_build.\n           super_Output_section_data" (field_expression "(this->super_Output_data_got_base).super_Output_section_data_build" (parenthesized_expression "(this->super_Output_data_got_base)" ( (field_expression "this->super_Output_data_got_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var1 == (_func_int_varargs *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3);\n  }\n  else {\n    (*p_Var1)();\n  }" if (parenthesized_expression "(p_Var1 == (_func_int_varargs *)PTR_do_reserve_slot_004c41ec)" ( (binary_expression "p_Var1 == (_func_int_varargs *)PTR_do_reserve_slot_004c41ec" identifier == (cast_expression "(_func_int_varargs *)PTR_do_reserve_slot_004c41ec" ( (type_descriptor "_func_int_varargs *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    (*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3);\n  }" { (expression_statement "(*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3);" (call_expression "(*(code *)PTR_remove_004c1f38)(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3)" (parenthesized_expression "(*(code *)PTR_remove_004c1f38)" ( (pointer_expression "*(code *)PTR_remove_004c1f38" * (cast_expression "(code *)PTR_remove_004c1f38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&this->free_list_,i,0,i * 0x40 >> 3,0,i * 0x40 + 0x40 >> 3)" ( (pointer_expression "&this->free_list_" & (field_expression "this->free_list_" identifier -> field_identifier)) , identifier , number_literal , (binary_expression "i * 0x40 >> 3" (binary_expression "i * 0x40" identifier * number_literal) >> number_literal) , number_literal , (binary_expression "i * 0x40 + 0x40 >> 3" (binary_expression "i * 0x40 + 0x40" (binary_expression "i * 0x40" identifier * number_literal) + number_literal) >> number_literal) ))) ;) }) (else_clause "else {\n    (*p_Var1)();\n  }" else (compound_statement "{\n    (*p_Var1)();\n  }" { (expression_statement "(*p_Var1)();" (call_expression "(*p_Var1)()" (parenthesized_expression "(*p_Var1)" ( (pointer_expression "*p_Var1" * identifier) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(*(object->super_Object)._vptr_Object[0x2d])(object,sym_index,got_type,i << 3,0,0);" (call_expression "(*(object->super_Object)._vptr_Object[0x2d])(object,sym_index,got_type,i << 3,0,0)" (parenthesized_expression "(*(object->super_Object)._vptr_Object[0x2d])" ( (pointer_expression "*(object->super_Object)._vptr_Object[0x2d]" * (subscript_expression "(object->super_Object)._vptr_Object[0x2d]" (field_expression "(object->super_Object)._vptr_Object" (parenthesized_expression "(object->super_Object)" ( (field_expression "object->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(object,sym_index,got_type,i << 3,0,0)" ( identifier , identifier , identifier , (binary_expression "i << 3" identifier << number_literal) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}\n\n" (function_definition "void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" primitive_type (function_declarator "FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec)" ( (binary_expression "*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec" (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_do_reserve_slot_004c41ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }" { (expression_statement "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);" (call_expression "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" (parenthesized_expression "(*(code *)PTR_remove_004c1f38)" ( (pointer_expression "*(code *)PTR_remove_004c1f38" * (cast_expression "(code *)PTR_remove_004c1f38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) , identifier , number_literal , (binary_expression "(uint)(param_2 * 0x40) >> 3" (call_expression "(uint)(param_2 * 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 * 0x40)" ( (binary_expression "param_2 * 0x40" identifier * number_literal) ))) >> number_literal) , number_literal , (binary_expression "param_2 * 0x40 + 0x40U >> 3" (binary_expression "param_2 * 0x40 + 0x40U" (binary_expression "param_2 * 0x40" identifier * number_literal) + number_literal) >> number_literal) ))) ;) }) (else_clause "else {\n    (**(code **)(*param_1 + 100))();\n  }" else (compound_statement "{\n    (**(code **)(*param_1 + 100))();\n  }" { (expression_statement "(**(code **)(*param_1 + 100))();" (call_expression "(**(code **)(*param_1 + 100))()" (parenthesized_expression "(**(code **)(*param_1 + 100))" ( (pointer_expression "**(code **)(*param_1 + 100)" * (pointer_expression "*(code **)(*param_1 + 100)" * (cast_expression "(code **)(*param_1 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 100)" ( (binary_expression "*param_1 + 100" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);" (call_expression "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0)" (parenthesized_expression "(**(code **)(*param_3 + 0xb4))" ( (pointer_expression "**(code **)(*param_3 + 0xb4)" * (pointer_expression "*(code **)(*param_3 + 0xb4)" * (cast_expression "(code **)(*param_3 + 0xb4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0xb4)" ( (binary_expression "*param_3 + 0xb4" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,param_4,param_5,param_2 << 3,0,0)" ( identifier , identifier , identifier , (binary_expression "param_2 << 3" identifier << number_literal) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) ))) >> LIT) , LIT , (binary_expression (binary_expression (binary_expression IDENT * LIT) + LIT) >> LIT) ))) ;) }) (else_clause else (compound_statement { (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 ( ))) ;) }))) (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 , IDENT , IDENT , (binary_expression IDENT << LIT) , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)\n\n{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0022ef80(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (identifier "FUN_0022ef80") (parameter_list "(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }\n  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);\n  return;\n}" ({ "{") (if_statement "if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }\n  else {\n    (**(code **)(*param_1 + 100))();\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec)" (( "(") (binary_expression "*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec" (pointer_expression "*(code **)(*param_1 + 100)" (* "*") (cast_expression "(code **)(*param_1 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 100)" (( "(") (binary_expression "*param_1 + 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "100")) () ")")))) (== "==") (cast_expression "(code *)PTR_do_reserve_slot_004c41ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_reserve_slot_004c41ec"))) () ")")) (compound_statement "{\n    (*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);\n  }" ({ "{") (expression_statement "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);" (call_expression "(*(code *)PTR_remove_004c1f38)\n              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" (parenthesized_expression "(*(code *)PTR_remove_004c1f38)" (( "(") (pointer_expression "*(code *)PTR_remove_004c1f38" (* "*") (cast_expression "(code *)PTR_remove_004c1f38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_remove_004c1f38"))) () ")")) (argument_list "(param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (binary_expression "(uint)(param_2 * 0x40) >> 3" (call_expression "(uint)(param_2 * 0x40)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 * 0x40)" (( "(") (binary_expression "param_2 * 0x40" (identifier "param_2") (* "*") (number_literal "0x40")) () ")"))) (>> ">>") (number_literal "3")) (, ",") (number_literal "0") (, ",") (binary_expression "param_2 * 0x40 + 0x40U >> 3" (binary_expression "param_2 * 0x40 + 0x40U" (binary_expression "param_2 * 0x40" (identifier "param_2") (* "*") (number_literal "0x40")) (+ "+") (number_literal "0x40U")) (>> ">>") (number_literal "3")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (**(code **)(*param_1 + 100))();\n  }" (else "else") (compound_statement "{\n    (**(code **)(*param_1 + 100))();\n  }" ({ "{") (expression_statement "(**(code **)(*param_1 + 100))();" (call_expression "(**(code **)(*param_1 + 100))()" (parenthesized_expression "(**(code **)(*param_1 + 100))" (( "(") (pointer_expression "**(code **)(*param_1 + 100)" (* "*") (pointer_expression "*(code **)(*param_1 + 100)" (* "*") (cast_expression "(code **)(*param_1 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 100)" (( "(") (binary_expression "*param_1 + 100" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "100")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);" (call_expression "(**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0)" (parenthesized_expression "(**(code **)(*param_3 + 0xb4))" (( "(") (pointer_expression "**(code **)(*param_3 + 0xb4)" (* "*") (pointer_expression "*(code **)(*param_3 + 0xb4)" (* "*") (cast_expression "(code **)(*param_3 + 0xb4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0xb4)" (( "(") (binary_expression "*param_3 + 0xb4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0xb4")) () ")"))))) () ")")) (argument_list "(param_3,param_4,param_5,param_2 << 3,0,0)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (binary_expression "param_2 << 3" (identifier "param_2") (<< "<<") (number_literal "3")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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 (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)) (number_literal) (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) right: (number_literal)))))) alternative: (else_clause (compound_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)))))) (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) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal)))) (return_statement))))

void MASKED(int *param_1,int param_2,int *param_3,undefined4 param_4,undefined4 param_5)

{
  if (*(code **)(*param_1 + 100) == (code *)PTR_do_reserve_slot_004c41ec) {
    (*(code *)PTR_remove_004c1f38)
              (param_1 + 0x10,param_2,0,(uint)(param_2 * 0x40) >> 3,0,param_2 * 0x40 + 0x40U >> 3);
  }
  else {
    (**(code **)(*param_1 + 100))();
  }
  (**(code **)(*param_3 + 0xb4))(param_3,param_4,param_5,param_2 << 3,0,0);
  return;
}

