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

void raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)

{
  undefined *puVar1;
  int iVar2;
  
  if (error_msg != (char *)0x0) {
    if (plug[1] != (plug_function_table *)0x0) {
      (**(code **)(plug[1]->log + 4))();
      plug[1] = (plug_function_table *)0x0;
      puVar1 = PTR_notify_remote_exit_001116d4;
      plug[2] = (plug_function_table *)0x1;
      (*(code *)puVar1)(plug[4]);
    }
    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);
                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);
    return;
  }
  if ((plug[5] == (plug_function_table *)0x0) &&
     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)) {
    if (plug[6] == (plug_function_table *)0x0) {
      if (plug[1] != (plug_function_table *)0x0) {
        (**(code **)(plug[1]->log + 0x10))();
      }
      plug[6] = (plug_function_table *)0x1;
      plug[5] = (plug_function_table *)0x1;
    }
    else {
      plug[5] = (plug_function_table *)0x1;
    }
  }
  else {
    plug[5] = (plug_function_table *)0x1;
    if (plug[6] == (plug_function_table *)0x0) {
      return;
    }
  }
  raw_check_close((Raw)plug);
  return;
}



void FUN_0003fb00(int param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  
  if (param_2 != 0) {
    if (*(int **)(param_1 + 4) != (int *)0x0) {
      (**(code **)(**(int **)(param_1 + 4) + 4))();
      *(undefined4 *)(param_1 + 4) = 0;
      puVar1 = PTR_notify_remote_exit_001116d4;
      *(undefined4 *)(param_1 + 8) = 1;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));
    }
    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);
                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_connection_fatal_001116d8)
              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);
    return;
  }
  if ((*(int *)(param_1 + 0x14) == 0) &&
     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)
     ) {
    if (*(int *)(param_1 + 0x18) == 0) {
      if (*(int **)(param_1 + 4) != (int *)0x0) {
        (**(code **)(**(int **)(param_1 + 4) + 0x10))();
      }
      *(undefined4 *)(param_1 + 0x18) = 1;
      *(undefined4 *)(param_1 + 0x14) = 1;
    }
    else {
      *(undefined4 *)(param_1 + 0x14) = 1;
    }
  }
  else {
    *(undefined4 *)(param_1 + 0x14) = 1;
    if (*(int *)(param_1 + 0x18) == 0) {
      return;
    }
  }
  FUN_0003f9a8(param_1);
  return;
}


