
/* DWARF original prototype: int compare_section(sort_type sort, asection * asec, asection * bsec,
   asection * bsec, asection * asec) */

int compare_section(sort_type sort,asection *asec,asection *bsec,asection *bsec_1,asection *asec_1)

{
  int iVar1;
  
  if (sort < (by_init_priority|by_name)) {
                    /* WARNING: Could not emulate address calculation at 0x000261ac */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c);
}



void FUN_00026170(uint param_1)

{
  if (param_1 < 7) {
                    /* WARNING: Could not emulate address calculation at 0x000261ac */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);
}


lui gp,0x1c
addiu gp,gp,-0x28a0
addu gp,gp,t9
addiu sp,sp,-0x30
sltiu v0,a0,0x7
sw gp,0x10(sp)
sw s0,0x20(sp)
sw ra,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
beq v0,zero,0x00026288
_lw s0,0x40(sp)
sll v0,a0,0x2
lw a0,-0x7fc0(gp)
addiu a0,a0,0x3dc0
addu a0,a0,v0
lw v0,0x0(a0)
addu v0,v0,gp
jr v0
_or s1,a1,zero
lw v0,0x0(s0)
lw v1,0x0(a2)
subu v0,v0,v1
bne v0,zero,0x00026224
_lw ra,0x2c(sp)
lw a0,0x0(s1)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
lw a1,0x0(a3)
lw t9,-0x778c(gp)
jr t9
_addiu sp,sp,0x30
lw t9,-0x778c(gp)
lw a1,0x0(a3)
lw a0,0x0(s1)
jalr t9
_sw a2,0x18(sp)
bne v0,zero,0x00026220
_lw a2,0x18(sp)
lw v0,0x0(s0)
lw v1,0x0(a2)
subu v0,v0,v1
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw s2,-0x7fcc(gp)
lw a0,0x0(a1)
addiu s2,s2,0x6058
or t9,s2,zero
bal 0x00026058
_sw a3,0x18(sp)
or t9,s2,zero
lw a3,0x18(sp)
or s0,v0,zero
bal 0x00026058
_lw a0,0x0(a3)
lw gp,0x10(sp)
beq s0,zero,0x000261d4
_lw a3,0x18(sp)
beq v0,zero,0x000261d4
_subu v0,s0,v0
bne v0,zero,0x00026224
_lw ra,0x2c(sp)
b 0x000261dc
_lw a0,0x0(s1)
lw a2,-0x7fc0(gp)
li a1,0x1b4
lw a0,-0x7fc0(gp)
lw t9,-0x7fa4(gp)
addiu a2,a2,0x408c
bal 0x0003a8d0
_addiu a0,a0,0x4120
(translation_unit "void FUN_00026170(uint param_1)\n\n{\n  if (param_1 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}\n\n" (function_definition "void FUN_00026170(uint param_1)\n\n{\n  if (param_1 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" primitive_type (function_declarator "FUN_00026170(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" { (if_statement "if (param_1 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" if (parenthesized_expression "(param_1 < 7)" ( (binary_expression "param_1 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" { comment comment (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" * (cast_expression "(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" ( (binary_expression "PTR_DAT_001db910 + param_1 * 4 + 0x3dc0" (binary_expression "PTR_DAT_001db910 + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);" (call_expression "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" identifier (argument_list "(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" ( (binary_expression "PTR_DAT_001db910 + 0x4120" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001db910 + 0x408c" identifier + number_literal) ))) ;) })))
(translation_unit "/* DWARF original prototype: int compare_section(sort_type sort, asection * asec, asection * bsec,\n   asection * bsec, asection * asec) */\n\nint compare_section(sort_type sort,asection *asec,asection *bsec,asection *bsec_1,asection *asec_1)\n\n{\n  int iVar1;\n  \n  if (sort < (by_init_priority|by_name)) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c);\n}\n\n" comment (function_definition "int compare_section(sort_type sort,asection *asec,asection *bsec,asection *bsec_1,asection *asec_1)\n\n{\n  int iVar1;\n  \n  if (sort < (by_init_priority|by_name)) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c);\n}" primitive_type (function_declarator "compare_section(sort_type sort,asection *asec,asection *bsec,asection *bsec_1,asection *asec_1)" identifier (parameter_list "(sort_type sort,asection *asec,asection *bsec,asection *bsec_1,asection *asec_1)" ( (parameter_declaration "sort_type sort" type_identifier identifier) , (parameter_declaration "asection *asec" type_identifier (pointer_declarator "*asec" * identifier)) , (parameter_declaration "asection *bsec" type_identifier (pointer_declarator "*bsec" * identifier)) , (parameter_declaration "asection *bsec_1" type_identifier (pointer_declarator "*bsec_1" * identifier)) , (parameter_declaration "asection *asec_1" type_identifier (pointer_declarator "*asec_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (sort < (by_init_priority|by_name)) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (sort < (by_init_priority|by_name)) {\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();\n    return iVar1;\n  }" if (parenthesized_expression "(sort < (by_init_priority|by_name))" ( (binary_expression "sort < (by_init_priority|by_name)" identifier < (parenthesized_expression "(by_init_priority|by_name)" ( (binary_expression "by_init_priority|by_name" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000261ac */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))();" (assignment_expression "iVar1 = (*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0))" ( (binary_expression "&_gp + *(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)" * (cast_expression "(int *)(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0)" ( (binary_expression "PTR_yy_accept_1428__001db910 + sort * 4 + 0x3dc0" (binary_expression "PTR_yy_accept_1428__001db910 + sort * 4" identifier + (binary_expression "sort * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c);" (call_expression "ld_abort(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c)" identifier (argument_list "(PTR_yy_accept_1428__001db910 + 0x4120,0x1b4,PTR_yy_accept_1428__001db910 + 0x408c)" ( (binary_expression "PTR_yy_accept_1428__001db910 + 0x4120" identifier + number_literal) , number_literal , (binary_expression "PTR_yy_accept_1428__001db910 + 0x408c" identifier + number_literal) ))) ;) })))
(translation_unit "void FUN_00026170(uint param_1)\n\n{\n  if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    \n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}\n\n" (function_definition "void FUN_00026170(uint param_1)\n\n{\n  if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    \n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" primitive_type (function_declarator "FUN_00026170(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    \n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" { (if_statement "if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" if (parenthesized_expression "(param_1 < 7)" ( (binary_expression "param_1 < 7" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" { (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" * (cast_expression "(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" ( (binary_expression "PTR_DAT_001db910 + param_1 * 4 + 0x3dc0" (binary_expression "PTR_DAT_001db910 + param_1 * 4" identifier + (binary_expression "param_1 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);" (call_expression "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" identifier (argument_list "(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" ( (binary_expression "PTR_DAT_001db910 + 0x4120" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_001db910 + 0x408c" identifier + number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (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 ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })))
(function_definition "void FUN_00026170(uint param_1)\n\n{\n  if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    \n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" (primitive_type "void") (function_declarator "FUN_00026170(uint param_1)" (identifier "FUN_00026170") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }\n                    \n  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);\n}" ({ "{") (if_statement "if (param_1 < 7) {\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 < 7)" (( "(") (binary_expression "param_1 < 7" (identifier "param_1") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n                    \n                    \n    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();\n    return;\n  }" ({ "{") (expression_statement "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();" (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (* "*") (cast_expression "(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)" (( "(") (binary_expression "PTR_DAT_001db910 + param_1 * 4 + 0x3dc0" (binary_expression "PTR_DAT_001db910 + param_1 * 4" (identifier "PTR_DAT_001db910") (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) (+ "+") (number_literal "0x3dc0")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);" (call_expression "ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" (identifier "ld_abort") (argument_list "(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c)" (( "(") (binary_expression "PTR_DAT_001db910 + 0x4120" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x4120")) (, ",") (number_literal "0x1b4") (, ",") (binary_expression "PTR_DAT_001db910 + 0x408c" (identifier "PTR_DAT_001db910") (+ "+") (number_literal "0x408c")) () ")"))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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 (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))))

void MASKED(uint param_1)

{
  if (param_1 < 7) {
                    /* WARNING: Could not emulate address calculation at 0x000261ac */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)(&_gp_1 + *(int *)(PTR_DAT_001db910 + param_1 * 4 + 0x3dc0)))();
    return;
  }
                    /* WARNING: Subroutine does not return */
  ld_abort(PTR_DAT_001db910 + 0x4120,0x1b4,PTR_DAT_001db910 + 0x408c);
}

