
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Reloc_section * rela_dyn_section(Target_powerpc<32,_true> * this,
   Symbol_table * symtab, Layout * layout, bool for_ifunc) */

Reloc_section * __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::rela_dyn_section
          (Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)

{
  int in_EAX;
  Reloc_section *pRVar1;
  Layout *unaff_EBX;
  Target_powerpc<32,_true> *in_stack_fffffff4;
  Symbol_table *in_stack_fffffff8;
  
  if ((char)this == '\0') {
    pRVar1 = rela_dyn_section(this,(Layout *)symtab);
    return pRVar1;
  }
  if (*(int *)(in_EAX + 0x1c) != 0) {
    return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);
  }
  make_iplt_section(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX);
  return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);
}



undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)

{
  undefined4 uVar1;
  
  if (param_2 == '\0') {
    uVar1 = FUN_0005a350();
    return uVar1;
  }
  if (*(int *)(param_1 + 0x1c) != 0) {
    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);
  }
  FUN_0005bf80();
  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);
}


PUSH EBX
SUB ESP,0x8
CMP byte ptr [ESP + 0x10],0x0
JZ 0x0005c120
MOV EBX,dword ptr [EAX + 0x1c]
TEST EBX,EBX
JZ 0x0005c130
MOV EAX,dword ptr [EBX + 0x2c]
ADD ESP,0x8
POP EBX
RET
ADD ESP,0x8
ADD EAX,0x2c
MOV EDX,ECX
POP EBX
JMP 0x0005a350
MOV EBX,EAX
CALL 0x0005bf80
MOV EBX,dword ptr [EBX + 0x1c]
MOV EAX,dword ptr [EBX + 0x2c]
ADD ESP,0x8
POP EBX
RET
(translation_unit "undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}\n\n" (function_definition "undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_0005c100(int param_1,char param_2)" identifier (parameter_list "(int param_1,char param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 == '\0')" ( (binary_expression "param_2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0005a350();" (assignment_expression "uVar1 = FUN_0005a350()" identifier = (call_expression "FUN_0005a350()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" { (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) })) (expression_statement "FUN_0005bf80();" (call_expression "FUN_0005bf80()" identifier (argument_list "()" ( ))) ;) (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Reloc_section * rela_dyn_section(Target_powerpc<32,_true> * this,\n   Symbol_table * symtab, Layout * layout, bool for_ifunc) */\n\nReloc_section * __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::rela_dyn_section\n          (Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)\n\n{\n  int in_EAX;\n  Reloc_section *pRVar1;\n  Layout *unaff_EBX;\n  Target_powerpc<32,_true> *in_stack_fffffff4;\n  Symbol_table *in_stack_fffffff8;\n  \n  if ((char)this == '\0') {\n    pRVar1 = rela_dyn_section(this,(Layout *)symtab);\n    return pRVar1;\n  }\n  if (*(int *)(in_EAX + 0x1c) != 0) {\n    return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n  }\n  make_iplt_section(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX);\n  return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n}\n\n" comment comment (ERROR "Reloc_section * __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::rela_dyn_section\n          (Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)" (binary_expression "Reloc_section * __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32,_true>::rela_dyn_section\n          (Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)" (binary_expression "Reloc_section * __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<32" (binary_expression "Reloc_section * __thiscall\nanon_unknown.dwarf_2af53c" identifier * (ERROR "__thiscall" identifier) (field_expression "anon_unknown.dwarf_2af53c" identifier . field_identifier)) (ERROR "::Target_powerpc" : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) (call_expression "rela_dyn_section\n          (Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)" identifier (argument_list "(Target_powerpc<32,_true> *this,Symbol_table *symtab,Layout *layout,bool for_ifunc)" ( (binary_expression "Target_powerpc<32" identifier < number_literal) , (binary_expression "_true> *this" identifier > (pointer_expression "*this" * identifier)) , (binary_expression "Symbol_table *symtab" identifier * identifier) , (binary_expression "Layout *layout" identifier * identifier) , (ERROR "bool" identifier) identifier ))))) (compound_statement "{\n  int in_EAX;\n  Reloc_section *pRVar1;\n  Layout *unaff_EBX;\n  Target_powerpc<32,_true> *in_stack_fffffff4;\n  Symbol_table *in_stack_fffffff8;\n  \n  if ((char)this == '\0') {\n    pRVar1 = rela_dyn_section(this,(Layout *)symtab);\n    return pRVar1;\n  }\n  if (*(int *)(in_EAX + 0x1c) != 0) {\n    return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n  }\n  make_iplt_section(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX);\n  return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n}" { (declaration "int in_EAX;" primitive_type identifier ;) (declaration "Reloc_section *pRVar1;" type_identifier (pointer_declarator "*pRVar1" * identifier) ;) (declaration "Layout *unaff_EBX;" type_identifier (pointer_declarator "*unaff_EBX" * identifier) ;) (expression_statement "Target_powerpc<32,_true> *in_stack_fffffff4;" (comma_expression "Target_powerpc<32,_true> *in_stack_fffffff4" (binary_expression "Target_powerpc<32" identifier < number_literal) , (binary_expression "_true> *in_stack_fffffff4" identifier > (pointer_expression "*in_stack_fffffff4" * identifier))) ;) (declaration "Symbol_table *in_stack_fffffff8;" type_identifier (pointer_declarator "*in_stack_fffffff8" * identifier) ;) (if_statement "if ((char)this == '\0') {\n    pRVar1 = rela_dyn_section(this,(Layout *)symtab);\n    return pRVar1;\n  }" if (parenthesized_expression "((char)this == '\0')" ( (binary_expression "(char)this == '\0'" (cast_expression "(char)this" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pRVar1 = rela_dyn_section(this,(Layout *)symtab);\n    return pRVar1;\n  }" { (expression_statement "pRVar1 = rela_dyn_section(this,(Layout *)symtab);" (assignment_expression "pRVar1 = rela_dyn_section(this,(Layout *)symtab)" identifier = (call_expression "rela_dyn_section(this,(Layout *)symtab)" identifier (argument_list "(this,(Layout *)symtab)" ( identifier , (cast_expression "(Layout *)symtab" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (return_statement "return pRVar1;" return identifier ;) })) (if_statement "if (*(int *)(in_EAX + 0x1c) != 0) {\n    return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n  }" if (parenthesized_expression "(*(int *)(in_EAX + 0x1c) != 0)" ( (binary_expression "*(int *)(in_EAX + 0x1c) != 0" (pointer_expression "*(int *)(in_EAX + 0x1c)" * (cast_expression "(int *)(in_EAX + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 0x1c)" ( (binary_expression "in_EAX + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);\n  }" { (return_statement "return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);" return (pointer_expression "*(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c)" * (cast_expression "(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c)" ( (type_descriptor "Reloc_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(in_EAX + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(in_EAX + 0x1c) + 0x2c" (pointer_expression "*(int *)(in_EAX + 0x1c)" * (cast_expression "(int *)(in_EAX + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 0x1c)" ( (binary_expression "in_EAX + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) })) (expression_statement "make_iplt_section(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX);" (call_expression "make_iplt_section(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX)" identifier (argument_list "(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX)" ( identifier , identifier , identifier ))) ;) (return_statement "return *(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c);" return (pointer_expression "*(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c)" * (cast_expression "(Reloc_section **)(*(int *)(in_EAX + 0x1c) + 0x2c)" ( (type_descriptor "Reloc_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(in_EAX + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(in_EAX + 0x1c) + 0x2c" (pointer_expression "*(int *)(in_EAX + 0x1c)" * (cast_expression "(int *)(in_EAX + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_EAX + 0x1c)" ( (binary_expression "in_EAX + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) }))
(translation_unit "undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}\n\n" (function_definition "undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_0005c100(int param_1,char param_2)" identifier (parameter_list "(int param_1,char param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 == '\0')" ( (binary_expression "param_2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_0005a350();" (assignment_expression "uVar1 = FUN_0005a350()" identifier = (call_expression "FUN_0005a350()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" { (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) })) (expression_statement "FUN_0005bf80();" (call_expression "FUN_0005bf80()" identifier (argument_list "()" ( ))) ;) (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" return (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (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) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return (pointer_expression * (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) )))) ;) })))
(function_definition "undefined4 __regparm1 FUN_0005c100(int param_1,char param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" (type_identifier "undefined4") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_0005c100(int param_1,char param_2)" (identifier "FUN_0005c100") (parameter_list "(int param_1,char param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }\n  FUN_0005bf80();\n  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 == '\0') {\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 == '\0')" (( "(") (binary_expression "param_2 == '\0'" (identifier "param_2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = FUN_0005a350();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_0005a350();" (assignment_expression "uVar1 = FUN_0005a350()" (identifier "uVar1") (= "=") (call_expression "FUN_0005a350()" (identifier "FUN_0005a350") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);\n  }" ({ "{") (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" (return "return") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_0005bf80();" (call_expression "FUN_0005bf80()" (identifier "FUN_0005bf80") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);" (return "return") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x2c)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0x2c" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Reloc_section * rela_dyn_section(Target_powerpc<32,_true> * this,
   Symbol_table * symtab, Layout * layout, bool for_ifunc) */

type_1 * __thiscall
anon_unknown.dwarf_2af53c::var_1<32,var_2>::var_3
          (var_1<32,var_2> *this,type_3 *symtab,type_2 *layout,bool for_ifunc)

{
  int var_4;
  type_1 *pRVar1;
  type_2 *unaff_EBX;
  var_1<32,var_2> *in_stack_fffffff4;
  type_3 *in_stack_fffffff8;
  
  if ((char)this == '\0') {
    pRVar1 = var_3(this,(type_2 *)symtab);
    return pRVar1;
  }
  if (*(int *)(var_4 + 0x1c) != 0) {
    return *(type_1 **)(*(int *)(var_4 + 0x1c) + 0x2c);
  }
  var_5(in_stack_fffffff4,in_stack_fffffff8,unaff_EBX);
  return *(type_1 **)(*(int *)(var_4 + 0x1c) + 0x2c);
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))) (if_statement condition: (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))) consequence: (compound_statement (return_statement (pointer_expression argument: (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)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (pointer_expression argument: (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)))))))))

undefined4 __regparm1 MASKED(int param_1,char param_2)

{
  undefined4 uVar1;
  
  if (param_2 == '\0') {
    uVar1 = FUN_0005a350();
    return uVar1;
  }
  if (*(int *)(param_1 + 0x1c) != 0) {
    return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);
  }
  FUN_0005bf80();
  return *(undefined4 *)(*(int *)(param_1 + 0x1c) + 0x2c);
}

