
void cleanup_exit(int code)

{
  sk_cleanup();
  random_save_seed();
  (*(code *)PTR_exit_000b0c0c)(code);
  return;
}



void cleanup_exit(undefined4 param_1)

{
  sk_cleanup();
  random_save_seed();
  (*(code *)PTR_exit_000b0c0c)(param_1);
  return;
}


lui gp,0x4
addiu gp,gp,-0x6d3c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7c18(gp)
sw gp,0x10(sp)
sw a0,0x20(sp)
sw ra,0x1c(sp)
bal 0x00081e90
_nop
lw gp,0x10(sp)
lw t9,-0x7c20(gp)
bal 0x000841e8
_nop
lw gp,0x10(sp)
lw t9,-0x7544(gp)
jalr t9
_lw a0,0x20(sp)
(translation_unit "void cleanup_exit(undefined4 param_1)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}\n\n" (function_definition "void cleanup_exit(undefined4 param_1)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" primitive_type (function_declarator "cleanup_exit(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" { (expression_statement "sk_cleanup();" (call_expression "sk_cleanup()" identifier (argument_list "()" ( ))) ;) (expression_statement "random_save_seed();" (call_expression "random_save_seed()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_exit_000b0c0c)(param_1);" (call_expression "(*(code *)PTR_exit_000b0c0c)(param_1)" (parenthesized_expression "(*(code *)PTR_exit_000b0c0c)" ( (pointer_expression "*(code *)PTR_exit_000b0c0c" * (cast_expression "(code *)PTR_exit_000b0c0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void cleanup_exit(int code)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(code);\n  return;\n}\n\n" (function_definition "void cleanup_exit(int code)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(code);\n  return;\n}" primitive_type (function_declarator "cleanup_exit(int code)" identifier (parameter_list "(int code)" ( (parameter_declaration "int code" primitive_type identifier) ))) (compound_statement "{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(code);\n  return;\n}" { (expression_statement "sk_cleanup();" (call_expression "sk_cleanup()" identifier (argument_list "()" ( ))) ;) (expression_statement "random_save_seed();" (call_expression "random_save_seed()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_exit_000b0c0c)(code);" (call_expression "(*(code *)PTR_exit_000b0c0c)(code)" (parenthesized_expression "(*(code *)PTR_exit_000b0c0c)" ( (pointer_expression "*(code *)PTR_exit_000b0c0c" * (cast_expression "(code *)PTR_exit_000b0c0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(code)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void cleanup_exit(undefined4 param_1)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}\n\n" (function_definition "void cleanup_exit(undefined4 param_1)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" primitive_type (function_declarator "cleanup_exit(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" { (expression_statement "sk_cleanup();" (call_expression "sk_cleanup()" identifier (argument_list "()" ( ))) ;) (expression_statement "random_save_seed();" (call_expression "random_save_seed()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_exit_000b0c0c)(param_1);" (call_expression "(*(code *)PTR_exit_000b0c0c)(param_1)" (parenthesized_expression "(*(code *)PTR_exit_000b0c0c)" ( (pointer_expression "*(code *)PTR_exit_000b0c0c" * (cast_expression "(code *)PTR_exit_000b0c0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void cleanup_exit(undefined4 param_1)\n\n{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "cleanup_exit(undefined4 param_1)" (identifier "cleanup_exit") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  sk_cleanup();\n  random_save_seed();\n  (*(code *)PTR_exit_000b0c0c)(param_1);\n  return;\n}" ({ "{") (expression_statement "sk_cleanup();" (call_expression "sk_cleanup()" (identifier "sk_cleanup") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "random_save_seed();" (call_expression "random_save_seed()" (identifier "random_save_seed") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_exit_000b0c0c)(param_1);" (call_expression "(*(code *)PTR_exit_000b0c0c)(param_1)" (parenthesized_expression "(*(code *)PTR_exit_000b0c0c)" (( "(") (pointer_expression "*(code *)PTR_exit_000b0c0c" (* "*") (cast_expression "(code *)PTR_exit_000b0c0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000b0c0c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int type_1)

{
  var_1();
  var_2();
  (*(type_1 *)PTR_exit_000b0c0c)(type_1);
  return;
}


(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 (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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)))) (return_statement))))

void MASKED(undefined4 param_1)

{
  sk_cleanup();
  random_save_seed();
  (*(code *)PTR_exit_000b0c0c)(param_1);
  return;
}

