
/* WARNING: Unknown calling convention */

void * ccp_make_context(void)

{
  void *pvVar1;
  
  pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160);
  if (pvVar1 != (void *)0x0) {
    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);
    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;
    *(undefined4 *)((int)pvVar1 + 0x138) = 0;
    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;
    *(undefined4 *)((int)pvVar1 + 0x140) = 0;
    *(undefined4 *)((int)pvVar1 + 0x144) = 0;
    *(undefined4 *)((int)pvVar1 + 0x148) = 0;
  }
  return pvVar1;
}



int FUN_0005a470(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);
  if (iVar1 != 0) {
    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);
    *(undefined4 *)(iVar1 + 0x15c) = 0;
    *(undefined4 *)(iVar1 + 0x138) = 0;
    *(undefined4 *)(iVar1 + 0x13c) = 0;
    *(undefined4 *)(iVar1 + 0x140) = 0;
    *(undefined4 *)(iVar1 + 0x144) = 0;
    *(undefined4 *)(iVar1 + 0x148) = 0;
  }
  return iVar1;
}


lui gp,0x6
addiu gp,gp,-0x2320
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7f68(gp)
li a1,0x160
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
jalr t9
_li a0,0x1
lw gp,0x10(sp)
beq v0,zero,0x0005a4d4
_or s0,v0,zero
lw t9,-0x7590(gp)
li a2,0x10
or a1,zero,zero
jalr t9
_addiu a0,v0,0x114
sw zero,0x15c(s0)
sw zero,0x138(s0)
sw zero,0x13c(s0)
sw zero,0x140(s0)
sw zero,0x144(s0)
sw zero,0x148(s0)
lw ra,0x1c(sp)
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int FUN_0005a470(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0005a470(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0005a470(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160)" identifier = (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x160)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" { (expression_statement "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);" (call_expression "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10)" (parenthesized_expression "(*(code *)PTR_memset_000b0bc0)" ( (pointer_expression "*(code *)PTR_memset_000b0bc0" * (cast_expression "(code *)PTR_memset_000b0bc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 0x114,0,0x10)" ( (binary_expression "iVar1 + 0x114" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x15c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x15c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x15c)" * (cast_expression "(undefined4 *)(iVar1 + 0x15c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x15c)" ( (binary_expression "iVar1 + 0x15c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x138) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x138) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x138)" * (cast_expression "(undefined4 *)(iVar1 + 0x138)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x138)" ( (binary_expression "iVar1 + 0x138" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x13c)" * (cast_expression "(undefined4 *)(iVar1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x13c)" ( (binary_expression "iVar1 + 0x13c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x140) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x140) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x140)" * (cast_expression "(undefined4 *)(iVar1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x140)" ( (binary_expression "iVar1 + 0x140" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x144) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x144) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x144)" * (cast_expression "(undefined4 *)(iVar1 + 0x144)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x144)" ( (binary_expression "iVar1 + 0x144" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x148) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x148) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x148)" * (cast_expression "(undefined4 *)(iVar1 + 0x148)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x148)" ( (binary_expression "iVar1 + 0x148" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * ccp_make_context(void)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (pvVar1 != (void *)0x0) {\n    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);\n    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x138) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x140) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x144) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x148) = 0;\n  }\n  return pvVar1;\n}\n\n" comment (function_definition "void * ccp_make_context(void)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (pvVar1 != (void *)0x0) {\n    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);\n    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x138) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x140) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x144) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x148) = 0;\n  }\n  return pvVar1;\n}" primitive_type (pointer_declarator "* ccp_make_context(void)" * (function_declarator "ccp_make_context(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (pvVar1 != (void *)0x0) {\n    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);\n    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x138) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x140) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x144) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x148) = 0;\n  }\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160);" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" identifier = (cast_expression "(void *)(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x160)" ( number_literal , number_literal ))))) ;) (if_statement "if (pvVar1 != (void *)0x0) {\n    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);\n    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x138) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x140) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x144) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x148) = 0;\n  }" if (parenthesized_expression "(pvVar1 != (void *)0x0)" ( (binary_expression "pvVar1 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);\n    *(undefined4 *)((int)pvVar1 + 0x15c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x138) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x13c) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x140) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x144) = 0;\n    *(undefined4 *)((int)pvVar1 + 0x148) = 0;\n  }" { (expression_statement "(*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10);" (call_expression "(*(code *)PTR_memset_000b0bc0)((int)pvVar1 + 0x114,0,0x10)" (parenthesized_expression "(*(code *)PTR_memset_000b0bc0)" ( (pointer_expression "*(code *)PTR_memset_000b0bc0" * (cast_expression "(code *)PTR_memset_000b0bc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)pvVar1 + 0x114,0,0x10)" ( (binary_expression "(int)pvVar1 + 0x114" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal , number_literal ))) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x15c) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x15c) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x15c)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x15c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x15c)" ( (binary_expression "(int)pvVar1 + 0x15c" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x138) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x138) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x138)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x138)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x138)" ( (binary_expression "(int)pvVar1 + 0x138" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x13c) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x13c)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x13c)" ( (binary_expression "(int)pvVar1 + 0x13c" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x140) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x140) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x140)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x140)" ( (binary_expression "(int)pvVar1 + 0x140" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x144) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x144) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x144)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x144)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x144)" ( (binary_expression "(int)pvVar1 + 0x144" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 0x148) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0x148) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x148)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x148)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x148)" ( (binary_expression "(int)pvVar1 + 0x148" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "int FUN_0005a470(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0005a470(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0005a470(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160)" identifier = (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" ( (pointer_expression "*(code *)PTR_safemalloc_000b01e8" * (cast_expression "(code *)PTR_safemalloc_000b01e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x160)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" { (expression_statement "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);" (call_expression "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10)" (parenthesized_expression "(*(code *)PTR_memset_000b0bc0)" ( (pointer_expression "*(code *)PTR_memset_000b0bc0" * (cast_expression "(code *)PTR_memset_000b0bc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 0x114,0,0x10)" ( (binary_expression "iVar1 + 0x114" identifier + number_literal) , number_literal , number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x15c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x15c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x15c)" * (cast_expression "(undefined4 *)(iVar1 + 0x15c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x15c)" ( (binary_expression "iVar1 + 0x15c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x138) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x138) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x138)" * (cast_expression "(undefined4 *)(iVar1 + 0x138)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x138)" ( (binary_expression "iVar1 + 0x138" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x13c)" * (cast_expression "(undefined4 *)(iVar1 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x13c)" ( (binary_expression "iVar1 + 0x13c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x140) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x140) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x140)" * (cast_expression "(undefined4 *)(iVar1 + 0x140)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x140)" ( (binary_expression "iVar1 + 0x140" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x144) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x144) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x144)" * (cast_expression "(undefined4 *)(iVar1 + 0x144)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x144)" ( (binary_expression "iVar1 + 0x144" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x148) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x148) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x148)" * (cast_expression "(undefined4 *)(iVar1 + 0x148)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x148)" ( (binary_expression "iVar1 + 0x148" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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 , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0005a470(void)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0005a470(void)" (identifier "FUN_0005a470") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);\n  if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_safemalloc_000b01e8)(1,0x160)" (parenthesized_expression "(*(code *)PTR_safemalloc_000b01e8)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000b01e8" (* "*") (cast_expression "(code *)PTR_safemalloc_000b01e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000b01e8"))) () ")")) (argument_list "(1,0x160)" (( "(") (number_literal "1") (, ",") (number_literal "0x160") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);\n    *(undefined4 *)(iVar1 + 0x15c) = 0;\n    *(undefined4 *)(iVar1 + 0x138) = 0;\n    *(undefined4 *)(iVar1 + 0x13c) = 0;\n    *(undefined4 *)(iVar1 + 0x140) = 0;\n    *(undefined4 *)(iVar1 + 0x144) = 0;\n    *(undefined4 *)(iVar1 + 0x148) = 0;\n  }" ({ "{") (expression_statement "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);" (call_expression "(*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10)" (parenthesized_expression "(*(code *)PTR_memset_000b0bc0)" (( "(") (pointer_expression "*(code *)PTR_memset_000b0bc0" (* "*") (cast_expression "(code *)PTR_memset_000b0bc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000b0bc0"))) () ")")) (argument_list "(iVar1 + 0x114,0,0x10)" (( "(") (binary_expression "iVar1 + 0x114" (identifier "iVar1") (+ "+") (number_literal "0x114")) (, ",") (number_literal "0") (, ",") (number_literal "0x10") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x15c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x15c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x15c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x15c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x15c)" (( "(") (binary_expression "iVar1 + 0x15c" (identifier "iVar1") (+ "+") (number_literal "0x15c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x138) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x138) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x138)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x138)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x138)" (( "(") (binary_expression "iVar1 + 0x138" (identifier "iVar1") (+ "+") (number_literal "0x138")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x13c)" (( "(") (binary_expression "iVar1 + 0x13c" (identifier "iVar1") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x140) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x140) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x140)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x140)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x140)" (( "(") (binary_expression "iVar1 + 0x140" (identifier "iVar1") (+ "+") (number_literal "0x140")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x144) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x144) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x144)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x144)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x144)" (( "(") (binary_expression "iVar1 + 0x144" (identifier "iVar1") (+ "+") (number_literal "0x144")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x148) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x148) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x148)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x148)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x148)" (( "(") (binary_expression "iVar1 + 0x148" (identifier "iVar1") (+ "+") (number_literal "0x148")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(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: (primitive_type) 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) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal)))) (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: (number_literal))))) right: (number_literal))) (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: (number_literal))))) right: (number_literal))) (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: (number_literal))))) right: (number_literal))) (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: (number_literal))))) right: (number_literal))) (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: (number_literal))))) right: (number_literal))) (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: (number_literal))))) right: (number_literal))))) (return_statement (identifier)))))

int MASKED(void)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_safemalloc_000b01e8)(1,0x160);
  if (iVar1 != 0) {
    (*(code *)PTR_memset_000b0bc0)(iVar1 + 0x114,0,0x10);
    *(undefined4 *)(iVar1 + 0x15c) = 0;
    *(undefined4 *)(iVar1 + 0x138) = 0;
    *(undefined4 *)(iVar1 + 0x13c) = 0;
    *(undefined4 *)(iVar1 + 0x140) = 0;
    *(undefined4 *)(iVar1 + 0x144) = 0;
    *(undefined4 *)(iVar1 + 0x148) = 0;
  }
  return iVar1;
}

