
int gmp_sprintf_memory(char **bufp,char *str,size_t len)

{
  undefined *puVar1;
  
  puVar1 = PTR_memcpy_0009d544;
  *bufp = *bufp + len;
  (*(code *)puVar1)();
  return len;
}



int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)

{
  undefined *puVar1;
  
  puVar1 = PTR_memcpy_0009d544;
  *param_1 = *param_1 + param_3;
  (*(code *)puVar1)();
  return param_3;
}


lui gp,0x2
addiu gp,gp,0x4ca4
addu gp,gp,t9
or v0,a0,zero
lw a0,0x0(a0)
addiu sp,sp,-0x20
lw t9,-0x7afc(gp)
addu v1,a0,a2
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a2,zero
sw ra,0x1c(sp)
jalr t9
_sw v1,0x0(v0)
or v0,s0,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}\n\n" (function_definition "int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" primitive_type (function_declarator "FUN_0008039c(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_memcpy_0009d544;" (assignment_expression "puVar1 = PTR_memcpy_0009d544" identifier = identifier) ;) (expression_statement "*param_1 = *param_1 + param_3;" (assignment_expression "*param_1 = *param_1 + param_3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + param_3" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return param_3;" return identifier ;) })))
(translation_unit "int gmp_sprintf_memory(char **bufp,char *str,size_t len)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *bufp = *bufp + len;\n  (*(code *)puVar1)();\n  return len;\n}\n\n" (function_definition "int gmp_sprintf_memory(char **bufp,char *str,size_t len)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *bufp = *bufp + len;\n  (*(code *)puVar1)();\n  return len;\n}" primitive_type (function_declarator "gmp_sprintf_memory(char **bufp,char *str,size_t len)" identifier (parameter_list "(char **bufp,char *str,size_t len)" ( (parameter_declaration "char **bufp" primitive_type (pointer_declarator "**bufp" * (pointer_declarator "*bufp" * identifier))) , (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *bufp = *bufp + len;\n  (*(code *)puVar1)();\n  return len;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_memcpy_0009d544;" (assignment_expression "puVar1 = PTR_memcpy_0009d544" identifier = identifier) ;) (expression_statement "*bufp = *bufp + len;" (assignment_expression "*bufp = *bufp + len" (pointer_expression "*bufp" * identifier) = (binary_expression "*bufp + len" (pointer_expression "*bufp" * identifier) + identifier)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return len;" return identifier ;) })))
(translation_unit "int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}\n\n" (function_definition "int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" primitive_type (function_declarator "FUN_0008039c(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR_memcpy_0009d544;" (assignment_expression "puVar1 = PTR_memcpy_0009d544" identifier = identifier) ;) (expression_statement "*param_1 = *param_1 + param_3;" (assignment_expression "*param_1 = *param_1 + param_3" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + param_3" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return param_3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_0008039c(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" (primitive_type "int") (function_declarator "FUN_0008039c(int *param_1,undefined4 param_2,int param_3)" (identifier "FUN_0008039c") (parameter_list "(int *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR_memcpy_0009d544;\n  *param_1 = *param_1 + param_3;\n  (*(code *)puVar1)();\n  return param_3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR_memcpy_0009d544;" (assignment_expression "puVar1 = PTR_memcpy_0009d544" (identifier "puVar1") (= "=") (identifier "PTR_memcpy_0009d544")) (; ";")) (expression_statement "*param_1 = *param_1 + param_3;" (assignment_expression "*param_1 = *param_1 + param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (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))) (return_statement (identifier)))))

int MASKED(int *param_1,undefined4 param_2,int param_3)

{
  undefined *puVar1;
  
  puVar1 = PTR_memcpy_0009d544;
  *param_1 = *param_1 + param_3;
  (*(code *)puVar1)();
  return param_3;
}

