
/* 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_" */

Expression * script_exp_function_origin(void *closurev,char *name,size_t namelen)

{
  Expression *pEVar1;
  undefined4 uVar2;
  Parser_closure *closure;
  
  pEVar1 = gold::Script_sections::find_memory_region_origin
                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);
  if (pEVar1 != (Expression *)0x0) {
    return pEVar1;
  }
  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84);
  (*(code *)PTR_gold_error_00432d84)(uVar2,name);
                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0);
  return pEVar1;
}



void script_exp_function_origin(int param_1,char *param_2,uint param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = gold::Script_sections::find_memory_region_origin
                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);
  if (iVar1 != 0) {
    return;
  }
  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);
  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);
                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_script_exp_integer_00433610)(0,0);
  return;
}


lui gp,0x22
addiu gp,gp,-0x4124
addu gp,gp,t9
lw a0,0x20(a0)
addiu sp,sp,-0x20
lw t9,-0x6bc4(gp)
addiu a0,a0,0xac
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
bal 0x0020be58
_or s0,a1,zero
beq v0,zero,0x0021e33c
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a0,-0x7f64(gp)
lw t9,-0x39b8(gp)
jalr t9
_addiu a0,a0,-0x4a84
or a1,s0,zero
lw gp,0x10(sp)
lw t9,-0x744c(gp)
jalr t9
_or a0,v0,zero
or a1,zero,zero
lw gp,0x10(sp)
or a0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x6bc0(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void script_exp_function_origin(int param_1,char *param_2,uint param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}\n\n" (function_definition "void script_exp_function_origin(int param_1,char *param_2,uint param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" primitive_type (function_declarator "script_exp_function_origin(int param_1,char *param_2,uint param_3)" identifier (parameter_list "(int param_1,char *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" (call_expression "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" identifier (argument_list "((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" ( (cast_expression "(Script_sections *)(*(int *)(param_1 + 0x20) + 0xac)" ( (type_descriptor "Script_sections *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x20) + 0xac)" ( (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) ))) , identifier , identifier ))) ;)) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x4a84)" ( (binary_expression "PTR_DAT_0043226c + -0x4a84" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2);" (call_expression "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2)" (parenthesized_expression "(*(code *)PTR_gold_error_00432d84)" ( (pointer_expression "*(code *)PTR_gold_error_00432d84" * (cast_expression "(code *)PTR_gold_error_00432d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) comment comment (expression_statement "(*(code *)PTR_script_exp_integer_00433610)(0,0);" (call_expression "(*(code *)PTR_script_exp_integer_00433610)(0,0)" (parenthesized_expression "(*(code *)PTR_script_exp_integer_00433610)" ( (pointer_expression "*(code *)PTR_script_exp_integer_00433610" * (cast_expression "(code *)PTR_script_exp_integer_00433610" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (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\nExpression * script_exp_function_origin(void *closurev,char *name,size_t namelen)\n\n{\n  Expression *pEVar1;\n  undefined4 uVar2;\n  Parser_closure *closure;\n  \n  pEVar1 = gold::Script_sections::find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);\n  if (pEVar1 != (Expression *)0x0) {\n    return pEVar1;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,name);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return pEVar1;\n}\n\n" comment comment comment comment comment comment (function_definition "Expression * script_exp_function_origin(void *closurev,char *name,size_t namelen)\n\n{\n  Expression *pEVar1;\n  undefined4 uVar2;\n  Parser_closure *closure;\n  \n  pEVar1 = gold::Script_sections::find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);\n  if (pEVar1 != (Expression *)0x0) {\n    return pEVar1;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,name);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return pEVar1;\n}" type_identifier (pointer_declarator "* script_exp_function_origin(void *closurev,char *name,size_t namelen)" * (function_declarator "script_exp_function_origin(void *closurev,char *name,size_t namelen)" identifier (parameter_list "(void *closurev,char *name,size_t namelen)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) )))) (compound_statement "{\n  Expression *pEVar1;\n  undefined4 uVar2;\n  Parser_closure *closure;\n  \n  pEVar1 = gold::Script_sections::find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);\n  if (pEVar1 != (Expression *)0x0) {\n    return pEVar1;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,name);\n                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return pEVar1;\n}" { (declaration "Expression *pEVar1;" type_identifier (pointer_declarator "*pEVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "Parser_closure *closure;" type_identifier (pointer_declarator "*closure" * identifier) ;) (ERROR "pEVar1 = gold::" (assignment_expression "pEVar1 = gold" identifier = identifier) : :) (labeled_statement "Script_sections::find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);" statement_identifier : (ERROR ":" :) (expression_statement "find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);" (call_expression "find_memory_region_origin\n                     ((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen)" identifier (argument_list "((Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen)" ( (cast_expression "(Script_sections *)(*(int *)((int)closurev + 0x20) + 0xac)" ( (type_descriptor "Script_sections *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)closurev + 0x20) + 0xac)" ( (binary_expression "*(int *)((int)closurev + 0x20) + 0xac" (pointer_expression "*(int *)((int)closurev + 0x20)" * (cast_expression "(int *)((int)closurev + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x20)" ( (binary_expression "(int)closurev + 0x20" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) ))) , identifier , identifier ))) ;)) (if_statement "if (pEVar1 != (Expression *)0x0) {\n    return pEVar1;\n  }" if (parenthesized_expression "(pEVar1 != (Expression *)0x0)" ( (binary_expression "pEVar1 != (Expression *)0x0" identifier != (cast_expression "(Expression *)0x0" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return pEVar1;\n  }" { (return_statement "return pEVar1;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_s__0043226c + -0x4a84)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__0043226c + -0x4a84)" ( (binary_expression "PTR_s__0043226c + -0x4a84" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_error_00432d84)(uVar2,name);" (call_expression "(*(code *)PTR_gold_error_00432d84)(uVar2,name)" (parenthesized_expression "(*(code *)PTR_gold_error_00432d84)" ( (pointer_expression "*(code *)PTR_gold_error_00432d84" * (cast_expression "(code *)PTR_gold_error_00432d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,name)" ( identifier , identifier ))) ;) comment comment (expression_statement "pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0);" (assignment_expression "pEVar1 = (Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0)" identifier = (cast_expression "(Expression *)(*(code *)PTR_script_exp_integer_00433610)(0,0)" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_script_exp_integer_00433610)(0,0)" (parenthesized_expression "(*(code *)PTR_script_exp_integer_00433610)" ( (pointer_expression "*(code *)PTR_script_exp_integer_00433610" * (cast_expression "(code *)PTR_script_exp_integer_00433610" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0)" ( number_literal , number_literal ))))) ;) (return_statement "return pEVar1;" return identifier ;) })))
(translation_unit "void script_exp_function_origin(int param_1,char *param_2,uint param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    \n                    \n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}\n\n" (function_definition "void script_exp_function_origin(int param_1,char *param_2,uint param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    \n                    \n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" primitive_type (function_declarator "script_exp_function_origin(int param_1,char *param_2,uint param_3)" identifier (parameter_list "(int param_1,char *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    \n                    \n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" identifier = identifier) : :) (labeled_statement "Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" (call_expression "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" identifier (argument_list "((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" ( (cast_expression "(Script_sections *)(*(int *)(param_1 + 0x20) + 0xac)" ( (type_descriptor "Script_sections *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x20) + 0xac)" ( (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) + number_literal) ))) , identifier , identifier ))) ;)) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x4a84)" ( (binary_expression "PTR_DAT_0043226c + -0x4a84" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2);" (call_expression "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2)" (parenthesized_expression "(*(code *)PTR_gold_error_00432d84)" ( (pointer_expression "*(code *)PTR_gold_error_00432d84" * (cast_expression "(code *)PTR_gold_error_00432d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_script_exp_integer_00433610)(0,0);" (call_expression "(*(code *)PTR_script_exp_integer_00433610)(0,0)" (parenthesized_expression "(*(code *)PTR_script_exp_integer_00433610)" ( (pointer_expression "*(code *)PTR_script_exp_integer_00433610" * (cast_expression "(code *)PTR_script_exp_integer_00433610" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) , IDENT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void script_exp_function_origin(int param_1,char *param_2,uint param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    \n                    \n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" (primitive_type "void") (function_declarator "script_exp_function_origin(int param_1,char *param_2,uint param_3)" (identifier "script_exp_function_origin") (parameter_list "(int param_1,char *param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = gold::Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);\n  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);\n                    \n                    \n  (*(code *)PTR_script_exp_integer_00433610)(0,0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (ERROR "iVar1 = gold::" (assignment_expression "iVar1 = gold" (identifier "iVar1") (= "=") (identifier "gold")) (: ":") (: ":")) (labeled_statement "Script_sections::find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" (statement_identifier "Script_sections") (: ":") (ERROR ":" (: ":")) (expression_statement "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);" (call_expression "find_memory_region_origin\n                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" (identifier "find_memory_region_origin") (argument_list "((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3)" (( "(") (cast_expression "(Script_sections *)(*(int *)(param_1 + 0x20) + 0xac)" (( "(") (type_descriptor "Script_sections *" (type_identifier "Script_sections") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x20) + 0xac)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) + 0xac" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0xac")) () ")"))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";"))) (if_statement "if (iVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" (( "(") (pointer_expression "*(code *)PTR_gettext_00436818" (* "*") (cast_expression "(code *)PTR_gettext_00436818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_00436818"))) () ")")) (argument_list "(PTR_DAT_0043226c + -0x4a84)" (( "(") (binary_expression "PTR_DAT_0043226c + -0x4a84" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x4a84")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2);" (call_expression "(*(code *)PTR_gold_error_00432d84)(uVar2,param_2)" (parenthesized_expression "(*(code *)PTR_gold_error_00432d84)" (( "(") (pointer_expression "*(code *)PTR_gold_error_00432d84" (* "*") (cast_expression "(code *)PTR_gold_error_00432d84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gold_error_00432d84"))) () ")")) (argument_list "(uVar2,param_2)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_script_exp_integer_00433610)(0,0);" (call_expression "(*(code *)PTR_script_exp_integer_00433610)(0,0)" (parenthesized_expression "(*(code *)PTR_script_exp_integer_00433610)" (( "(") (pointer_expression "*(code *)PTR_script_exp_integer_00433610" (* "*") (cast_expression "(code *)PTR_script_exp_integer_00433610" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_script_exp_integer_00433610"))) () ")")) (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (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_" */

type_1 * function_1(void *closurev,char *name,size_t namelen)

{
  type_1 *var_2;
  type_2 uVar2;
  type_3 *closure;
  
  var_2 = gold::Script_sections::var_1
                     ((type_4 *)(*(int *)((int)closurev + 0x20) + 0xac),name,namelen);
  if (var_2 != (type_1 *)0x0) {
    return var_2;
  }
  uVar2 = (*(type_5 *)PTR_gettext_00436818)(var_3 + -0x4a84);
  (*(type_5 *)PTR_gold_error_00432d84)(uVar2,name);
                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  var_2 = (type_1 *)(*(type_5 *)PTR_script_exp_integer_00433610)(0,0);
  return var_2;
}


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

void MASKED(int param_1,char *param_2,uint param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = gold::Script_sections::find_memory_region_origin
                    ((Script_sections *)(*(int *)(param_1 + 0x20) + 0xac),param_2,param_3);
  if (iVar1 != 0) {
    return;
  }
  uVar2 = (*(code *)PTR_gettext_00436818)(PTR_DAT_0043226c + -0x4a84);
  (*(code *)PTR_gold_error_00432d84)(uVar2,param_2);
                    /* WARNING: Could not recover jumptable at 0x0021e378. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_script_exp_integer_00433610)(0,0);
  return;
}

