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

void ssh2_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)

{
  ssh_channel *c;
  ulong uVar1;
  int iVar2;
  PortForwarding *pf;
  
  c = ssh_channel_msg(ssh,pktin);
  if (c != (ssh_channel *)0x0) {
    if (c->halfopen == 0) {
      (*(code *)PTR___assert_fail_000adb00)
                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,
                 PTR_DAT_000ad2c8 + 0xbc4);
      return;
    }
    uVar1 = ssh_pkt_getuint32(pktin);
    c->remoteid = uVar1;
    c->halfopen = 0;
    uVar1 = ssh_pkt_getuint32(pktin);
    (c->v).v2.remwindow = uVar1;
    uVar1 = ssh_pkt_getuint32(pktin);
    iVar2 = c->type;
    (c->v).v2.remmaxpkt = uVar1;
    if (iVar2 == 3) {
      pf = (PortForwarding *)(c->u).a.inbuffer.head;
      if (pf == (PortForwarding *)0x0) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      pfd_confirm(pf);
      iVar2 = c->pending_eof;
    }
    else {
      if (iVar2 != 5) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      ssh2_channel_check_close(c);
      iVar2 = c->pending_eof;
    }
    if (iVar2 != 0) {
      ssh_channel_try_eof(c);
      return;
    }
  }
  return;
}



void FUN_00043858(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar1 = FUN_0003ffc0();
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 0x10) == 0) {
      (*(code *)PTR___assert_fail_000adb00)
                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,
                 PTR_DAT_000ad2c8 + 0xbc4);
      return;
    }
    uVar2 = FUN_0002f068(param_2);
    *(undefined4 *)(iVar1 + 4) = uVar2;
    *(undefined4 *)(iVar1 + 0x10) = 0;
    uVar2 = FUN_0002f068();
    *(undefined4 *)(iVar1 + 0x2c) = uVar2;
    uVar2 = FUN_0002f068();
    *(undefined4 *)(iVar1 + 0x30) = uVar2;
    if (*(int *)(iVar1 + 0xc) == 3) {
      if (*(int *)(iVar1 + 0x4c) == 0) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      pfd_confirm();
      iVar3 = *(int *)(iVar1 + 0x18);
    }
    else {
      if (*(int *)(iVar1 + 0xc) != 5) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      FUN_00040e98(iVar1);
      iVar3 = *(int *)(iVar1 + 0x18);
    }
    if (iVar3 != 0) {
      FUN_00041020(iVar1);
      return;
    }
  }
  return;
}


