
char * elf_h8_reloc_type(ulong rtype)

{
  char *pcVar1;
  
  if (rtype < 0x8e) {
                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */
                    /* WARNING: Treating indirect jump as call */
    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();
    return pcVar1;
  }
  return (char *)0x0;
}



undefined4 FUN_00015dac(uint param_1)

{
  undefined4 uVar1;
  
  if (param_1 < 0x8e) {
                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();
    return uVar1;
  }
  return 0;
}


lui gp,0xb
addiu gp,gp,0x55a4
addu gp,gp,t9
sltiu v0,a0,0x8e
beq v0,zero,0x00016078
_nop
sll v0,a0,0x2
lw a0,-0x7fc4(gp)
addiu a0,a0,-0x1ae4
addu a0,a0,v0
lw v0,0x0(a0)
addu v0,v0,gp
jr v0
_nop
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2ac8
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2dc0
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2db4
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2da8
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d98
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d88
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d78
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d6c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d60
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d54
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d48
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d3c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d30
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d24
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d18
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2d08
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2cfc
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2cec
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2cdc
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2ccc
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2cbc
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2cac
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c9c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c90
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c84
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c74
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c64
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c54
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c44
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c34
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c24
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c18
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c0c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2c00
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2bf0
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2be0
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2bd0
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2bc0
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2bb4
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2ba8
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b98
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b88
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b7c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b6c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b5c
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b50
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b40
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b30
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b20
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b10
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2b04
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2af4
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2ae4
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2ad4
lw v0,-0x7fc8(gp)
jr ra
_addiu v0,v0,0x2dd0
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_00015dac(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00015dac(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00015dac(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 < 0x8e)" ( (binary_expression "param_1 < 0x8e" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" { comment comment (expression_statement "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();" (assignment_expression "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" * (cast_expression "(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" ( (binary_expression "PTR_UINT_000c338c + param_1 * 4 + -0x1ae4" (binary_expression "PTR_UINT_000c338c + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "char * elf_h8_reloc_type(ulong rtype)\n\n{\n  char *pcVar1;\n  \n  if (rtype < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * elf_h8_reloc_type(ulong rtype)\n\n{\n  char *pcVar1;\n  \n  if (rtype < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* elf_h8_reloc_type(ulong rtype)" * (function_declarator "elf_h8_reloc_type(ulong rtype)" identifier (parameter_list "(ulong rtype)" ( (parameter_declaration "ulong rtype" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  if (rtype < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();\n    return pcVar1;\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (rtype < 0x8e) {\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();\n    return pcVar1;\n  }" if (parenthesized_expression "(rtype < 0x8e)" ( (binary_expression "rtype < 0x8e" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */\n                    /* WARNING: Treating indirect jump as call */\n    pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();\n    return pcVar1;\n  }" { comment comment (expression_statement "pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))();" (assignment_expression "pcVar1 = (char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))()" identifier = (cast_expression "(char *)(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)" * (cast_expression "(int *)(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000c338c + rtype * 4 + -0x1ae4)" ( (binary_expression "PTR_DAT_000c338c + rtype * 4 + -0x1ae4" (binary_expression "PTR_DAT_000c338c + rtype * 4" identifier + (binary_expression "rtype * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return pcVar1;" return identifier ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 FUN_00015dac(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00015dac(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00015dac(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" if (parenthesized_expression "(param_1 < 0x8e)" ( (binary_expression "param_1 < 0x8e" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();" (assignment_expression "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" * (cast_expression "(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" ( (binary_expression "PTR_UINT_000c338c + param_1 * 4 + -0x1ae4" (binary_expression "PTR_UINT_000c338c + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00015dac(uint param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00015dac(uint param_1)" (identifier "FUN_00015dac") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 < 0x8e) {\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_1 < 0x8e)" (( "(") (binary_expression "param_1 < 0x8e" (identifier "param_1") (< "<") (number_literal "0x8e")) () ")")) (compound_statement "{\n                    \n                    \n    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();" (assignment_expression "uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" (identifier "uVar1") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (* "*") (cast_expression "(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)" (( "(") (binary_expression "PTR_UINT_000c338c + param_1 * 4 + -0x1ae4" (binary_expression "PTR_UINT_000c338c + param_1 * 4" (identifier "PTR_UINT_000c338c") (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x1ae4")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

char * function_1(type_1 var_1)

{
  char *pcVar1;
  
  if (var_1 < 0x8e) {
                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */
                    /* WARNING: Treating indirect jump as call */
    pcVar1 = (char *)(*(type_2 *)(&_gp + *(int *)(var_2 + var_1 * 4 + -0x1ae4)))();
    return pcVar1;
  }
  return (char *)0x0;
}


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

undefined4 MASKED(uint param_1)

{
  undefined4 uVar1;
  
  if (param_1 < 0x8e) {
                    /* WARNING: Could not emulate address calculation at 0x00015dd0 */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (*(code *)(&_gp_1 + *(int *)(PTR_UINT_000c338c + param_1 * 4 + -0x1ae4)))();
    return uVar1;
  }
  return 0;
}

