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

void sshfwd_unclean_close(ssh_channel *c,char *err)

{
  char *reason;
  Ssh_conflict *ssh;
  
  if (c->ssh->state != CHAN_SHARING) {
    reason = (char *)(*(code *)PTR_dupprintf_000b2404)
                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);
    ssh_channel_close_local(c,reason);
    (*(code *)PTR_safefree_000b23d0)(reason);
    c->pending_eof = 0;
    ssh2_channel_check_close(c);
    return;
  }
  return;
}



void sshfwd_unclean_close(int *param_1)

{
  undefined4 uVar1;
  
  if (*(int *)(*param_1 + 0x144) != 4) {
    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);
    FUN_00037d50(param_1,uVar1);
    (*(code *)PTR_safefree_000b23d0)(uVar1);
    param_1[6] = 0;
    FUN_00048a18(param_1);
    return;
  }
  return;
}


lui gp,0x7
addiu gp,gp,-0x13b4
addu gp,gp,t9
lw v1,0x0(a0)
li v0,0x4
lw v1,0x144(v1)
beq v1,v0,0x0004b7c0
_nop
addiu sp,sp,-0x28
lw t9,-0x7f6c(gp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
sw s1,0x20(sp)
sw gp,0x10(sp)
lw a0,-0x7fc8(gp)
jalr t9
_addiu a0,a0,0x6bc0
or a0,s0,zero
lw gp,0x10(sp)
or a1,v0,zero
lw t9,-0x7c10(gp)
addiu t9,t9,0x7d50
bal 0x00037d50
_or s1,v0,zero
lw gp,0x10(sp)
lw t9,-0x7fa0(gp)
jalr t9
_or a0,s1,zero
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
sw zero,0x18(s0)
lw t9,-0x7a78(gp)
lw s0,0x1c(sp)
addiu t9,t9,-0x75e8
b 0x00048a18
_addiu sp,sp,0x28
jr ra
_nop
(translation_unit "void sshfwd_unclean_close(int *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void sshfwd_unclean_close(int *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sshfwd_unclean_close(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" if (parenthesized_expression "(*(int *)(*param_1 + 0x144) != 4)" ( (binary_expression "*(int *)(*param_1 + 0x144) != 4" (pointer_expression "*(int *)(*param_1 + 0x144)" * (cast_expression "(int *)(*param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x144)" ( (binary_expression "*param_1 + 0x144" (pointer_expression "*param_1" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);" (assignment_expression "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b2404)" ( (pointer_expression "*(code *)PTR_dupprintf_000b2404" * (cast_expression "(code *)PTR_dupprintf_000b2404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + 0x6bc0" identifier + number_literal) )))) ;) (expression_statement "FUN_00037d50(param_1,uVar1);" (call_expression "FUN_00037d50(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(uVar1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00048a18(param_1);" (call_expression "FUN_00048a18(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sshfwd_unclean_close(ssh_channel *c,char *err)\n\n{\n  char *reason;\n  Ssh_conflict *ssh;\n  \n  if (c->ssh->state != CHAN_SHARING) {\n    reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    ssh_channel_close_local(c,reason);\n    (*(code *)PTR_safefree_000b23d0)(reason);\n    c->pending_eof = 0;\n    ssh2_channel_check_close(c);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void sshfwd_unclean_close(ssh_channel *c,char *err)\n\n{\n  char *reason;\n  Ssh_conflict *ssh;\n  \n  if (c->ssh->state != CHAN_SHARING) {\n    reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    ssh_channel_close_local(c,reason);\n    (*(code *)PTR_safefree_000b23d0)(reason);\n    c->pending_eof = 0;\n    ssh2_channel_check_close(c);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sshfwd_unclean_close(ssh_channel *c,char *err)" identifier (parameter_list "(ssh_channel *c,char *err)" ( (parameter_declaration "ssh_channel *c" type_identifier (pointer_declarator "*c" * identifier)) , (parameter_declaration "char *err" primitive_type (pointer_declarator "*err" * identifier)) ))) (compound_statement "{\n  char *reason;\n  Ssh_conflict *ssh;\n  \n  if (c->ssh->state != CHAN_SHARING) {\n    reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    ssh_channel_close_local(c,reason);\n    (*(code *)PTR_safefree_000b23d0)(reason);\n    c->pending_eof = 0;\n    ssh2_channel_check_close(c);\n    return;\n  }\n  return;\n}" { (declaration "char *reason;" primitive_type (pointer_declarator "*reason" * identifier) ;) (declaration "Ssh_conflict *ssh;" type_identifier (pointer_declarator "*ssh" * identifier) ;) (if_statement "if (c->ssh->state != CHAN_SHARING) {\n    reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    ssh_channel_close_local(c,reason);\n    (*(code *)PTR_safefree_000b23d0)(reason);\n    c->pending_eof = 0;\n    ssh2_channel_check_close(c);\n    return;\n  }" if (parenthesized_expression "(c->ssh->state != CHAN_SHARING)" ( (binary_expression "c->ssh->state != CHAN_SHARING" (field_expression "c->ssh->state" (field_expression "c->ssh" identifier -> field_identifier) -> field_identifier) != identifier) )) (compound_statement "{\n    reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    ssh_channel_close_local(c,reason);\n    (*(code *)PTR_safefree_000b23d0)(reason);\n    c->pending_eof = 0;\n    ssh2_channel_check_close(c);\n    return;\n  }" { (expression_statement "reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);" (assignment_expression "reason = (char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" identifier = (cast_expression "(char *)(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupprintf_000b2404)\n                               (PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b2404)" ( (pointer_expression "*(code *)PTR_dupprintf_000b2404" * (cast_expression "(code *)PTR_dupprintf_000b2404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + 0x6bc0" identifier + number_literal) ))))) ;) (expression_statement "ssh_channel_close_local(c,reason);" (call_expression "ssh_channel_close_local(c,reason)" identifier (argument_list "(c,reason)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(reason);" (call_expression "(*(code *)PTR_safefree_000b23d0)(reason)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(reason)" ( identifier ))) ;) (expression_statement "c->pending_eof = 0;" (assignment_expression "c->pending_eof = 0" (field_expression "c->pending_eof" identifier -> field_identifier) = number_literal) ;) (expression_statement "ssh2_channel_check_close(c);" (call_expression "ssh2_channel_check_close(c)" identifier (argument_list "(c)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sshfwd_unclean_close(int *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void sshfwd_unclean_close(int *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sshfwd_unclean_close(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" if (parenthesized_expression "(*(int *)(*param_1 + 0x144) != 4)" ( (binary_expression "*(int *)(*param_1 + 0x144) != 4" (pointer_expression "*(int *)(*param_1 + 0x144)" * (cast_expression "(int *)(*param_1 + 0x144)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x144)" ( (binary_expression "*param_1 + 0x144" (pointer_expression "*param_1" * identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);" (assignment_expression "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b2404)" ( (pointer_expression "*(code *)PTR_dupprintf_000b2404" * (cast_expression "(code *)PTR_dupprintf_000b2404" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" ( (binary_expression "PTR_s_acket_from_server___s_000b23a8 + 0x6bc0" identifier + number_literal) )))) ;) (expression_statement "FUN_00037d50(param_1,uVar1);" (call_expression "FUN_00037d50(param_1,uVar1)" identifier (argument_list "(param_1,uVar1)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_safefree_000b23d0)(uVar1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" ( (pointer_expression "*(code *)PTR_safefree_000b23d0" * (cast_expression "(code *)PTR_safefree_000b23d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00048a18(param_1);" (call_expression "FUN_00048a18(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void sshfwd_unclean_close(int *param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "sshfwd_unclean_close(int *param_1)" (identifier "sshfwd_unclean_close") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(*param_1 + 0x144) != 4) {\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*param_1 + 0x144) != 4)" (( "(") (binary_expression "*(int *)(*param_1 + 0x144) != 4" (pointer_expression "*(int *)(*param_1 + 0x144)" (* "*") (cast_expression "(int *)(*param_1 + 0x144)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x144)" (( "(") (binary_expression "*param_1 + 0x144" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x144")) () ")")))) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);\n    FUN_00037d50(param_1,uVar1);\n    (*(code *)PTR_safefree_000b23d0)(uVar1);\n    param_1[6] = 0;\n    FUN_00048a18(param_1);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);" (assignment_expression "uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b2404)" (( "(") (pointer_expression "*(code *)PTR_dupprintf_000b2404" (* "*") (cast_expression "(code *)PTR_dupprintf_000b2404" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupprintf_000b2404"))) () ")")) (argument_list "(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0)" (( "(") (binary_expression "PTR_s_acket_from_server___s_000b23a8 + 0x6bc0" (identifier "PTR_s_acket_from_server___s_000b23a8") (+ "+") (number_literal "0x6bc0")) () ")")))) (; ";")) (expression_statement "FUN_00037d50(param_1,uVar1);" (call_expression "FUN_00037d50(param_1,uVar1)" (identifier "FUN_00037d50") (argument_list "(param_1,uVar1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_safefree_000b23d0)(uVar1);" (call_expression "(*(code *)PTR_safefree_000b23d0)(uVar1)" (parenthesized_expression "(*(code *)PTR_safefree_000b23d0)" (( "(") (pointer_expression "*(code *)PTR_safefree_000b23d0" (* "*") (cast_expression "(code *)PTR_safefree_000b23d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000b23d0"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00048a18(param_1);" (call_expression "FUN_00048a18(param_1)" (identifier "FUN_00048a18") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (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)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(int *param_1)

{
  undefined4 uVar1;
  
  if (*(int *)(*param_1 + 0x144) != 4) {
    uVar1 = (*(code *)PTR_dupprintf_000b2404)(PTR_s_acket_from_server___s_000b23a8 + 0x6bc0);
    FUN_00037d50(param_1,uVar1);
    (*(code *)PTR_safefree_000b23d0)(uVar1);
    param_1[6] = 0;
    FUN_00048a18(param_1);
    return;
  }
  return;
}