lui gp,0xe
addiu gp,gp,-0x6850
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
beq a1,zero,0x0003fba0
_sw s1,0x20(sp)
lw a0,0x4(a0)
beq a0,zero,0x0003fb64
_or s1,a1,zero
lw v0,0x0(a0)
lw t9,0x4(v0)
jalr t9
_nop
li v0,0x1
lw gp,0x10(sp)
lw a0,0x10(s0)
sw zero,0x4(s0)
lw t9,-0x7bdc(gp)
jalr t9
_sw v0,0x8(s0)
lw gp,0x10(sp)
lw t9,-0x7f04(gp)
or a1,s1,zero
jalr t9
_lw a0,0x10(s0)
or a2,s1,zero
lw gp,0x10(sp)
lw a0,0x10(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw a1,-0x7fb8(gp)
lw s0,0x1c(sp)
addiu sp,sp,0x28
lw t9,-0x7bd8(gp)
jr t9
_addiu a1,a1,0x7510
lw v0,0x14(a0)
beq v0,zero,0x0003fbd0
_lw t9,-0x7bd4(gp)
lw v0,0x18(s0)
li v1,0x1
bne v0,zero,0x0003fc18
_sw v1,0x14(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jalr t9
_lw a0,0x10(a0)
beq v0,zero,0x0003fbac
_lw gp,0x10(sp)
lw v0,0x18(s0)
bne v0,zero,0x0003fc38
_li v0,0x1
lw a0,0x4(s0)
beq a0,zero,0x0003fc10
_nop
lw v0,0x0(a0)
lw t9,0x10(v0)
jalr t9
_nop
lw gp,0x10(sp)
li v0,0x1
sw v0,0x18(s0)
sw v0,0x14(s0)
lw t9,-0x7ca0(gp)
or a0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
addiu t9,t9,-0x658
b 0x0003f9a8
_addiu sp,sp,0x28
b 0x0003fc18
_sw v0,0x14(s0)
(translation_unit "void FUN_0003fb00(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0003fb00(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0003fb00(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" { (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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 "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_notify_remote_exit_001116d4;" (assignment_expression "puVar1 = PTR_notify_remote_exit_001116d4" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 1" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) })) (expression_statement "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);" (call_expression "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2)" (parenthesized_expression "(*(code *)PTR_logevent_001113ac)" ( (pointer_expression "*(code *)PTR_logevent_001113ac" * (cast_expression "(code *)PTR_logevent_001113ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier ))) ;) comment comment (expression_statement "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);" (call_expression "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" (parenthesized_expression "(*(code *)PTR_connection_fatal_001116d8)" ( (pointer_expression "*(code *)PTR_connection_fatal_001116d8" * (cast_expression "(code *)PTR_connection_fatal_001116d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (binary_expression "PTR_DAT_001112f8 + 0x7510" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     )" ( (binary_expression "(*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" ( (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "(*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_from_backend_eof_001116dc)" ( (pointer_expression "*(code *)PTR_from_backend_eof_001116dc" * (cast_expression "(code *)PTR_from_backend_eof_001116dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" ( (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" { (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\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) + 0x10))();\n      }" { (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x10))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x10)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x10)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 0x10)" ( (binary_expression "**(int **)(param_1 + 4) + 0x10" (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 "*(undefined4 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" else (compound_statement "{\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }))) }) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" else (compound_statement "{\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" ( (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "FUN_0003f9a8(param_1);" (call_expression "FUN_0003f9a8(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 raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (error_msg != (char *)0x0) {\n    if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }\n    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);\n    return;\n  }\n  if ((plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)) {\n    if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }\n  }\n  else {\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }\n  raw_check_close((Raw)plug);\n  return;\n}\n\n" comment (function_definition "void raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (error_msg != (char *)0x0) {\n    if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }\n    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);\n    return;\n  }\n  if ((plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)) {\n    if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }\n  }\n  else {\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }\n  raw_check_close((Raw)plug);\n  return;\n}" primitive_type (function_declarator "raw_closing(Plug plug,char *error_msg,int error_code,int calling_back)" identifier (parameter_list "(Plug plug,char *error_msg,int error_code,int calling_back)" ( (parameter_declaration "Plug plug" type_identifier identifier) , (parameter_declaration "char *error_msg" primitive_type (pointer_declarator "*error_msg" * identifier)) , (parameter_declaration "int error_code" primitive_type identifier) , (parameter_declaration "int calling_back" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (error_msg != (char *)0x0) {\n    if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }\n    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);\n    return;\n  }\n  if ((plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)) {\n    if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }\n  }\n  else {\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }\n  raw_check_close((Raw)plug);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (error_msg != (char *)0x0) {\n    if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }\n    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);\n    return;\n  }" if (parenthesized_expression "(error_msg != (char *)0x0)" ( (binary_expression "error_msg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }\n    (*(code *)PTR_logevent_001113ac)(plug[4],error_msg);\n                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);\n    return;\n  }" { (if_statement "if (plug[1] != (plug_function_table *)0x0) {\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }" if (parenthesized_expression "(plug[1] != (plug_function_table *)0x0)" ( (binary_expression "plug[1] != (plug_function_table *)0x0" (subscript_expression "plug[1]" identifier [ number_literal ]) != (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(plug[1]->log + 4))();\n      plug[1] = (plug_function_table *)0x0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      plug[2] = (plug_function_table *)0x1;\n      (*(code *)puVar1)(plug[4]);\n    }" { (expression_statement "(**(code **)(plug[1]->log + 4))();" (call_expression "(**(code **)(plug[1]->log + 4))()" (parenthesized_expression "(**(code **)(plug[1]->log + 4))" ( (pointer_expression "**(code **)(plug[1]->log + 4)" * (pointer_expression "*(code **)(plug[1]->log + 4)" * (cast_expression "(code **)(plug[1]->log + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(plug[1]->log + 4)" ( (binary_expression "plug[1]->log + 4" (field_expression "plug[1]->log" (subscript_expression "plug[1]" identifier [ number_literal ]) -> field_identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "plug[1] = (plug_function_table *)0x0;" (assignment_expression "plug[1] = (plug_function_table *)0x0" (subscript_expression "plug[1]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = PTR_notify_remote_exit_001116d4;" (assignment_expression "puVar1 = PTR_notify_remote_exit_001116d4" identifier = identifier) ;) (expression_statement "plug[2] = (plug_function_table *)0x1;" (assignment_expression "plug[2] = (plug_function_table *)0x1" (subscript_expression "plug[2]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x1" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(plug[4]);" (call_expression "(*(code *)puVar1)(plug[4])" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(plug[4])" ( (subscript_expression "plug[4]" identifier [ number_literal ]) ))) ;) })) (expression_statement "(*(code *)PTR_logevent_001113ac)(plug[4],error_msg);" (call_expression "(*(code *)PTR_logevent_001113ac)(plug[4],error_msg)" (parenthesized_expression "(*(code *)PTR_logevent_001113ac)" ( (pointer_expression "*(code *)PTR_logevent_001113ac" * (cast_expression "(code *)PTR_logevent_001113ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(plug[4],error_msg)" ( (subscript_expression "plug[4]" identifier [ number_literal ]) , identifier ))) ;) comment comment (expression_statement "(*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg);" (call_expression "(*(code *)PTR_connection_fatal_001116d8)(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg)" (parenthesized_expression "(*(code *)PTR_connection_fatal_001116d8)" ( (pointer_expression "*(code *)PTR_connection_fatal_001116d8" * (cast_expression "(code *)PTR_connection_fatal_001116d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(plug[4],PTR_E1_202__001112f8 + 0x7510,error_msg)" ( (subscript_expression "plug[4]" identifier [ number_literal ]) , (binary_expression "PTR_E1_202__001112f8 + 0x7510" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)) {\n    if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }\n  }\n  else {\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "((plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0))" ( (binary_expression "(plug[5] == (plug_function_table *)0x0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)" (parenthesized_expression "(plug[5] == (plug_function_table *)0x0)" ( (binary_expression "plug[5] == (plug_function_table *)0x0" (subscript_expression "plug[5]" identifier [ number_literal ]) == (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4]), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(plug[4])" identifier = (call_expression "(*(code *)PTR_from_backend_eof_001116dc)(plug[4])" (parenthesized_expression "(*(code *)PTR_from_backend_eof_001116dc)" ( (pointer_expression "*(code *)PTR_from_backend_eof_001116dc" * (cast_expression "(code *)PTR_from_backend_eof_001116dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(plug[4])" ( (subscript_expression "plug[4]" identifier [ number_literal ]) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }\n  }" { (if_statement "if (plug[6] == (plug_function_table *)0x0) {\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }\n    else {\n      plug[5] = (plug_function_table *)0x1;\n    }" if (parenthesized_expression "(plug[6] == (plug_function_table *)0x0)" ( (binary_expression "plug[6] == (plug_function_table *)0x0" (subscript_expression "plug[6]" identifier [ number_literal ]) == (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }\n      plug[6] = (plug_function_table *)0x1;\n      plug[5] = (plug_function_table *)0x1;\n    }" { (if_statement "if (plug[1] != (plug_function_table *)0x0) {\n        (**(code **)(plug[1]->log + 0x10))();\n      }" if (parenthesized_expression "(plug[1] != (plug_function_table *)0x0)" ( (binary_expression "plug[1] != (plug_function_table *)0x0" (subscript_expression "plug[1]" identifier [ number_literal ]) != (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (**(code **)(plug[1]->log + 0x10))();\n      }" { (expression_statement "(**(code **)(plug[1]->log + 0x10))();" (call_expression "(**(code **)(plug[1]->log + 0x10))()" (parenthesized_expression "(**(code **)(plug[1]->log + 0x10))" ( (pointer_expression "**(code **)(plug[1]->log + 0x10)" * (pointer_expression "*(code **)(plug[1]->log + 0x10)" * (cast_expression "(code **)(plug[1]->log + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(plug[1]->log + 0x10)" ( (binary_expression "plug[1]->log + 0x10" (field_expression "plug[1]->log" (subscript_expression "plug[1]" identifier [ number_literal ]) -> field_identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "plug[6] = (plug_function_table *)0x1;" (assignment_expression "plug[6] = (plug_function_table *)0x1" (subscript_expression "plug[6]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x1" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "plug[5] = (plug_function_table *)0x1;" (assignment_expression "plug[5] = (plug_function_table *)0x1" (subscript_expression "plug[5]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x1" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      plug[5] = (plug_function_table *)0x1;\n    }" else (compound_statement "{\n      plug[5] = (plug_function_table *)0x1;\n    }" { (expression_statement "plug[5] = (plug_function_table *)0x1;" (assignment_expression "plug[5] = (plug_function_table *)0x1" (subscript_expression "plug[5]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x1" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) }) (else_clause "else {\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }" else (compound_statement "{\n    plug[5] = (plug_function_table *)0x1;\n    if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }\n  }" { (expression_statement "plug[5] = (plug_function_table *)0x1;" (assignment_expression "plug[5] = (plug_function_table *)0x1" (subscript_expression "plug[5]" identifier [ number_literal ]) = (cast_expression "(plug_function_table *)0x1" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (plug[6] == (plug_function_table *)0x0) {\n      return;\n    }" if (parenthesized_expression "(plug[6] == (plug_function_table *)0x0)" ( (binary_expression "plug[6] == (plug_function_table *)0x0" (subscript_expression "plug[6]" identifier [ number_literal ]) == (cast_expression "(plug_function_table *)0x0" ( (type_descriptor "plug_function_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "raw_check_close((Raw)plug);" (call_expression "raw_check_close((Raw)plug)" identifier (argument_list "((Raw)plug)" ( (cast_expression "(Raw)plug" ( (type_descriptor "Raw" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003fb00(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0003fb00(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0003fb00(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" { (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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 "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_notify_remote_exit_001116d4;" (assignment_expression "puVar1 = PTR_notify_remote_exit_001116d4" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 1" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) })) (expression_statement "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);" (call_expression "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2)" (parenthesized_expression "(*(code *)PTR_logevent_001113ac)" ( (pointer_expression "*(code *)PTR_logevent_001113ac" * (cast_expression "(code *)PTR_logevent_001113ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);" (call_expression "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" (parenthesized_expression "(*(code *)PTR_connection_fatal_001116d8)" ( (pointer_expression "*(code *)PTR_connection_fatal_001116d8" * (cast_expression "(code *)PTR_connection_fatal_001116d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (binary_expression "PTR_DAT_001112f8 + 0x7510" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     )" ( (binary_expression "(*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" ( (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "(*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_from_backend_eof_001116dc)" ( (pointer_expression "*(code *)PTR_from_backend_eof_001116dc" * (cast_expression "(code *)PTR_from_backend_eof_001116dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" ( (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" { (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\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) + 0x10))();\n      }" { (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x10))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x10)" * (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x10)" * (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 4) + 0x10)" ( (binary_expression "**(int **)(param_1 + 4) + 0x10" (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 "*(undefined4 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" else (compound_statement "{\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }))) }) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" else (compound_statement "{\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" ( (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }))) (expression_statement "FUN_0003f9a8(param_1);" (call_expression "FUN_0003f9a8(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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (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) )))) , (binary_expression IDENT + LIT) , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (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) )))) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (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 { (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 (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) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 { (return_statement return ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0003fb00(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003fb00(int param_1,int param_2)" (identifier "FUN_0003fb00") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }\n  if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }\n  FUN_0003f9a8(param_1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_2 != 0) {\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\n    }\n    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);\n                    \n                    \n    (*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);\n    return;\n  }" ({ "{") (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n      (**(code **)(**(int **)(param_1 + 4) + 4))();\n      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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      *(undefined4 *)(param_1 + 4) = 0;\n      puVar1 = PTR_notify_remote_exit_001116d4;\n      *(undefined4 *)(param_1 + 8) = 1;\n      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));\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 "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = PTR_notify_remote_exit_001116d4;" (assignment_expression "puVar1 = PTR_notify_remote_exit_001116d4" (identifier "puVar1") (= "=") (identifier "PTR_notify_remote_exit_001116d4")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 1" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));" (call_expression "(*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);" (call_expression "(*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2)" (parenthesized_expression "(*(code *)PTR_logevent_001113ac)" (( "(") (pointer_expression "*(code *)PTR_logevent_001113ac" (* "*") (cast_expression "(code *)PTR_logevent_001113ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_logevent_001113ac"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x10),param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);" (call_expression "(*(code *)PTR_connection_fatal_001116d8)\n              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" (parenthesized_expression "(*(code *)PTR_connection_fatal_001116d8)" (( "(") (pointer_expression "*(code *)PTR_connection_fatal_001116d8" (* "*") (cast_expression "(code *)PTR_connection_fatal_001116d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_connection_fatal_001116d8"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (binary_expression "PTR_DAT_001112f8 + 0x7510" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "0x7510")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     ) {\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }\n  else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)\n     )" (( "(") (binary_expression "(*(int *)(param_1 + 0x14) == 0) &&\n     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10))" (parenthesized_expression "(*(code *)PTR_from_backend_eof_001116dc)" (( "(") (pointer_expression "*(code *)PTR_from_backend_eof_001116dc" (* "*") (cast_expression "(code *)PTR_from_backend_eof_001116dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_from_backend_eof_001116dc"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }\n    else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\n      }\n      *(undefined4 *)(param_1 + 0x18) = 1;\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" ({ "{") (if_statement "if (*(int **)(param_1 + 4) != (int *)0x0) {\n        (**(code **)(**(int **)(param_1 + 4) + 0x10))();\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) + 0x10))();\n      }" ({ "{") (expression_statement "(**(code **)(**(int **)(param_1 + 4) + 0x10))();" (call_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))()" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 4) + 0x10))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 4) + 0x10)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 4) + 0x10)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 4) + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 4) + 0x10)" (( "(") (binary_expression "**(int **)(param_1 + 4) + 0x10" (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 "0x10")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(param_1 + 0x14) = 1;\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(param_1 + 0x14) = 1;\n    if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x14) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x18) == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x18) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) == 0" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_0003f9a8(param_1);" (call_expression "FUN_0003f9a8(param_1)" (identifier "FUN_0003f9a8") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 plug,char *var_1,int error_code,int calling_back)

{
  type_2 *puVar1;
  int var_3;
  
  if (var_1 != (char *)0x0) {
    if (plug[1] != (type_3 *)0x0) {
      (**(type_4 **)(plug[1]->log + 4))();
      plug[1] = (type_3 *)0x0;
      puVar1 = PTR_notify_remote_exit_001116d4;
      plug[2] = (type_3 *)0x1;
      (*(type_4 *)puVar1)(plug[4]);
    }
    (*(type_4 *)PTR_logevent_001113ac)(plug[4],var_1);
                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(type_4 *)PTR_connection_fatal_001116d8)(plug[4],var_2 + 0x7510,var_1);
    return;
  }
  if ((plug[5] == (type_3 *)0x0) &&
     (var_3 = (*(type_4 *)PTR_from_backend_eof_001116dc)(plug[4]), var_3 != 0)) {
    if (plug[6] == (type_3 *)0x0) {
      if (plug[1] != (type_3 *)0x0) {
        (**(type_4 **)(plug[1]->log + 0x10))();
      }
      plug[6] = (type_3 *)0x1;
      plug[5] = (type_3 *)0x1;
    }
    else {
      plug[5] = (type_3 *)0x1;
    }
  }
  else {
    plug[5] = (type_3 *)0x1;
    if (plug[6] == (type_3 *)0x0) {
      return;
    }
  }
  var_4((type_5)plug);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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 (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: (identifier) right: (identifier))) (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 (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 (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))))) (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 (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))))) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (parenthesized_expression (comma_expression left: (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 (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: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (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 (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)))) alternative: (else_clause (compound_statement (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))))))) alternative: (else_clause (compound_statement (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))) (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 (return_statement)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  
  if (param_2 != 0) {
    if (*(int **)(param_1 + 4) != (int *)0x0) {
      (**(code **)(**(int **)(param_1 + 4) + 4))();
      *(undefined4 *)(param_1 + 4) = 0;
      puVar1 = PTR_notify_remote_exit_001116d4;
      *(undefined4 *)(param_1 + 8) = 1;
      (*(code *)puVar1)(*(undefined4 *)(param_1 + 0x10));
    }
    (*(code *)PTR_logevent_001113ac)(*(undefined4 *)(param_1 + 0x10),param_2);
                    /* WARNING: Could not recover jumptable at 0x0003fb98. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR_connection_fatal_001116d8)
              (*(undefined4 *)(param_1 + 0x10),PTR_DAT_001112f8 + 0x7510,param_2);
    return;
  }
  if ((*(int *)(param_1 + 0x14) == 0) &&
     (iVar2 = (*(code *)PTR_from_backend_eof_001116dc)(*(undefined4 *)(param_1 + 0x10)), iVar2 != 0)
     ) {
    if (*(int *)(param_1 + 0x18) == 0) {
      if (*(int **)(param_1 + 4) != (int *)0x0) {
        (**(code **)(**(int **)(param_1 + 4) + 0x10))();
      }
      *(undefined4 *)(param_1 + 0x18) = 1;
      *(undefined4 *)(param_1 + 0x14) = 1;
    }
    else {
      *(undefined4 *)(param_1 + 0x14) = 1;
    }
  }
  else {
    *(undefined4 *)(param_1 + 0x14) = 1;
    if (*(int *)(param_1 + 0x18) == 0) {
      return;
    }
  }
  FUN_0003f9a8(param_1);
  return;
}