lui gp,0x7
addiu gp,gp,0x1a38
addu gp,gp,t9
lw t9,-0x7b94(gp)
addiu sp,sp,-0x28
addiu t9,t9,-0x40
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw ra,0x24(sp)
bal 0x0003ffc0
_sw s0,0x1c(sp)
beq v0,zero,0x000438f8
_lw gp,0x10(sp)
or s0,v0,zero
lw v0,0x10(v0)
beq v0,zero,0x0004394c
_lw t9,-0x7ce0(gp)
addiu t9,t9,-0xf98
bal 0x0002f068
_or a0,s1,zero
sw v0,0x4(s0)
bal 0x0002f068
_sw zero,0x10(s0)
bal 0x0002f068
_sw v0,0x2c(s0)
li a0,0x3
lw v1,0xc(s0)
lw gp,0x10(sp)
beq v1,a0,0x0004390c
_sw v0,0x30(s0)
li v0,0x5
bne v1,v0,0x00043970
_lw t9,-0x7b94(gp)
addiu t9,t9,0xe98
bal 0x00040e98
_or a0,s0,zero
lw v0,0x18(s0)
bne v0,zero,0x0004392c
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a0,0x4c(s0)
beq a0,zero,0x00043994
_lw t9,-0x7a84(gp)
bal 0x00024798
_nop
lw v0,0x18(s0)
beq v0,zero,0x000438f8
_lw gp,0x10(sp)
lw t9,-0x7b94(gp)
or a0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
addiu t9,t9,0x1020
b 0x00041020
_addiu sp,sp,0x28
lw a3,-0x7fc8(gp)
li a2,0x211a
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7790(gp)
addiu a3,a3,0xbc4
addiu a1,a1,-0x3c40
jalr t9
_addiu a0,a0,-0xa24
lw a3,-0x7fc8(gp)
li a2,0x2138
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7790(gp)
addiu a3,a3,0xbc4
addiu a1,a1,-0x3c40
jalr t9
_addiu a0,a0,-0x684
lw a3,-0x7fc8(gp)
li a2,0x2121
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7790(gp)
addiu a3,a3,0xbc4
addiu a1,a1,-0x3c40
jalr t9
_addiu a0,a0,-0x3af4
(translation_unit "void FUN_00043858(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00043858(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00043858(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003ffc0();" (assignment_expression "iVar1 = FUN_0003ffc0()" identifier = (call_expression "FUN_0003ffc0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" { (if_statement "if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x10) == 0" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa24" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_0002f068(param_2);" (assignment_expression "uVar2 = FUN_0002f068(param_2)" identifier = (call_expression "FUN_0002f068(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" identifier = (call_expression "FUN_0002f068()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x2c) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x2c)" * (cast_expression "(undefined4 *)(iVar1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" identifier = (call_expression "FUN_0002f068()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) == 3)" ( (binary_expression "*(int *)(iVar1 + 0xc) == 3" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" { (if_statement "if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x4c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x4c) == 0" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x3af4" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "pfd_confirm();" (call_expression "pfd_confirm()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" else (compound_statement "{\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" { (if_statement "if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 5)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 5" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x684" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00040e98(iVar1);" (call_expression "FUN_00040e98(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00041020(iVar1);\n      return;\n    }" { (expression_statement "FUN_00041020(iVar1);" (call_expression "FUN_00041020(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)\n\n{\n  ssh_channel *c;\n  ulong uVar1;\n  int iVar2;\n  PortForwarding *pf;\n  \n  c = ssh_channel_msg(ssh,pktin);\n  if (c != (ssh_channel *)0x0) {\n    if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar1 = ssh_pkt_getuint32(pktin);\n    c->remoteid = uVar1;\n    c->halfopen = 0;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    (c->v).v2.remwindow = uVar1;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    iVar2 = c->type;\n    (c->v).v2.remmaxpkt = uVar1;\n    if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }\n    if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void ssh2_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)\n\n{\n  ssh_channel *c;\n  ulong uVar1;\n  int iVar2;\n  PortForwarding *pf;\n  \n  c = ssh_channel_msg(ssh,pktin);\n  if (c != (ssh_channel *)0x0) {\n    if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar1 = ssh_pkt_getuint32(pktin);\n    c->remoteid = uVar1;\n    c->halfopen = 0;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    (c->v).v2.remwindow = uVar1;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    iVar2 = c->type;\n    (c->v).v2.remmaxpkt = uVar1;\n    if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }\n    if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "ssh2_msg_channel_open_confirmation(Ssh_conflict ssh,Packet *pktin)" identifier (parameter_list "(Ssh_conflict ssh,Packet *pktin)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "Packet *pktin" type_identifier (pointer_declarator "*pktin" * identifier)) ))) (compound_statement "{\n  ssh_channel *c;\n  ulong uVar1;\n  int iVar2;\n  PortForwarding *pf;\n  \n  c = ssh_channel_msg(ssh,pktin);\n  if (c != (ssh_channel *)0x0) {\n    if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar1 = ssh_pkt_getuint32(pktin);\n    c->remoteid = uVar1;\n    c->halfopen = 0;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    (c->v).v2.remwindow = uVar1;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    iVar2 = c->type;\n    (c->v).v2.remmaxpkt = uVar1;\n    if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }\n    if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ssh_channel *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "PortForwarding *pf;" type_identifier (pointer_declarator "*pf" * identifier) ;) (expression_statement "c = ssh_channel_msg(ssh,pktin);" (assignment_expression "c = ssh_channel_msg(ssh,pktin)" identifier = (call_expression "ssh_channel_msg(ssh,pktin)" identifier (argument_list "(ssh,pktin)" ( identifier , identifier )))) ;) (if_statement "if (c != (ssh_channel *)0x0) {\n    if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar1 = ssh_pkt_getuint32(pktin);\n    c->remoteid = uVar1;\n    c->halfopen = 0;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    (c->v).v2.remwindow = uVar1;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    iVar2 = c->type;\n    (c->v).v2.remmaxpkt = uVar1;\n    if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }\n    if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }\n  }" if (parenthesized_expression "(c != (ssh_channel *)0x0)" ( (binary_expression "c != (ssh_channel *)0x0" identifier != (cast_expression "(ssh_channel *)0x0" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar1 = ssh_pkt_getuint32(pktin);\n    c->remoteid = uVar1;\n    c->halfopen = 0;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    (c->v).v2.remwindow = uVar1;\n    uVar1 = ssh_pkt_getuint32(pktin);\n    iVar2 = c->type;\n    (c->v).v2.remmaxpkt = uVar1;\n    if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }\n    if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }\n  }" { (if_statement "if (c->halfopen == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" if (parenthesized_expression "(c->halfopen == 0)" ( (binary_expression "c->halfopen == 0" (field_expression "c->halfopen" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa24" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar1 = ssh_pkt_getuint32(pktin);" (assignment_expression "uVar1 = ssh_pkt_getuint32(pktin)" identifier = (call_expression "ssh_pkt_getuint32(pktin)" identifier (argument_list "(pktin)" ( identifier )))) ;) (expression_statement "c->remoteid = uVar1;" (assignment_expression "c->remoteid = uVar1" (field_expression "c->remoteid" identifier -> field_identifier) = identifier) ;) (expression_statement "c->halfopen = 0;" (assignment_expression "c->halfopen = 0" (field_expression "c->halfopen" identifier -> field_identifier) = number_literal) ;) (expression_statement "uVar1 = ssh_pkt_getuint32(pktin);" (assignment_expression "uVar1 = ssh_pkt_getuint32(pktin)" identifier = (call_expression "ssh_pkt_getuint32(pktin)" identifier (argument_list "(pktin)" ( identifier )))) ;) (expression_statement "(c->v).v2.remwindow = uVar1;" (assignment_expression "(c->v).v2.remwindow = uVar1" (field_expression "(c->v).v2.remwindow" (field_expression "(c->v).v2" (parenthesized_expression "(c->v)" ( (field_expression "c->v" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "uVar1 = ssh_pkt_getuint32(pktin);" (assignment_expression "uVar1 = ssh_pkt_getuint32(pktin)" identifier = (call_expression "ssh_pkt_getuint32(pktin)" identifier (argument_list "(pktin)" ( identifier )))) ;) (expression_statement "iVar2 = c->type;" (assignment_expression "iVar2 = c->type" identifier = (field_expression "c->type" identifier -> field_identifier)) ;) (expression_statement "(c->v).v2.remmaxpkt = uVar1;" (assignment_expression "(c->v).v2.remmaxpkt = uVar1" (field_expression "(c->v).v2.remmaxpkt" (field_expression "(c->v).v2" (parenthesized_expression "(c->v)" ( (field_expression "c->v" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (if_statement "if (iVar2 == 3) {\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }\n    else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n      pf = (PortForwarding *)(c->u).a.inbuffer.head;\n      if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm(pf);\n      iVar2 = c->pending_eof;\n    }" { (expression_statement "pf = (PortForwarding *)(c->u).a.inbuffer.head;" (assignment_expression "pf = (PortForwarding *)(c->u).a.inbuffer.head" identifier = (cast_expression "(PortForwarding *)(c->u).a.inbuffer.head" ( (type_descriptor "PortForwarding *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(c->u).a.inbuffer.head" (field_expression "(c->u).a.inbuffer" (field_expression "(c->u).a" (parenthesized_expression "(c->u)" ( (field_expression "c->u" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) ;) (if_statement "if (pf == (PortForwarding *)0x0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(pf == (PortForwarding *)0x0)" ( (binary_expression "pf == (PortForwarding *)0x0" identifier == (cast_expression "(PortForwarding *)0x0" ( (type_descriptor "PortForwarding *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x3af4" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "pfd_confirm(pf);" (call_expression "pfd_confirm(pf)" identifier (argument_list "(pf)" ( identifier ))) ;) (expression_statement "iVar2 = c->pending_eof;" (assignment_expression "iVar2 = c->pending_eof" identifier = (field_expression "c->pending_eof" identifier -> field_identifier)) ;) }) (else_clause "else {\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }" else (compound_statement "{\n      if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      ssh2_channel_check_close(c);\n      iVar2 = c->pending_eof;\n    }" { (if_statement "if (iVar2 != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(iVar2 != 5)" ( (binary_expression "iVar2 != 5" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x684" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "ssh2_channel_check_close(c);" (call_expression "ssh2_channel_check_close(c)" identifier (argument_list "(c)" ( identifier ))) ;) (expression_statement "iVar2 = c->pending_eof;" (assignment_expression "iVar2 = c->pending_eof" identifier = (field_expression "c->pending_eof" identifier -> field_identifier)) ;) }))) (if_statement "if (iVar2 != 0) {\n      ssh_channel_try_eof(c);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      ssh_channel_try_eof(c);\n      return;\n    }" { (expression_statement "ssh_channel_try_eof(c);" (call_expression "ssh_channel_try_eof(c)" identifier (argument_list "(c)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00043858(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00043858(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00043858(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0003ffc0();" (assignment_expression "iVar1 = FUN_0003ffc0()" identifier = (call_expression "FUN_0003ffc0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" { (if_statement "if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x10) == 0" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0xa24" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_0002f068(param_2);" (assignment_expression "uVar2 = FUN_0002f068(param_2)" identifier = (call_expression "FUN_0002f068(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" * (cast_expression "(undefined4 *)(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" identifier = (call_expression "FUN_0002f068()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x2c) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x2c)" * (cast_expression "(undefined4 *)(iVar1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2c)" ( (binary_expression "iVar1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" identifier = (call_expression "FUN_0002f068()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) == 3)" ( (binary_expression "*(int *)(iVar1 + 0xc) == 3" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" { (if_statement "if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x4c) == 0)" ( (binary_expression "*(int *)(iVar1 + 0x4c) == 0" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x3af4" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "pfd_confirm();" (call_expression "pfd_confirm()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" else (compound_statement "{\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" { (if_statement "if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 5)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 5" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" ( (binary_expression "PTR_DAT_000ad2c8 + -0x684" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00040e98(iVar1);" (call_expression "FUN_00040e98(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00041020(iVar1);\n      return;\n    }" { (expression_statement "FUN_00041020(iVar1);" (call_expression "FUN_00041020(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00043858(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00043858(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00043858") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = FUN_0003ffc0();\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar1 = FUN_0003ffc0();" (assignment_expression "iVar1 = FUN_0003ffc0()" (identifier "iVar1") (= "=") (call_expression "FUN_0003ffc0()" (identifier "FUN_0003ffc0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }\n    uVar2 = FUN_0002f068(param_2);\n    *(undefined4 *)(iVar1 + 4) = uVar2;\n    *(undefined4 *)(iVar1 + 0x10) = 0;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x2c) = uVar2;\n    uVar2 = FUN_0002f068();\n    *(undefined4 *)(iVar1 + 0x30) = uVar2;\n    if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x10) == 0) {\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) == 0" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);\n      return;\n    }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000adb00" (* "*") (cast_expression "(code *)PTR___assert_fail_000adb00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000adb00"))) () ")")) (argument_list "(PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,\n                 PTR_DAT_000ad2c8 + 0xbc4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0xa24" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0xa24")) (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x3c40")) (, ",") (number_literal "0x211a") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0xbc4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0002f068(param_2);" (assignment_expression "uVar2 = FUN_0002f068(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_0002f068(param_2)" (identifier "FUN_0002f068") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" (identifier "uVar2") (= "=") (call_expression "FUN_0002f068()" (identifier "FUN_0002f068") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x2c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x2c) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2c)" (( "(") (binary_expression "iVar1 + 0x2c" (identifier "iVar1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = FUN_0002f068();" (assignment_expression "uVar2 = FUN_0002f068()" (identifier "uVar2") (= "=") (call_expression "FUN_0002f068()" (identifier "FUN_0002f068") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (*(int *)(iVar1 + 0xc) == 3) {\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }\n    else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0xc) == 3)" (( "(") (binary_expression "*(int *)(iVar1 + 0xc) == 3" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      pfd_confirm();\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x4c) == 0) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x4c) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x4c) == 0" (pointer_expression "*(int *)(iVar1 + 0x4c)" (* "*") (cast_expression "(int *)(iVar1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4c)" (( "(") (binary_expression "iVar1 + 0x4c" (identifier "iVar1") (+ "+") (number_literal "0x4c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000adb00" (* "*") (cast_expression "(code *)PTR___assert_fail_000adb00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000adb00"))) () ")")) (argument_list "(PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x3af4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x3af4")) (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x3c40")) (, ",") (number_literal "0x2121") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0xbc4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pfd_confirm();" (call_expression "pfd_confirm()" (identifier "pfd_confirm") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" (else "else") (compound_statement "{\n      if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }\n      FUN_00040e98(iVar1);\n      iVar3 = *(int *)(iVar1 + 0x18);\n    }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0xc) != 5) {\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 5)" (( "(") (binary_expression "*(int *)(iVar1 + 0xc) != 5" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n        (*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);\n        return;\n      }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000adb00" (* "*") (cast_expression "(code *)PTR___assert_fail_000adb00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000adb00"))) () ")")) (argument_list "(PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,\n                   PTR_DAT_000ad2c8 + 0xbc4)" (( "(") (binary_expression "PTR_DAT_000ad2c8 + -0x684" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x684")) (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0x3c40" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0x3c40")) (, ",") (number_literal "0x2138") (, ",") (binary_expression "PTR_DAT_000ad2c8 + 0xbc4" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "0xbc4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00040e98(iVar1);" (call_expression "FUN_00040e98(iVar1)" (identifier "FUN_00040e98") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar3 = *(int *)(iVar1 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar3 != 0) {\n      FUN_00041020(iVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00041020(iVar1);\n      return;\n    }" ({ "{") (expression_statement "FUN_00041020(iVar1);" (call_expression "FUN_00041020(iVar1)" (identifier "FUN_00041020") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (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 (assignment_expression left: (identifier) right: (call_expression function: (identifier) 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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) 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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) alternative: (else_clause (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 (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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))) (return_statement))))

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar1 = FUN_0003ffc0();
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 0x10) == 0) {
      (*(code *)PTR___assert_fail_000adb00)
                (PTR_DAT_000ad2c8 + -0xa24,PTR_DAT_000ad2c8 + -0x3c40,0x211a,
                 PTR_DAT_000ad2c8 + 0xbc4);
      return;
    }
    uVar2 = FUN_0002f068(param_2);
    *(undefined4 *)(iVar1 + 4) = uVar2;
    *(undefined4 *)(iVar1 + 0x10) = 0;
    uVar2 = FUN_0002f068();
    *(undefined4 *)(iVar1 + 0x2c) = uVar2;
    uVar2 = FUN_0002f068();
    *(undefined4 *)(iVar1 + 0x30) = uVar2;
    if (*(int *)(iVar1 + 0xc) == 3) {
      if (*(int *)(iVar1 + 0x4c) == 0) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x3af4,PTR_DAT_000ad2c8 + -0x3c40,0x2121,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      pfd_confirm();
      iVar3 = *(int *)(iVar1 + 0x18);
    }
    else {
      if (*(int *)(iVar1 + 0xc) != 5) {
        (*(code *)PTR___assert_fail_000adb00)
                  (PTR_DAT_000ad2c8 + -0x684,PTR_DAT_000ad2c8 + -0x3c40,0x2138,
                   PTR_DAT_000ad2c8 + 0xbc4);
        return;
      }
      FUN_00040e98(iVar1);
      iVar3 = *(int *)(iVar1 + 0x18);
    }
    if (iVar3 != 0) {
      FUN_00041020(iVar1);
      return;
    }
  }
  return;
}

