
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */

void d_count_templates_scopes(int *num_templates,int *num_scopes,demangle_component *dc)

{
  if (dc == (demangle_component *)0x0) {
    return;
  }
  if (dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)) {
                    /* WARNING: Could not emulate address calculation at 0x0031a920 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +
              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();
    return;
  }
  return;
}



void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)

{
  if (param_3 == (uint *)0x0) {
    return;
  }
  if (*param_3 < 0x50) {
                    /* WARNING: Could not emulate address calculation at 0x0031a920 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(gold::Position_dependent_options::default_options_ +
              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();
    return;
  }
  return;
}


lui gp,0x1b
addiu gp,gp,-0x1678
addu gp,gp,t9
beq a2,zero,0x0031a9bc
_nop
addiu sp,sp,-0x38
sw s3,0x28(sp)
sw s1,0x20(sp)
sw s2,0x24(sp)
li s2,0x5
sw s5,0x30(sp)
or s5,a1,zero
sw s4,0x2c(sp)
or s4,a0,zero
sw s0,0x1c(sp)
or s0,a2,zero
sw gp,0x10(sp)
sw ra,0x34(sp)
lw s3,-0x7f64(gp)
lw s1,-0x41f8(gp)
addiu s3,s3,-0x6320
addiu s1,s1,-0x5748
lw v0,0x0(s0)
sltiu v1,v0,0x50
beq v1,zero,0x0031a940
_sll v0,v0,0x2
addu v0,s3,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw s0,0xc(s0)
bne s0,zero,0x0031a910
_nop
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
b 0x0031a938
_lw s0,0x8(s0)
lw a2,0x8(s0)
lw v0,0x0(a2)
bne v0,s2,0x0031a990
_or a1,s5,zero
lw v0,0x0(s5)
addiu v0,v0,0x1
sw v0,0x0(s5)
lw a2,0x8(s0)
or a1,s5,zero
or t9,s1,zero
bal 0x0031a8b8
_or a0,s4,zero
lw gp,0x10(sp)
b 0x0031a938
_lw s0,0xc(s0)
lw v0,0x0(s4)
addiu v0,v0,0x1
sw v0,0x0(s4)
b 0x0031a98c
_lw a2,0x8(s0)
jr ra
_nop
(translation_unit "void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)\n\n{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)\n\n{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_3 == (uint *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == (uint *)0x0)" ( (binary_expression "param_3 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*param_3 < 0x50) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" if (parenthesized_expression "(*param_3 < 0x50)" ( (binary_expression "*param_3 < 0x50" (pointer_expression "*param_3" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();" (call_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))()" (parenthesized_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))" ( (pointer_expression "*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" * (cast_expression "(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" ( (ERROR "gold::Position_dependent_options::" identifier : : identifier : :) (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210" (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" identifier + (pointer_expression "*(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" * (cast_expression "(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" ( (binary_expression "PTR_UINT_004c12dc + *param_3 * 4 + -0x6320" (binary_expression "PTR_UINT_004c12dc + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) + number_literal) ))))) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n\nvoid d_count_templates_scopes(int *num_templates,int *num_scopes,demangle_component *dc)\n\n{\n  if (dc == (demangle_component *)0x0) {\n    return;\n  }\n  if (dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();\n    return;\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void d_count_templates_scopes(int *num_templates,int *num_scopes,demangle_component *dc)\n\n{\n  if (dc == (demangle_component *)0x0) {\n    return;\n  }\n  if (dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "d_count_templates_scopes(int *num_templates,int *num_scopes,demangle_component *dc)" identifier (parameter_list "(int *num_templates,int *num_scopes,demangle_component *dc)" ( (parameter_declaration "int *num_templates" primitive_type (pointer_declarator "*num_templates" * identifier)) , (parameter_declaration "int *num_scopes" primitive_type (pointer_declarator "*num_scopes" * identifier)) , (parameter_declaration "demangle_component *dc" type_identifier (pointer_declarator "*dc" * identifier)) ))) (compound_statement "{\n  if (dc == (demangle_component *)0x0) {\n    return;\n  }\n  if (dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();\n    return;\n  }\n  return;\n}" { (if_statement "if (dc == (demangle_component *)0x0) {\n    return;\n  }" if (parenthesized_expression "(dc == (demangle_component *)0x0)" ( (binary_expression "dc == (demangle_component *)0x0" identifier == (cast_expression "(demangle_component *)0x0" ( (type_descriptor "demangle_component *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)) {\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();\n    return;\n  }" if (parenthesized_expression "(dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK))" ( (binary_expression "dc->type < (DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)" (field_expression "dc->type" identifier -> field_identifier) < (parenthesized_expression "(DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK)" ( (binary_expression "DEMANGLE_COMPONENT_CHARACTER|DEMANGLE_COMPONENT_VIRTUAL_THUNK" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0031a920 */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))();" (call_expression "(*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))()" (parenthesized_expression "(*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)))" ( (pointer_expression "*(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320))" * (cast_expression "(code *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320))" ( (ERROR "&gold::Position_dependent_options::" (pointer_expression "&gold" & identifier) : : identifier : :) (binary_expression "default_options_.relax_.user_set_via_option +\n              *(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)" (field_expression "default_options_.relax_.user_set_via_option" (field_expression "default_options_.relax_" identifier . field_identifier) . field_identifier) + (pointer_expression "*(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)" * (cast_expression "(int *)(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_004c12dc + dc->type * 4 + -0x6320)" ( (binary_expression "PTR_UINT_004c12dc + dc->type * 4 + -0x6320" (binary_expression "PTR_UINT_004c12dc + dc->type * 4" identifier + (binary_expression "dc->type * 4" (field_expression "dc->type" identifier -> field_identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)\n\n{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)\n\n{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_3 == (uint *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == (uint *)0x0)" ( (binary_expression "param_3 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" if (parenthesized_expression "(*param_3 < 0x50)" ( (binary_expression "*param_3 < 0x50" (pointer_expression "*param_3" * identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" { (expression_statement "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();" (call_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))()" (parenthesized_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))" ( (pointer_expression "*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" * (cast_expression "(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" ( (ERROR "gold::Position_dependent_options::" identifier : : identifier : :) (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210" (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" identifier + (pointer_expression "*(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" * (cast_expression "(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" ( (binary_expression "PTR_UINT_004c12dc + *param_3 * 4 + -0x6320" (binary_expression "PTR_UINT_004c12dc + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) + number_literal) ))))) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (ERROR IDENT : : IDENT : :) (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) + LIT) )))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)\n\n{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0031a8b8(undefined4 param_1,undefined4 param_2,uint *param_3)" (identifier "FUN_0031a8b8") (parameter_list "(undefined4 param_1,undefined4 param_2,uint *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  if (param_3 == (uint *)0x0) {\n    return;\n  }\n  if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (param_3 == (uint *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == (uint *)0x0)" (( "(") (binary_expression "param_3 == (uint *)0x0" (identifier "param_3") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*param_3 < 0x50) {\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" (if "if") (parenthesized_expression "(*param_3 < 0x50)" (( "(") (binary_expression "*param_3 < 0x50" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (< "<") (number_literal "0x50")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();" (call_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))()" (parenthesized_expression "(*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))" (( "(") (pointer_expression "*(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" (* "*") (cast_expression "(code *)(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(gold::Position_dependent_options::default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210)" (( "(") (ERROR "gold::Position_dependent_options::" (identifier "gold") (: ":") (: ":") (identifier "Position_dependent_options") (: ":") (: ":")) (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210" (binary_expression "default_options_ +\n              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" (identifier "default_options_") (+ "+") (pointer_expression "*(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" (* "*") (cast_expression "(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320)" (( "(") (binary_expression "PTR_UINT_004c12dc + *param_3 * 4 + -0x6320" (binary_expression "PTR_UINT_004c12dc + *param_3 * 4" (identifier "PTR_UINT_004c12dc") (+ "+") (binary_expression "*param_3 * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x6320")) () ")"))))) (+ "+") (number_literal "0x3210")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */

void function_1(int *num_templates,int *num_scopes,type_1 *var_1)

{
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  if (var_1->type < (var_2|var_3)) {
                    /* WARNING: Could not emulate address calculation at 0x0031a920 */
                    /* WARNING: Treating indirect jump as call */
    (*(type_2 *)(&gold::Position_dependent_options::default_options_.relax_.user_set_via_option +
              *(int *)(var_4 + var_1->type * 4 + -0x6320)))();
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) 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: (parenthesized_expression (ERROR (identifier) (identifier)) (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)))))) right: (number_literal)))))) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2,uint *param_3)

{
  if (param_3 == (uint *)0x0) {
    return;
  }
  if (*param_3 < 0x50) {
                    /* WARNING: Could not emulate address calculation at 0x0031a920 */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(gold::Position_dependent_options::default_options_ +
              *(int *)(PTR_UINT_004c12dc + *param_3 * 4 + -0x6320) + 0x3210))();
    return;
  }
  return;
}

