
void * xmemdup(void *p,size_t s)

{
  void *pvVar1;
  
  pvVar1 = xmalloc(s);
                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s);
  return pvVar1;
}



void xmemdup(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = xmalloc(param_2);
                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);
  return;
}


lui gp,0x2
addiu gp,gp,-0x48a0
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7f84(gp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
or a0,a1,zero
sw ra,0x24(sp)
sw gp,0x10(sp)
bal 0x00016610
_or s0,a1,zero
or a2,s0,zero
lw gp,0x10(sp)
or a1,s1,zero
lw ra,0x24(sp)
or a0,v0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7de0(gp)
jr t9
_addiu sp,sp,0x28
(translation_unit "void xmemdup(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}\n\n" (function_definition "void xmemdup(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" primitive_type (function_declarator "xmemdup(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = xmalloc(param_2);" (assignment_expression "uVar1 = xmalloc(param_2)" identifier = (call_expression "xmalloc(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) comment comment (expression_statement "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);" (call_expression "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002a300)" ( (pointer_expression "*(code *)PTR_memcpy_0002a300" * (cast_expression "(code *)PTR_memcpy_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void * xmemdup(void *p,size_t s)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s);\n  return pvVar1;\n}\n\n" (function_definition "void * xmemdup(void *p,size_t s)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s);\n  return pvVar1;\n}" primitive_type (pointer_declarator "* xmemdup(void *p,size_t s)" * (function_declarator "xmemdup(void *p,size_t s)" identifier (parameter_list "(void *p,size_t s)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "size_t s" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s);\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = xmalloc(s);" (assignment_expression "pvVar1 = xmalloc(s)" identifier = (call_expression "xmalloc(s)" identifier (argument_list "(s)" ( identifier )))) ;) comment comment (expression_statement "pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s);" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s)" identifier = (cast_expression "(void *)(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memcpy_0002a300)(pvVar1,p,s)" (parenthesized_expression "(*(code *)PTR_memcpy_0002a300)" ( (pointer_expression "*(code *)PTR_memcpy_0002a300" * (cast_expression "(code *)PTR_memcpy_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pvVar1,p,s)" ( identifier , identifier , identifier ))))) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void xmemdup(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    \n                    \n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}\n\n" (function_definition "void xmemdup(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    \n                    \n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" primitive_type (function_declarator "xmemdup(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    \n                    \n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = xmalloc(param_2);" (assignment_expression "uVar1 = xmalloc(param_2)" identifier = (call_expression "xmalloc(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);" (call_expression "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002a300)" ( (pointer_expression "*(code *)PTR_memcpy_0002a300" * (cast_expression "(code *)PTR_memcpy_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1,param_1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void xmemdup(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    \n                    \n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "xmemdup(undefined4 param_1,undefined4 param_2)" (identifier "xmemdup") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = xmalloc(param_2);\n                    \n                    \n  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = xmalloc(param_2);" (assignment_expression "uVar1 = xmalloc(param_2)" (identifier "uVar1") (= "=") (call_expression "xmalloc(param_2)" (identifier "xmalloc") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);" (call_expression "(*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_memcpy_0002a300)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0002a300" (* "*") (cast_expression "(code *)PTR_memcpy_0002a300" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0002a300"))) () ")")) (argument_list "(uVar1,param_1,param_2)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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) (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = xmalloc(param_2);
                    /* WARNING: Could not recover jumptable at 0x000169d4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_memcpy_0002a300)(uVar1,param_1,param_2);
  return;
}

