
void raw_free(void *handle)

{
  if (*(int **)((int)handle + 4) != (int *)0x0) {
    (**(code **)(**(int **)((int)handle + 4) + 4))();
  }
  conf_free(*(Conf **)((int)handle + 0x20));
                    /* WARNING: Subroutine does not return */
  safefree(handle);
}



void FUN_00028104(int param_1)

{
  if (*(int **)(param_1 + 4) != (int *)0x0) {
    (**(code **)(**(int **)(param_1 + 4) + 4))();
  }
  conf_free(*(undefined4 *)(param_1 + 0x20));
  safefree(param_1);
  return;
}


lui gp,0x9
addiu gp,gp,-0x2e74
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,0x4(a0)
beq a0,zero,0x00028148
_lw t9,-0x7f24(gp)
lw v0,0x0(a0)
lw t9,0x4(v0)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7f24(gp)
bal 0x0001cb70
_lw a0,0x20(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7f10(gp)
b 0x00022dc4
_addiu sp,sp,0x20
(translation_unit "void FUN_00028104(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00028104(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00028104(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" { (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 "()" ( ))) ;) })) (expression_statement "conf_free(*(undefined4 *)(param_1 + 0x20));" (call_expression "conf_free(*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void raw_free(void *handle)\n\n{\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  conf_free(*(Conf **)((int)handle + 0x20));\n                    /* WARNING: Subroutine does not return */\n  safefree(handle);\n}\n\n" (function_definition "void raw_free(void *handle)\n\n{\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  conf_free(*(Conf **)((int)handle + 0x20));\n                    /* WARNING: Subroutine does not return */\n  safefree(handle);\n}" primitive_type (function_declarator "raw_free(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) ))) (compound_statement "{\n  if (*(int **)((int)handle + 4) != (int *)0x0) {\n    (**(code **)(**(int **)((int)handle + 4) + 4))();\n  }\n  conf_free(*(Conf **)((int)handle + 0x20));\n                    /* WARNING: Subroutine does not return */\n  safefree(handle);\n}" { (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 "()" ( ))) ;) })) (expression_statement "conf_free(*(Conf **)((int)handle + 0x20));" (call_expression "conf_free(*(Conf **)((int)handle + 0x20))" identifier (argument_list "(*(Conf **)((int)handle + 0x20))" ( (pointer_expression "*(Conf **)((int)handle + 0x20)" * (cast_expression "(Conf **)((int)handle + 0x20)" ( (type_descriptor "Conf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)handle + 0x20)" ( (binary_expression "(int)handle + 0x20" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) comment (expression_statement "safefree(handle);" (call_expression "safefree(handle)" identifier (argument_list "(handle)" ( identifier ))) ;) })))
(translation_unit "void FUN_00028104(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00028104(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00028104(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" { (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 "()" ( ))) ;) })) (expression_statement "conf_free(*(undefined4 *)(param_1 + 0x20));" (call_expression "conf_free(*(undefined4 *)(param_1 + 0x20))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x20))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) ))) ;) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" 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 { (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 ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00028104(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00028104(int param_1)" (identifier "FUN_00028104") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  conf_free(*(undefined4 *)(param_1 + 0x20));\n  safefree(param_1);\n  return;\n}" ({ "{") (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "conf_free(*(undefined4 *)(param_1 + 0x20));" (call_expression "conf_free(*(undefined4 *)(param_1 + 0x20))" (identifier "conf_free") (argument_list "(*(undefined4 *)(param_1 + 0x20))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *handle)

{
  if (*(int **)((int)handle + 4) != (int *)0x0) {
    (**(type_1 **)(**(int **)((int)handle + 4) + 4))();
  }
  var_1(*(type_2 **)((int)handle + 0x20));
                    /* WARNING: Subroutine does not return */
  var_2(handle);
}


(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 (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))))) (expression_statement (call_expression function: (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: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int param_1)

{
  if (*(int **)(param_1 + 4) != (int *)0x0) {
    (**(code **)(**(int **)(param_1 + 4) + 4))();
  }
  conf_free(*(undefined4 *)(param_1 + 0x20));
  safefree(param_1);
  return;
}

