
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void pageant_listener_free(pageant_listen_state *pl)

{
  Socket ppsVar1;
  
  ppsVar1 = pl->listensock;
  if (ppsVar1 != (Socket)0x0) {
    (*(*ppsVar1)->close)(ppsVar1);
  }
                    /* WARNING: Subroutine does not return */
  safefree(pl);
}



void FUN_00020898(int param_1)

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


lui gp,0x6
addiu gp,gp,0x7d8
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,0x000208dc
_lw ra,0x1c(sp)
lw v0,0x0(a0)
lw t9,0x4(v0)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7f80(gp)
lw s0,0x18(sp)
b 0x0001d994
_addiu sp,sp,0x20
(translation_unit "void FUN_00020898(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00020898(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00020898(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  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 "safefree(param_1);" (call_expression "safefree(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pageant_listener_free(pageant_listen_state *pl)\n\n{\n  Socket ppsVar1;\n  \n  ppsVar1 = pl->listensock;\n  if (ppsVar1 != (Socket)0x0) {\n    (*(*ppsVar1)->close)(ppsVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  safefree(pl);\n}\n\n" comment (function_definition "void pageant_listener_free(pageant_listen_state *pl)\n\n{\n  Socket ppsVar1;\n  \n  ppsVar1 = pl->listensock;\n  if (ppsVar1 != (Socket)0x0) {\n    (*(*ppsVar1)->close)(ppsVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  safefree(pl);\n}" primitive_type (function_declarator "pageant_listener_free(pageant_listen_state *pl)" identifier (parameter_list "(pageant_listen_state *pl)" ( (parameter_declaration "pageant_listen_state *pl" type_identifier (pointer_declarator "*pl" * identifier)) ))) (compound_statement "{\n  Socket ppsVar1;\n  \n  ppsVar1 = pl->listensock;\n  if (ppsVar1 != (Socket)0x0) {\n    (*(*ppsVar1)->close)(ppsVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  safefree(pl);\n}" { (declaration "Socket ppsVar1;" type_identifier identifier ;) (expression_statement "ppsVar1 = pl->listensock;" (assignment_expression "ppsVar1 = pl->listensock" identifier = (field_expression "pl->listensock" identifier -> field_identifier)) ;) (if_statement "if (ppsVar1 != (Socket)0x0) {\n    (*(*ppsVar1)->close)(ppsVar1);\n  }" if (parenthesized_expression "(ppsVar1 != (Socket)0x0)" ( (binary_expression "ppsVar1 != (Socket)0x0" identifier != (cast_expression "(Socket)0x0" ( (type_descriptor "Socket" type_identifier) ) number_literal)) )) (compound_statement "{\n    (*(*ppsVar1)->close)(ppsVar1);\n  }" { (expression_statement "(*(*ppsVar1)->close)(ppsVar1);" (call_expression "(*(*ppsVar1)->close)(ppsVar1)" (parenthesized_expression "(*(*ppsVar1)->close)" ( (pointer_expression "*(*ppsVar1)->close" * (field_expression "(*ppsVar1)->close" (parenthesized_expression "(*ppsVar1)" ( (pointer_expression "*ppsVar1" * identifier) )) -> field_identifier)) )) (argument_list "(ppsVar1)" ( identifier ))) ;) })) comment (expression_statement "safefree(pl);" (call_expression "safefree(pl)" identifier (argument_list "(pl)" ( identifier ))) ;) })))
(translation_unit "void FUN_00020898(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  safefree(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00020898(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  safefree(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00020898(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  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 "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 ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00020898(int param_1)\n\n{\n  if (*(int **)(param_1 + 4) != (int *)0x0) {\n    (**(code **)(**(int **)(param_1 + 4) + 4))();\n  }\n  safefree(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00020898(int param_1)" (identifier "FUN_00020898") (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  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 "safefree(param_1);" (call_expression "safefree(param_1)" (identifier "safefree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (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: (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 (identifier)))) (return_statement))))

void MASKED(int param_1)

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

