
/* WARNING: Unknown calling convention */

void * debug_init(void)

{
  undefined4 uVar1;
  void *pvVar2;
  
  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);
  pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);
  return pvVar2;
}



void debug_init(void)

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);
  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);
  return;
}


lui gp,0x3
addiu gp,gp,0x4e08
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7c70(gp)
sw ra,0x1c(sp)
sw gp,0x10(sp)
jalr t9
_li a0,0x34
li a2,0x34
lw gp,0x10(sp)
or a1,zero,zero
lw t9,-0x7d40(gp)
jalr t9
_or a0,v0,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void debug_init(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}\n\n" (function_definition "void debug_init(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" primitive_type (function_declarator "debug_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);" (assignment_expression "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34)" identifier = (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0x34)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x34)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);" (call_expression "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" (parenthesized_expression "(*(code *)PTR_memset_0004db40)" ( (pointer_expression "*(code *)PTR_memset_0004db40" * (cast_expression "(code *)PTR_memset_0004db40" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,0,0x34)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * debug_init(void)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return pvVar2;\n}\n\n" comment (function_definition "void * debug_init(void)\n\n{\n  undefined4 uVar1;\n  void *pvVar2;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return pvVar2;\n}" primitive_type (pointer_declarator "* debug_init(void)" * (function_declarator "debug_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 uVar1;\n  void *pvVar2;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return pvVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);" (assignment_expression "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34)" identifier = (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0x34)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x34)" ( number_literal )))) ;) (expression_statement "pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);" (assignment_expression "pvVar2 = (void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" identifier = (cast_expression "(void *)(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" (parenthesized_expression "(*(code *)PTR_memset_0004db40)" ( (pointer_expression "*(code *)PTR_memset_0004db40" * (cast_expression "(code *)PTR_memset_0004db40" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,0,0x34)" ( identifier , number_literal , number_literal ))))) ;) (return_statement "return pvVar2;" return identifier ;) })))
(translation_unit "void debug_init(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}\n\n" (function_definition "void debug_init(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" primitive_type (function_declarator "debug_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);" (assignment_expression "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34)" identifier = (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0x34)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" ( (pointer_expression "*(code *)PTR_xmalloc_0004dc10" * (cast_expression "(code *)PTR_xmalloc_0004dc10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x34)" ( number_literal )))) ;) (expression_statement "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);" (call_expression "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" (parenthesized_expression "(*(code *)PTR_memset_0004db40)" ( (pointer_expression "*(code *)PTR_memset_0004db40" * (cast_expression "(code *)PTR_memset_0004db40" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,0,0x34)" ( identifier , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void debug_init(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" (primitive_type "void") (function_declarator "debug_init(void)" (identifier "debug_init") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);\n  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);" (assignment_expression "uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_xmalloc_0004dc10)(0x34)" (parenthesized_expression "(*(code *)PTR_xmalloc_0004dc10)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_0004dc10" (* "*") (cast_expression "(code *)PTR_xmalloc_0004dc10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_0004dc10"))) () ")")) (argument_list "(0x34)" (( "(") (number_literal "0x34") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34);" (call_expression "(*(code *)PTR_memset_0004db40)(uVar1,0,0x34)" (parenthesized_expression "(*(code *)PTR_memset_0004db40)" (( "(") (pointer_expression "*(code *)PTR_memset_0004db40" (* "*") (cast_expression "(code *)PTR_memset_0004db40" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_0004db40"))) () ")")) (argument_list "(uVar1,0,0x34)" (( "(") (identifier "uVar1") (, ",") (number_literal "0") (, ",") (number_literal "0x34") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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 (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) (number_literal) (number_literal)))) (return_statement))))

void MASKED(void)

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_xmalloc_0004dc10)(0x34);
  (*(code *)PTR_memset_0004db40)(uVar1,0,0x34);
  return;
}

