
void telnet_free(void *handle)

{
  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60));
  if (*(int **)((int)handle + 4) != (int *)0x0) {
    (**(code **)(**(int **)((int)handle + 4) + 4))();
  }
  if (*(int *)((int)handle + 0x74) != 0) {
    (*(code *)PTR_pinger_free_001117b0)();
  }
  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70));
  (*(code *)PTR_safefree_001112f0)(handle);
  return;
}



void FUN_0008de70(int param_1)

{
  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));
  if (*(int **)(param_1 + 4) != (int *)0x0) {
    (**(code **)(**(int **)(param_1 + 4) + 4))();
  }
  if (*(int *)(param_1 + 0x74) != 0) {
    (*(code *)PTR_pinger_free_001117b0)();
  }
  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));
  (*(code *)PTR_safefree_001112f0)(param_1);
  return;
}


lui gp,0x9
addiu gp,gp,-0x4bc0
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7fc0(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_lw a0,0x60(a0)
lw a0,0x4(s0)
beq a0,zero,0x0008debc
_lw gp,0x10(sp)
lw v0,0x0(a0)
lw t9,0x4(v0)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x74(s0)
beq a0,zero,0x0008ded4
_lw t9,-0x7b00(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7db8(gp)
jalr t9
_lw a0,0x70(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7fc0(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_0008de70(int param_1)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0008de70(int param_1)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0008de70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" { (expression_statement "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));" (call_expression "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60))" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x60))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x60)" * (cast_expression "(undefined4 *)(param_1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" if (parenthesized_expression "(*(int **)(param_1 + 4) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 4) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" { (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 4)" ( (binary_expression "**(int **)(param_1 + 4) + 4" (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x74) != 0)" ( (binary_expression "*(int *)(param_1 + 0x74) != 0" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" { (expression_statement "(*(code *)PTR_pinger_free_001117b0)();" (call_expression "(*(code *)PTR_pinger_free_001117b0)()" (parenthesized_expression "(*(code *)PTR_pinger_free_001117b0)" ( (pointer_expression "*(code *)PTR_pinger_free_001117b0" * (cast_expression "(code *)PTR_pinger_free_001117b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));" (call_expression "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70))" (parenthesized_expression "(*(code *)PTR_conf_free_001114f8)" ( (pointer_expression "*(code *)PTR_conf_free_001114f8" * (cast_expression "(code *)PTR_conf_free_001114f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x70))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void telnet_free(void *handle)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60));\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  if (*(int *)((int)handle + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70));\n  (*(code *)PTR_safefree_001112f0)(handle);\n  return;\n}\n\n" (function_definition "void telnet_free(void *handle)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60));\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  if (*(int *)((int)handle + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70));\n  (*(code *)PTR_safefree_001112f0)(handle);\n  return;\n}" primitive_type (function_declarator "telnet_free(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60));\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  if (*(int *)((int)handle + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70));\n  (*(code *)PTR_safefree_001112f0)(handle);\n  return;\n}" { (expression_statement "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60));" (call_expression "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)((int)handle + 0x60))" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)handle + 0x60))" ( (pointer_expression "*(undefined4 *)((int)handle + 0x60)" * (cast_expression "(undefined4 *)((int)handle + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x60)" ( (binary_expression "(int)handle + 0x60" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (if_statement "if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }" if (parenthesized_expression "(*(int **)((int)handle + 4) != (int *)0x0)" ( (binary_expression "*(int **)((int)handle + 4) != (int *)0x0" (pointer_expression "*(int **)((int)handle + 4)" * (cast_expression "(int **)((int)handle + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }" { (expression_statement "(**(code **)(**(int **)((int)handle + 4) + 4))();" (call_expression "(**(code **)(**(int **)((int)handle + 4) + 4))()" (parenthesized_expression "(**(code **)(**(int **)((int)handle + 4) + 4))" ( (pointer_expression "**(code **)(**(int **)((int)handle + 4) + 4)" * (pointer_expression "*(code **)(**(int **)((int)handle + 4) + 4)" * (cast_expression "(code **)(**(int **)((int)handle + 4) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)((int)handle + 4) + 4)" ( (binary_expression "**(int **)((int)handle + 4) + 4" (pointer_expression "**(int **)((int)handle + 4)" * (pointer_expression "*(int **)((int)handle + 4)" * (cast_expression "(int **)((int)handle + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 4)" ( (binary_expression "(int)handle + 4" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)((int)handle + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" if (parenthesized_expression "(*(int *)((int)handle + 0x74) != 0)" ( (binary_expression "*(int *)((int)handle + 0x74) != 0" (pointer_expression "*(int *)((int)handle + 0x74)" * (cast_expression "(int *)((int)handle + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x74)" ( (binary_expression "(int)handle + 0x74" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" { (expression_statement "(*(code *)PTR_pinger_free_001117b0)();" (call_expression "(*(code *)PTR_pinger_free_001117b0)()" (parenthesized_expression "(*(code *)PTR_pinger_free_001117b0)" ( (pointer_expression "*(code *)PTR_pinger_free_001117b0" * (cast_expression "(code *)PTR_pinger_free_001117b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70));" (call_expression "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)((int)handle + 0x70))" (parenthesized_expression "(*(code *)PTR_conf_free_001114f8)" ( (pointer_expression "*(code *)PTR_conf_free_001114f8" * (cast_expression "(code *)PTR_conf_free_001114f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)((int)handle + 0x70))" ( (pointer_expression "*(undefined4 *)((int)handle + 0x70)" * (cast_expression "(undefined4 *)((int)handle + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x70)" ( (binary_expression "(int)handle + 0x70" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(handle);" (call_expression "(*(code *)PTR_safefree_001112f0)(handle)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(handle)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0008de70(int param_1)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0008de70(int param_1)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0008de70(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" { (expression_statement "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));" (call_expression "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60))" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x60))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x60)" * (cast_expression "(undefined4 *)(param_1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" if (parenthesized_expression "(*(int **)(param_1 + 4) != (int *)0x0)" ( (binary_expression "*(int **)(param_1 + 4) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" { (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 4))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 4)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 4)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 4)" ( (binary_expression "**(int **)(param_1 + 4) + 4" (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x74) != 0)" ( (binary_expression "*(int *)(param_1 + 0x74) != 0" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" { (expression_statement "(*(code *)PTR_pinger_free_001117b0)();" (call_expression "(*(code *)PTR_pinger_free_001117b0)()" (parenthesized_expression "(*(code *)PTR_pinger_free_001117b0)" ( (pointer_expression "*(code *)PTR_pinger_free_001117b0" * (cast_expression "(code *)PTR_pinger_free_001117b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));" (call_expression "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70))" (parenthesized_expression "(*(code *)PTR_conf_free_001114f8)" ( (pointer_expression "*(code *)PTR_conf_free_001114f8" * (cast_expression "(code *)PTR_conf_free_001114f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x70))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" ( (pointer_expression "*(code *)PTR_safefree_001112f0" * (cast_expression "(code *)PTR_safefree_001112f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0008de70(int param_1)\n\n{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0008de70(int param_1)" (identifier "FUN_0008de70") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }\n  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));\n  (*(code *)PTR_safefree_001112f0)(param_1);\n  return;\n}" ({ "{") (expression_statement "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));" (call_expression "(*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60))" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x60))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 4) != (int *)0x0)" (( "(") (binary_expression "*(int **)(param_1 + 4) != (int *)0x0" (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }" ({ "{") (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 4))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 4))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 4))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 4)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 4)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 4) + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 4) + 4)" (( "(") (binary_expression "**(int **)(param_1 + 4) + 4" (pointer_expression "**(int **)(param_1 + 4)" (* "*") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x74) != 0) {\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x74) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x74) != 0" (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_pinger_free_001117b0)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_pinger_free_001117b0)();" (call_expression "(*(code *)PTR_pinger_free_001117b0)()" (parenthesized_expression "(*(code *)PTR_pinger_free_001117b0)" (( "(") (pointer_expression "*(code *)PTR_pinger_free_001117b0" (* "*") (cast_expression "(code *)PTR_pinger_free_001117b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pinger_free_001117b0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));" (call_expression "(*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70))" (parenthesized_expression "(*(code *)PTR_conf_free_001114f8)" (( "(") (pointer_expression "*(code *)PTR_conf_free_001114f8" (* "*") (cast_expression "(code *)PTR_conf_free_001114f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_free_001114f8"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x70))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x70)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_001112f0)(param_1);" (call_expression "(*(code *)PTR_safefree_001112f0)(param_1)" (parenthesized_expression "(*(code *)PTR_safefree_001112f0)" (( "(") (pointer_expression "*(code *)PTR_safefree_001112f0" (* "*") (cast_expression "(code *)PTR_safefree_001112f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_001112f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *handle)

{
  (*(type_1 *)PTR_safefree_001112f0)(*(type_2 *)((int)handle + 0x60));
  if (*(int **)((int)handle + 4) != (int *)0x0) {
    (**(type_1 **)(**(int **)((int)handle + 4) + 4))();
  }
  if (*(int *)((int)handle + 0x74) != 0) {
    (*(type_1 *)PTR_pinger_free_001117b0)();
  }
  (*(type_1 *)PTR_conf_free_001114f8)(*(type_2 *)((int)handle + 0x70));
  (*(type_1 *)PTR_safefree_001112f0)(handle);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (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 (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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))))) (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 (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)))))))) (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)))) (return_statement))))

void MASKED(int param_1)

{
  (*(code *)PTR_safefree_001112f0)(*(undefined4 *)(param_1 + 0x60));
  if (*(int **)(param_1 + 4) != (int *)0x0) {
    (**(code **)(**(int **)(param_1 + 4) + 4))();
  }
  if (*(int *)(param_1 + 0x74) != 0) {
    (*(code *)PTR_pinger_free_001117b0)();
  }
  (*(code *)PTR_conf_free_001114f8)(*(undefined4 *)(param_1 + 0x70));
  (*(code *)PTR_safefree_001112f0)(param_1);
  return;
}

