
void null_at(char **data,size_t index)

{
  char *pcVar1;
  
  pcVar1 = (char *)nrealloc(*data,index + 1);
  *data = pcVar1;
  pcVar1[index] = '\0';
  return;
}



void null_at(int *param_1,int param_2)

{
  int iVar1;
  
  iVar1 = nrealloc(*param_1,param_2 + 1);
  *param_1 = iVar1;
  *(undefined1 *)(iVar1 + param_2) = 0;
  return;
}


lui gp,0x4
addiu gp,gp,-0x1f04
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s0,a1,zero
addiu a1,a1,0x1
lw a0,0x0(a0)
lw t9,-0x7eac(gp)
bal 0x00046324
_nop
lw gp,0x10(sp)
sw v0,0x0(s1)
addu v0,v0,s0
sb zero,0x0(v0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void null_at(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}\n\n" (function_definition "void null_at(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" primitive_type (function_declarator "null_at(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = nrealloc(*param_1,param_2 + 1);" (assignment_expression "iVar1 = nrealloc(*param_1,param_2 + 1)" identifier = (call_expression "nrealloc(*param_1,param_2 + 1)" identifier (argument_list "(*param_1,param_2 + 1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(iVar1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(iVar1 + param_2) = 0" (pointer_expression "*(undefined1 *)(iVar1 + param_2)" * (cast_expression "(undefined1 *)(iVar1 + param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2)" ( (binary_expression "iVar1 + param_2" identifier + identifier) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void null_at(char **data,size_t index)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)nrealloc(*data,index + 1);\n  *data = pcVar1;\n  pcVar1[index] = '\0';\n  return;\n}\n\n" (function_definition "void null_at(char **data,size_t index)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)nrealloc(*data,index + 1);\n  *data = pcVar1;\n  pcVar1[index] = '\0';\n  return;\n}" primitive_type (function_declarator "null_at(char **data,size_t index)" identifier (parameter_list "(char **data,size_t index)" ( (parameter_declaration "char **data" primitive_type (pointer_declarator "**data" * (pointer_declarator "*data" * identifier))) , (parameter_declaration "size_t index" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)nrealloc(*data,index + 1);\n  *data = pcVar1;\n  pcVar1[index] = '\0';\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)nrealloc(*data,index + 1);" (assignment_expression "pcVar1 = (char *)nrealloc(*data,index + 1)" identifier = (cast_expression "(char *)nrealloc(*data,index + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "nrealloc(*data,index + 1)" identifier (argument_list "(*data,index + 1)" ( (pointer_expression "*data" * identifier) , (binary_expression "index + 1" identifier + number_literal) ))))) ;) (expression_statement "*data = pcVar1;" (assignment_expression "*data = pcVar1" (pointer_expression "*data" * identifier) = identifier) ;) (expression_statement "pcVar1[index] = '\0';" (assignment_expression "pcVar1[index] = '\0'" (subscript_expression "pcVar1[index]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void null_at(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}\n\n" (function_definition "void null_at(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" primitive_type (function_declarator "null_at(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = nrealloc(*param_1,param_2 + 1);" (assignment_expression "iVar1 = nrealloc(*param_1,param_2 + 1)" identifier = (call_expression "nrealloc(*param_1,param_2 + 1)" identifier (argument_list "(*param_1,param_2 + 1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "param_2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(iVar1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(iVar1 + param_2) = 0" (pointer_expression "*(undefined1 *)(iVar1 + param_2)" * (cast_expression "(undefined1 *)(iVar1 + param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2)" ( (binary_expression "iVar1 + param_2" identifier + identifier) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void null_at(int *param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "null_at(int *param_1,int param_2)" (identifier "null_at") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = nrealloc(*param_1,param_2 + 1);\n  *param_1 = iVar1;\n  *(undefined1 *)(iVar1 + param_2) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = nrealloc(*param_1,param_2 + 1);" (assignment_expression "iVar1 = nrealloc(*param_1,param_2 + 1)" (identifier "iVar1") (= "=") (call_expression "nrealloc(*param_1,param_2 + 1)" (identifier "nrealloc") (argument_list "(*param_1,param_2 + 1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined1 *)(iVar1 + param_2) = 0;" (assignment_expression "*(undefined1 *)(iVar1 + param_2) = 0" (pointer_expression "*(undefined1 *)(iVar1 + param_2)" (* "*") (cast_expression "(undefined1 *)(iVar1 + param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2)" (( "(") (binary_expression "iVar1 + param_2" (identifier "iVar1") (+ "+") (identifier "param_2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (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) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (number_literal))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  int iVar1;
  
  iVar1 = nrealloc(*param_1,param_2 + 1);
  *param_1 = iVar1;
  *(undefined1 *)(iVar1 + param_2) = 0;
  return;
}

