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

void send_packet_to_downstream
               (ssh_sharing_connstate *cs,int type,void *pkt,int pktlen,share_channel *chan)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  Socket ppsVar6;
  char *pcVar7;
  undefined *puVar8;
  char header [13];
  
  iVar1 = *(int *)PTR___stack_chk_guard_000bef2c;
  ppsVar6 = cs->sock;
  if (ppsVar6 != (Socket)0x0) {
    if (type == 0x5e) {
      iVar2 = (*(code *)PTR_toint_000be494)
                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |
                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |
                         (uint)*(byte *)((int)pkt + 6) << 8);
      pcVar7 = (char *)((int)pkt + 8);
      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {
        iVar2 = pktlen + -8;
      }
      do {
        iVar3 = chan->downstream_maxpkt;
        if (iVar2 < chan->downstream_maxpkt) {
          iVar3 = iVar2;
        }
        iVar4 = iVar3 + 9;
        header[0] = (char)((uint)iVar4 >> 0x18);
        header[1] = (char)((uint)iVar4 >> 0x10);
        header[2] = (char)((uint)iVar4 >> 8);
        header[0xc] = (char)iVar3;
        header[3] = header[0xc] + '\t';
        header[4] = '^';
        uVar5 = chan->downstream_id;
        header[5] = (char)(uVar5 >> 0x18);
        header[6] = (char)(uVar5 >> 0x10);
        header[7] = (char)(uVar5 >> 8);
        header[8] = (char)uVar5;
        header[9] = (char)((uint)iVar3 >> 0x18);
        header[10] = (char)((uint)iVar3 >> 0x10);
        header[0xb] = (char)((uint)iVar3 >> 8);
        (*(*cs->sock)->write)(cs->sock,header,0xd);
        ppsVar6 = cs->sock;
        type = (int)pcVar7;
        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);
        iVar2 = iVar2 - iVar3;
        pcVar7 = pcVar7 + iVar3;
      } while (0 < iVar2);
    }
    else {
      iVar2 = pktlen + 1;
      header[0] = (char)((uint)iVar2 >> 0x18);
      header[1] = (char)((uint)iVar2 >> 0x10);
      header[2] = (char)((uint)iVar2 >> 8);
      header[3] = (char)pktlen + '\x01';
      header[4] = (char)type;
      (*(*ppsVar6)->write)(ppsVar6,header,5);
      ppsVar6 = cs->sock;
      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);
      type = (int)pkt;
    }
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_000bef2c) {
    puVar8 = PTR___stack_chk_fail_000bef04;
    (*(code *)PTR___stack_chk_fail_000bef04)();
    del234((tree234 *)ppsVar6[0x100e],(void *)type);
    del234((tree234 *)ppsVar6[0x100f],(void *)type);
    if (*(int *)(type + 0x14) != 0) {
      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);
    }
    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));
    (**(code **)(puVar8 + 0x3d724))(type);
    return;
  }
  return;
}



void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int *piVar5;
  undefined *puVar6;
  undefined1 local_34;
  undefined1 local_33;
  undefined1 local_32;
  char local_31;
  undefined1 local_30;
  undefined1 local_2f;
  undefined1 local_2e;
  undefined1 local_2d;
  undefined1 local_2c;
  undefined1 local_2b;
  undefined1 local_2a;
  undefined1 local_29;
  char local_28;
  int local_24;
  
  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;
  piVar5 = *(int **)(param_1 + 8);
  if (piVar5 != (int *)0x0) {
    if (param_2 == 0x5e) {
      iVar1 = (*(code *)PTR_toint_000be494)
                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10
                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);
      param_3 = param_3 + 8;
      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {
        iVar1 = param_4 + -8;
      }
      do {
        iVar2 = param_5[3];
        if (iVar1 < (int)param_5[3]) {
          iVar2 = iVar1;
        }
        iVar3 = iVar2 + 9;
        local_34 = (undefined1)((uint)iVar3 >> 0x18);
        local_33 = (undefined1)((uint)iVar3 >> 0x10);
        local_32 = (undefined1)((uint)iVar3 >> 8);
        local_28 = (char)iVar2;
        local_31 = local_28 + '\t';
        local_30 = 0x5e;
        uVar4 = *param_5;
        local_2f = (undefined1)((uint)uVar4 >> 0x18);
        local_2e = (undefined1)((uint)uVar4 >> 0x10);
        local_2d = (undefined1)((uint)uVar4 >> 8);
        local_2c = (undefined1)uVar4;
        local_2b = (undefined1)((uint)iVar2 >> 0x18);
        local_2a = (undefined1)((uint)iVar2 >> 0x10);
        local_29 = (undefined1)((uint)iVar2 >> 8);
        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);
        piVar5 = *(int **)(param_1 + 8);
        param_2 = param_3;
        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);
        iVar1 = iVar1 - iVar2;
        param_3 = param_3 + iVar2;
      } while (0 < iVar1);
    }
    else {
      iVar1 = param_4 + 1;
      local_34 = (undefined1)((uint)iVar1 >> 0x18);
      local_33 = (undefined1)((uint)iVar1 >> 0x10);
      local_32 = (undefined1)((uint)iVar1 >> 8);
      local_31 = (char)param_4 + '\x01';
      local_30 = (undefined1)param_2;
      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);
      piVar5 = *(int **)(param_1 + 8);
      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);
      param_2 = param_3;
    }
  }
  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {
    puVar6 = PTR___stack_chk_fail_000bef04;
    (*(code *)PTR___stack_chk_fail_000bef04)();
    del234(piVar5[0x100e]);
    del234(piVar5[0x100f],param_2);
    if (*(int *)(param_2 + 0x14) != 0) {
      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));
    }
    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));
    (**(code **)(puVar6 + 0x3d724))(param_2);
    return;
  }
  return;
}


lui gp,0x4
addiu gp,gp,0x5900
addu gp,gp,t9
addiu sp,sp,-0x50
sw ra,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
sw gp,0x10(sp)
or s3,a0,zero
lw s4,0x60(sp)
lw v0,-0x7444(gp)
lw v0,0x0(v0)
sw v0,0x2c(sp)
lw a0,0x8(a0)
beq a0,zero,0x00080b34
_or s2,a2,zero
li v0,0x5e
beq a1,v0,0x00080b6c
_or s0,a3,zero
addiu v0,a3,0x1
sra v1,v0,0x18
sb v1,0x1c(sp)
sra v1,v0,0x10
sb v1,0x1d(sp)
sra v0,v0,0x8
sb v0,0x1e(sp)
addiu v0,a3,0x1
sb v0,0x1f(sp)
sb a1,0x20(sp)
lw v0,0x0(a0)
lw t9,0x8(v0)
li a2,0x5
addiu a1,sp,0x1c
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x8(s3)
lw v0,0x0(a0)
lw t9,0x8(v0)
or a2,s0,zero
or a1,s2,zero
jalr t9
_nop
lw gp,0x10(sp)
lw v1,0x2c(sp)
lw v0,-0x7444(gp)
lw v0,0x0(v0)
bne v1,v0,0x00080c94
_lw ra,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x50
lbu v0,0x4(a2)
sll v0,v0,0x18
lbu a0,0x5(a2)
sll a0,a0,0x10
or v0,v0,a0
lbu a0,0x7(a2)
or v0,v0,a0
lbu a0,0x6(a2)
sll a0,a0,0x8
or a0,v0,a0
lw t9,-0x7edc(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
bltz v0,0x00080bc0
_addiu s2,s2,0x8
addiu v0,s0,-0x7
slt v0,s1,v0
bne v0,zero,0x00080bc8
_li s6,0x5e
addiu s1,s0,-0x8
li s6,0x5e
addiu s5,sp,0x1c
lw v0,0xc(s4)
slt s0,s1,v0
movn v0,s1,s0
or s0,v0,zero
addiu v0,v0,0x9
sra v1,v0,0x18
sb v1,0x1c(sp)
sra v1,v0,0x10
sb v1,0x1d(sp)
sra v0,v0,0x8
sb v0,0x1e(sp)
addiu v0,s0,0x9
sb v0,0x1f(sp)
sb s6,0x20(sp)
lw v0,0x0(s4)
srl v1,v0,0x18
sb v1,0x21(sp)
srl v1,v0,0x10
sb v1,0x22(sp)
srl v1,v0,0x8
sb v1,0x23(sp)
sb v0,0x24(sp)
sra v0,s0,0x18
sb v0,0x25(sp)
sra v0,s0,0x10
sb v0,0x26(sp)
sra v0,s0,0x8
sb v0,0x27(sp)
sb s0,0x28(sp)
lw a0,0x8(s3)
lw v0,0x0(a0)
lw t9,0x8(v0)
li a2,0xd
or a1,s5,zero
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x8(s3)
lw v0,0x0(a0)
lw t9,0x8(v0)
or a2,s0,zero
or a1,s2,zero
jalr t9
_nop
lw gp,0x10(sp)
subu s1,s1,s0
bgtz s1,0x00080bcc
_addu s2,s2,s0
b 0x00080b34
_nop
lw t9,-0x746c(gp)
jalr t9
_nop
(translation_unit "void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 local_34;" type_identifier identifier ;) (declaration "undefined1 local_33;" type_identifier identifier ;) (declaration "undefined1 local_32;" type_identifier identifier ;) (declaration "char local_31;" primitive_type identifier ;) (declaration "undefined1 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2f;" type_identifier identifier ;) (declaration "undefined1 local_2e;" type_identifier identifier ;) (declaration "undefined1 local_2d;" type_identifier identifier ;) (declaration "undefined1 local_2c;" type_identifier identifier ;) (declaration "undefined1 local_2b;" type_identifier identifier ;) (declaration "undefined1 local_2a;" type_identifier identifier ;) (declaration "undefined1 local_29;" type_identifier identifier ;) (declaration "char local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" { (if_statement "if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" if (parenthesized_expression "(param_2 == 0x5e)" ( (binary_expression "param_2 == 0x5e" identifier == number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }" { (expression_statement "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);" (assignment_expression "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" identifier = (call_expression "(*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" (parenthesized_expression "(*(code *)PTR_toint_000be494)" ( (pointer_expression "*(code *)PTR_toint_000be494" * (cast_expression "(code *)PTR_toint_000be494" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" ( (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7)" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18" (binary_expression "(uint)*(byte *)(param_3 + 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "(uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) << number_literal)) | (binary_expression "(uint)*(byte *)(param_3 + 7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 7)" ( (binary_expression "param_3 + 7" identifier + number_literal) ))))) | (binary_expression "(uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 6)" ( (binary_expression "param_3 + 6" identifier + number_literal) )))) << number_literal)) )))) ;) (expression_statement "param_3 = param_3 + 8;" (assignment_expression "param_3 = param_3 + 8" identifier = (binary_expression "param_3 + 8" identifier + number_literal)) ;) (if_statement "if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }" if (parenthesized_expression "((iVar1 < 0) || (param_4 + -7 <= iVar1))" ( (binary_expression "(iVar1 < 0) || (param_4 + -7 <= iVar1)" (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) || (parenthesized_expression "(param_4 + -7 <= iVar1)" ( (binary_expression "param_4 + -7 <= iVar1" (binary_expression "param_4 + -7" identifier + number_literal) <= identifier) ))) )) (compound_statement "{\n        iVar1 = param_4 + -8;\n      }" { (expression_statement "iVar1 = param_4 + -8;" (assignment_expression "iVar1 = param_4 + -8" identifier = (binary_expression "param_4 + -8" identifier + number_literal)) ;) })) (do_statement "do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);" do (compound_statement "{\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      }" { (expression_statement "iVar2 = param_5[3];" (assignment_expression "iVar2 = param_5[3]" identifier = (subscript_expression "param_5[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }" if (parenthesized_expression "(iVar1 < (int)param_5[3])" ( (binary_expression "iVar1 < (int)param_5[3]" identifier < (cast_expression "(int)param_5[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_5[3]" identifier [ number_literal ]))) )) (compound_statement "{\n          iVar2 = iVar1;\n        }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (expression_statement "iVar3 = iVar2 + 9;" (assignment_expression "iVar3 = iVar2 + 9" identifier = (binary_expression "iVar2 + 9" identifier + number_literal)) ;) (expression_statement "local_34 = (undefined1)((uint)iVar3 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar3 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 0x18)" ( (binary_expression "(uint)iVar3 >> 0x18" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_33 = (undefined1)((uint)iVar3 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar3 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 0x10)" ( (binary_expression "(uint)iVar3 >> 0x10" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_32 = (undefined1)((uint)iVar3 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar3 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 8)" ( (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_28 = (char)iVar2;" (assignment_expression "local_28 = (char)iVar2" identifier = (cast_expression "(char)iVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "local_31 = local_28 + '\t';" (assignment_expression "local_31 = local_28 + '\t'" identifier = (binary_expression "local_28 + '\t'" identifier + (char_literal "'\t'" ' escape_sequence '))) ;) (expression_statement "local_30 = 0x5e;" (assignment_expression "local_30 = 0x5e" identifier = number_literal) ;) (expression_statement "uVar4 = *param_5;" (assignment_expression "uVar4 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "local_2f = (undefined1)((uint)uVar4 >> 0x18);" (assignment_expression "local_2f = (undefined1)((uint)uVar4 >> 0x18)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 0x18)" ( (binary_expression "(uint)uVar4 >> 0x18" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2e = (undefined1)((uint)uVar4 >> 0x10);" (assignment_expression "local_2e = (undefined1)((uint)uVar4 >> 0x10)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 0x10)" ( (binary_expression "(uint)uVar4 >> 0x10" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2d = (undefined1)((uint)uVar4 >> 8);" (assignment_expression "local_2d = (undefined1)((uint)uVar4 >> 8)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 8)" ( (binary_expression "(uint)uVar4 >> 8" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2c = (undefined1)uVar4;" (assignment_expression "local_2c = (undefined1)uVar4" identifier = (cast_expression "(undefined1)uVar4" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "local_2b = (undefined1)((uint)iVar2 >> 0x18);" (assignment_expression "local_2b = (undefined1)((uint)iVar2 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 0x18)" ( (binary_expression "(uint)iVar2 >> 0x18" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2a = (undefined1)((uint)iVar2 >> 0x10);" (assignment_expression "local_2a = (undefined1)((uint)iVar2 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 0x10)" ( (binary_expression "(uint)iVar2 >> 0x10" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_29 = (undefined1)((uint)iVar2 >> 8);" (assignment_expression "local_29 = (undefined1)((uint)iVar2 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 8)" ( (binary_expression "(uint)iVar2 >> 8" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 8)" ( (binary_expression "**(int **)(param_1 + 8) + 8" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 8),&local_34,0xd)" ( (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" identifier = identifier) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,param_3,iVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = iVar1 - iVar2;" (assignment_expression "iVar1 = iVar1 - iVar2" identifier = (binary_expression "iVar1 - iVar2" identifier - identifier)) ;) (expression_statement "param_3 = param_3 + iVar2;" (assignment_expression "param_3 = param_3 + iVar2" identifier = (binary_expression "param_3 + iVar2" identifier + identifier)) ;) }) while (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) ;) }) (else_clause "else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" else (compound_statement "{\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" { (expression_statement "iVar1 = param_4 + 1;" (assignment_expression "iVar1 = param_4 + 1" identifier = (binary_expression "param_4 + 1" identifier + number_literal)) ;) (expression_statement "local_34 = (undefined1)((uint)iVar1 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar1 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 0x18)" ( (binary_expression "(uint)iVar1 >> 0x18" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_33 = (undefined1)((uint)iVar1 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar1 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 0x10)" ( (binary_expression "(uint)iVar1 >> 0x10" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_32 = (undefined1)((uint)iVar1 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar1 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 8)" ( (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_31 = (char)param_4 + '\x01';" (assignment_expression "local_31 = (char)param_4 + '\x01'" identifier = (binary_expression "(char)param_4 + '\x01'" (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "local_30 = (undefined1)param_2;" (assignment_expression "local_30 = (undefined1)param_2" identifier = (cast_expression "(undefined1)param_2" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,&local_34,5)" ( identifier , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" identifier = identifier) ;) }))) })) (if_statement "if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" if (parenthesized_expression "(local_24 != *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "local_24 != *(int *)PTR___stack_chk_guard_000bef2c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" { (expression_statement "puVar6 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar6 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "del234(piVar5[0x100e]);" (call_expression "del234(piVar5[0x100e])" identifier (argument_list "(piVar5[0x100e])" ( (subscript_expression "piVar5[0x100e]" identifier [ number_literal ]) ))) ;) (expression_statement "del234(piVar5[0x100f],param_2);" (call_expression "del234(piVar5[0x100f],param_2)" identifier (argument_list "(piVar5[0x100f],param_2)" ( (subscript_expression "piVar5[0x100f]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" { (expression_statement "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));" (call_expression "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14))" (parenthesized_expression "(**(code **)(puVar6 + 0x3df24))" ( (pointer_expression "**(code **)(puVar6 + 0x3df24)" * (pointer_expression "*(code **)(puVar6 + 0x3df24)" * (cast_expression "(code **)(puVar6 + 0x3df24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3df24)" ( (binary_expression "puVar6 + 0x3df24" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(piVar5[3] + 0x14))" ( (pointer_expression "*(undefined4 *)(piVar5[3] + 0x14)" * (cast_expression "(undefined4 *)(piVar5[3] + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5[3] + 0x14)" ( (binary_expression "piVar5[3] + 0x14" (subscript_expression "piVar5[3]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) (expression_statement "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));" (call_expression "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c))" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" ( (pointer_expression "**(code **)(puVar6 + 0x3d724)" * (pointer_expression "*(code **)(puVar6 + 0x3d724)" * (cast_expression "(code **)(puVar6 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3d724)" ( (binary_expression "puVar6 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_2 + 0x1c))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0x3d724))(param_2);" (call_expression "(**(code **)(puVar6 + 0x3d724))(param_2)" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" ( (pointer_expression "**(code **)(puVar6 + 0x3d724)" * (pointer_expression "*(code **)(puVar6 + 0x3d724)" * (cast_expression "(code **)(puVar6 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3d724)" ( (binary_expression "puVar6 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( 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 send_packet_to_downstream\n               (ssh_sharing_connstate *cs,int type,void *pkt,int pktlen,share_channel *chan)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  Socket ppsVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  char header [13];\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000bef2c;\n  ppsVar6 = cs->sock;\n  if (ppsVar6 != (Socket)0x0) {\n    if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar8 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234((tree234 *)ppsVar6[0x100e],(void *)type);\n    del234((tree234 *)ppsVar6[0x100f],(void *)type);\n    if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }\n    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));\n    (**(code **)(puVar8 + 0x3d724))(type);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void send_packet_to_downstream\n               (ssh_sharing_connstate *cs,int type,void *pkt,int pktlen,share_channel *chan)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  Socket ppsVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  char header [13];\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000bef2c;\n  ppsVar6 = cs->sock;\n  if (ppsVar6 != (Socket)0x0) {\n    if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar8 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234((tree234 *)ppsVar6[0x100e],(void *)type);\n    del234((tree234 *)ppsVar6[0x100f],(void *)type);\n    if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }\n    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));\n    (**(code **)(puVar8 + 0x3d724))(type);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "send_packet_to_downstream\n               (ssh_sharing_connstate *cs,int type,void *pkt,int pktlen,share_channel *chan)" identifier (parameter_list "(ssh_sharing_connstate *cs,int type,void *pkt,int pktlen,share_channel *chan)" ( (parameter_declaration "ssh_sharing_connstate *cs" type_identifier (pointer_declarator "*cs" * identifier)) , (parameter_declaration "int type" primitive_type identifier) , (parameter_declaration "void *pkt" primitive_type (pointer_declarator "*pkt" * identifier)) , (parameter_declaration "int pktlen" primitive_type identifier) , (parameter_declaration "share_channel *chan" type_identifier (pointer_declarator "*chan" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  Socket ppsVar6;\n  char *pcVar7;\n  undefined *puVar8;\n  char header [13];\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000bef2c;\n  ppsVar6 = cs->sock;\n  if (ppsVar6 != (Socket)0x0) {\n    if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar8 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234((tree234 *)ppsVar6[0x100e],(void *)type);\n    del234((tree234 *)ppsVar6[0x100f],(void *)type);\n    if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }\n    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));\n    (**(code **)(puVar8 + 0x3d724))(type);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "Socket ppsVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char header [13];" primitive_type (array_declarator "header [13]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "ppsVar6 = cs->sock;" (assignment_expression "ppsVar6 = cs->sock" identifier = (field_expression "cs->sock" identifier -> field_identifier)) ;) (if_statement "if (ppsVar6 != (Socket)0x0) {\n    if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }\n  }" if (parenthesized_expression "(ppsVar6 != (Socket)0x0)" ( (binary_expression "ppsVar6 != (Socket)0x0" identifier != (cast_expression "(Socket)0x0" ( (type_descriptor "Socket" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }\n  }" { (if_statement "if (type == 0x5e) {\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }\n    else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }" if (parenthesized_expression "(type == 0x5e)" ( (binary_expression "type == 0x5e" identifier == number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);\n      pcVar7 = (char *)((int)pkt + 8);\n      if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }\n      do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);\n    }" { (expression_statement "iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8);" (assignment_expression "iVar2 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8)" identifier = (call_expression "(*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8)" (parenthesized_expression "(*(code *)PTR_toint_000be494)" ( (pointer_expression "*(code *)PTR_toint_000be494" * (cast_expression "(code *)PTR_toint_000be494" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8)" ( (binary_expression "(uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7) |\n                         (uint)*(byte *)((int)pkt + 6) << 8" (binary_expression "(uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10 | (uint)*(byte *)((int)pkt + 7)" (binary_expression "(uint)*(byte *)((int)pkt + 4) << 0x18 |\n                         (uint)*(byte *)((int)pkt + 5) << 0x10" (binary_expression "(uint)*(byte *)((int)pkt + 4) << 0x18" (binary_expression "(uint)*(byte *)((int)pkt + 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)pkt + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pkt + 4)" ( (binary_expression "(int)pkt + 4" (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) | (binary_expression "(uint)*(byte *)((int)pkt + 5) << 0x10" (binary_expression "(uint)*(byte *)((int)pkt + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)pkt + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pkt + 5)" ( (binary_expression "(int)pkt + 5" (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal)) | (binary_expression "(uint)*(byte *)((int)pkt + 7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)pkt + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pkt + 7)" ( (binary_expression "(int)pkt + 7" (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) | (binary_expression "(uint)*(byte *)((int)pkt + 6) << 8" (binary_expression "(uint)*(byte *)((int)pkt + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)pkt + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pkt + 6)" ( (binary_expression "(int)pkt + 6" (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal)) )))) ;) (expression_statement "pcVar7 = (char *)((int)pkt + 8);" (assignment_expression "pcVar7 = (char *)((int)pkt + 8)" identifier = (cast_expression "(char *)((int)pkt + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pkt + 8)" ( (binary_expression "(int)pkt + 8" (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((iVar2 < 0) || (pktlen + -7 <= iVar2)) {\n        iVar2 = pktlen + -8;\n      }" if (parenthesized_expression "((iVar2 < 0) || (pktlen + -7 <= iVar2))" ( (binary_expression "(iVar2 < 0) || (pktlen + -7 <= iVar2)" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "(pktlen + -7 <= iVar2)" ( (binary_expression "pktlen + -7 <= iVar2" (binary_expression "pktlen + -7" identifier + number_literal) <= identifier) ))) )) (compound_statement "{\n        iVar2 = pktlen + -8;\n      }" { (expression_statement "iVar2 = pktlen + -8;" (assignment_expression "iVar2 = pktlen + -8" identifier = (binary_expression "pktlen + -8" identifier + number_literal)) ;) })) (do_statement "do {\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      } while (0 < iVar2);" do (compound_statement "{\n        iVar3 = chan->downstream_maxpkt;\n        if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }\n        iVar4 = iVar3 + 9;\n        header[0] = (char)((uint)iVar4 >> 0x18);\n        header[1] = (char)((uint)iVar4 >> 0x10);\n        header[2] = (char)((uint)iVar4 >> 8);\n        header[0xc] = (char)iVar3;\n        header[3] = header[0xc] + '\t';\n        header[4] = '^';\n        uVar5 = chan->downstream_id;\n        header[5] = (char)(uVar5 >> 0x18);\n        header[6] = (char)(uVar5 >> 0x10);\n        header[7] = (char)(uVar5 >> 8);\n        header[8] = (char)uVar5;\n        header[9] = (char)((uint)iVar3 >> 0x18);\n        header[10] = (char)((uint)iVar3 >> 0x10);\n        header[0xb] = (char)((uint)iVar3 >> 8);\n        (*(*cs->sock)->write)(cs->sock,header,0xd);\n        ppsVar6 = cs->sock;\n        type = (int)pcVar7;\n        (*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);\n        iVar2 = iVar2 - iVar3;\n        pcVar7 = pcVar7 + iVar3;\n      }" { (expression_statement "iVar3 = chan->downstream_maxpkt;" (assignment_expression "iVar3 = chan->downstream_maxpkt" identifier = (field_expression "chan->downstream_maxpkt" identifier -> field_identifier)) ;) (if_statement "if (iVar2 < chan->downstream_maxpkt) {\n          iVar3 = iVar2;\n        }" if (parenthesized_expression "(iVar2 < chan->downstream_maxpkt)" ( (binary_expression "iVar2 < chan->downstream_maxpkt" identifier < (field_expression "chan->downstream_maxpkt" identifier -> field_identifier)) )) (compound_statement "{\n          iVar3 = iVar2;\n        }" { (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar4 = iVar3 + 9;" (assignment_expression "iVar4 = iVar3 + 9" identifier = (binary_expression "iVar3 + 9" identifier + number_literal)) ;) (expression_statement "header[0] = (char)((uint)iVar4 >> 0x18);" (assignment_expression "header[0] = (char)((uint)iVar4 >> 0x18)" (subscript_expression "header[0]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar4 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 0x18)" ( (binary_expression "(uint)iVar4 >> 0x18" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[1] = (char)((uint)iVar4 >> 0x10);" (assignment_expression "header[1] = (char)((uint)iVar4 >> 0x10)" (subscript_expression "header[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar4 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 0x10)" ( (binary_expression "(uint)iVar4 >> 0x10" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[2] = (char)((uint)iVar4 >> 8);" (assignment_expression "header[2] = (char)((uint)iVar4 >> 8)" (subscript_expression "header[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar4 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 8)" ( (binary_expression "(uint)iVar4 >> 8" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[0xc] = (char)iVar3;" (assignment_expression "header[0xc] = (char)iVar3" (subscript_expression "header[0xc]" identifier [ number_literal ]) = (cast_expression "(char)iVar3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "header[3] = header[0xc] + '\t';" (assignment_expression "header[3] = header[0xc] + '\t'" (subscript_expression "header[3]" identifier [ number_literal ]) = (binary_expression "header[0xc] + '\t'" (subscript_expression "header[0xc]" identifier [ number_literal ]) + (char_literal "'\t'" ' escape_sequence '))) ;) (expression_statement "header[4] = '^';" (assignment_expression "header[4] = '^'" (subscript_expression "header[4]" identifier [ number_literal ]) = (char_literal "'^'" ' character ')) ;) (expression_statement "uVar5 = chan->downstream_id;" (assignment_expression "uVar5 = chan->downstream_id" identifier = (field_expression "chan->downstream_id" identifier -> field_identifier)) ;) (expression_statement "header[5] = (char)(uVar5 >> 0x18);" (assignment_expression "header[5] = (char)(uVar5 >> 0x18)" (subscript_expression "header[5]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x18)" ( (binary_expression "uVar5 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "header[6] = (char)(uVar5 >> 0x10);" (assignment_expression "header[6] = (char)(uVar5 >> 0x10)" (subscript_expression "header[6]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "header[7] = (char)(uVar5 >> 8);" (assignment_expression "header[7] = (char)(uVar5 >> 8)" (subscript_expression "header[7]" identifier [ number_literal ]) = (cast_expression "(char)(uVar5 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 >> 8)" ( (binary_expression "uVar5 >> 8" identifier >> number_literal) )))) ;) (expression_statement "header[8] = (char)uVar5;" (assignment_expression "header[8] = (char)uVar5" (subscript_expression "header[8]" identifier [ number_literal ]) = (cast_expression "(char)uVar5" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "header[9] = (char)((uint)iVar3 >> 0x18);" (assignment_expression "header[9] = (char)((uint)iVar3 >> 0x18)" (subscript_expression "header[9]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar3 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar3 >> 0x18)" ( (binary_expression "(uint)iVar3 >> 0x18" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[10] = (char)((uint)iVar3 >> 0x10);" (assignment_expression "header[10] = (char)((uint)iVar3 >> 0x10)" (subscript_expression "header[10]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar3 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar3 >> 0x10)" ( (binary_expression "(uint)iVar3 >> 0x10" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[0xb] = (char)((uint)iVar3 >> 8);" (assignment_expression "header[0xb] = (char)((uint)iVar3 >> 8)" (subscript_expression "header[0xb]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar3 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar3 >> 8)" ( (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(*(*cs->sock)->write)(cs->sock,header,0xd);" (call_expression "(*(*cs->sock)->write)(cs->sock,header,0xd)" (parenthesized_expression "(*(*cs->sock)->write)" ( (pointer_expression "*(*cs->sock)->write" * (field_expression "(*cs->sock)->write" (parenthesized_expression "(*cs->sock)" ( (pointer_expression "*cs->sock" * (field_expression "cs->sock" identifier -> field_identifier)) )) -> field_identifier)) )) (argument_list "(cs->sock,header,0xd)" ( (field_expression "cs->sock" identifier -> field_identifier) , identifier , number_literal ))) ;) (expression_statement "ppsVar6 = cs->sock;" (assignment_expression "ppsVar6 = cs->sock" identifier = (field_expression "cs->sock" identifier -> field_identifier)) ;) (expression_statement "type = (int)pcVar7;" (assignment_expression "type = (int)pcVar7" identifier = (cast_expression "(int)pcVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "(*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3);" (call_expression "(*(*ppsVar6)->write)(ppsVar6,pcVar7,iVar3)" (parenthesized_expression "(*(*ppsVar6)->write)" ( (pointer_expression "*(*ppsVar6)->write" * (field_expression "(*ppsVar6)->write" (parenthesized_expression "(*ppsVar6)" ( (pointer_expression "*ppsVar6" * identifier) )) -> field_identifier)) )) (argument_list "(ppsVar6,pcVar7,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (expression_statement "pcVar7 = pcVar7 + iVar3;" (assignment_expression "pcVar7 = pcVar7 + iVar3" identifier = (binary_expression "pcVar7 + iVar3" identifier + identifier)) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) }) (else_clause "else {\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }" else (compound_statement "{\n      iVar2 = pktlen + 1;\n      header[0] = (char)((uint)iVar2 >> 0x18);\n      header[1] = (char)((uint)iVar2 >> 0x10);\n      header[2] = (char)((uint)iVar2 >> 8);\n      header[3] = (char)pktlen + '\x01';\n      header[4] = (char)type;\n      (*(*ppsVar6)->write)(ppsVar6,header,5);\n      ppsVar6 = cs->sock;\n      (*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);\n      type = (int)pkt;\n    }" { (expression_statement "iVar2 = pktlen + 1;" (assignment_expression "iVar2 = pktlen + 1" identifier = (binary_expression "pktlen + 1" identifier + number_literal)) ;) (expression_statement "header[0] = (char)((uint)iVar2 >> 0x18);" (assignment_expression "header[0] = (char)((uint)iVar2 >> 0x18)" (subscript_expression "header[0]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar2 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar2 >> 0x18)" ( (binary_expression "(uint)iVar2 >> 0x18" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[1] = (char)((uint)iVar2 >> 0x10);" (assignment_expression "header[1] = (char)((uint)iVar2 >> 0x10)" (subscript_expression "header[1]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar2 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar2 >> 0x10)" ( (binary_expression "(uint)iVar2 >> 0x10" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[2] = (char)((uint)iVar2 >> 8);" (assignment_expression "header[2] = (char)((uint)iVar2 >> 8)" (subscript_expression "header[2]" identifier [ number_literal ]) = (cast_expression "(char)((uint)iVar2 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar2 >> 8)" ( (binary_expression "(uint)iVar2 >> 8" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "header[3] = (char)pktlen + '\x01';" (assignment_expression "header[3] = (char)pktlen + '\x01'" (subscript_expression "header[3]" identifier [ number_literal ]) = (binary_expression "(char)pktlen + '\x01'" (cast_expression "(char)pktlen" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "header[4] = (char)type;" (assignment_expression "header[4] = (char)type" (subscript_expression "header[4]" identifier [ number_literal ]) = (cast_expression "(char)type" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "(*(*ppsVar6)->write)(ppsVar6,header,5);" (call_expression "(*(*ppsVar6)->write)(ppsVar6,header,5)" (parenthesized_expression "(*(*ppsVar6)->write)" ( (pointer_expression "*(*ppsVar6)->write" * (field_expression "(*ppsVar6)->write" (parenthesized_expression "(*ppsVar6)" ( (pointer_expression "*ppsVar6" * identifier) )) -> field_identifier)) )) (argument_list "(ppsVar6,header,5)" ( identifier , identifier , number_literal ))) ;) (expression_statement "ppsVar6 = cs->sock;" (assignment_expression "ppsVar6 = cs->sock" identifier = (field_expression "cs->sock" identifier -> field_identifier)) ;) (expression_statement "(*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen);" (call_expression "(*(*ppsVar6)->write)(ppsVar6,(char *)pkt,pktlen)" (parenthesized_expression "(*(*ppsVar6)->write)" ( (pointer_expression "*(*ppsVar6)->write" * (field_expression "(*ppsVar6)->write" (parenthesized_expression "(*ppsVar6)" ( (pointer_expression "*ppsVar6" * identifier) )) -> field_identifier)) )) (argument_list "(ppsVar6,(char *)pkt,pktlen)" ( identifier , (cast_expression "(char *)pkt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "type = (int)pkt;" (assignment_expression "type = (int)pkt" identifier = (cast_expression "(int)pkt" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) })) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar8 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234((tree234 *)ppsVar6[0x100e],(void *)type);\n    del234((tree234 *)ppsVar6[0x100f],(void *)type);\n    if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }\n    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));\n    (**(code **)(puVar8 + 0x3d724))(type);\n    return;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_000bef2c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar8 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234((tree234 *)ppsVar6[0x100e],(void *)type);\n    del234((tree234 *)ppsVar6[0x100f],(void *)type);\n    if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }\n    (**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));\n    (**(code **)(puVar8 + 0x3d724))(type);\n    return;\n  }" { (expression_statement "puVar8 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "del234((tree234 *)ppsVar6[0x100e],(void *)type);" (call_expression "del234((tree234 *)ppsVar6[0x100e],(void *)type)" identifier (argument_list "((tree234 *)ppsVar6[0x100e],(void *)type)" ( (cast_expression "(tree234 *)ppsVar6[0x100e]" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppsVar6[0x100e]" identifier [ number_literal ])) , (cast_expression "(void *)type" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "del234((tree234 *)ppsVar6[0x100f],(void *)type);" (call_expression "del234((tree234 *)ppsVar6[0x100f],(void *)type)" identifier (argument_list "((tree234 *)ppsVar6[0x100f],(void *)type)" ( (cast_expression "(tree234 *)ppsVar6[0x100f]" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppsVar6[0x100f]" identifier [ number_literal ])) , (cast_expression "(void *)type" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (*(int *)(type + 0x14) != 0) {\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }" if (parenthesized_expression "(*(int *)(type + 0x14) != 0)" ( (binary_expression "*(int *)(type + 0x14) != 0" (pointer_expression "*(int *)(type + 0x14)" * (cast_expression "(int *)(type + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(type + 0x14)" ( (binary_expression "type + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);\n    }" { (expression_statement "(**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush);" (call_expression "(**(code **)(puVar8 + 0x3df24))(ppsVar6[3]->flush)" (parenthesized_expression "(**(code **)(puVar8 + 0x3df24))" ( (pointer_expression "**(code **)(puVar8 + 0x3df24)" * (pointer_expression "*(code **)(puVar8 + 0x3df24)" * (cast_expression "(code **)(puVar8 + 0x3df24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x3df24)" ( (binary_expression "puVar8 + 0x3df24" identifier + number_literal) ))))) )) (argument_list "(ppsVar6[3]->flush)" ( (field_expression "ppsVar6[3]->flush" (subscript_expression "ppsVar6[3]" identifier [ number_literal ]) -> field_identifier) ))) ;) })) (expression_statement "(**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c));" (call_expression "(**(code **)(puVar8 + 0x3d724))(*(undefined4 *)(type + 0x1c))" (parenthesized_expression "(**(code **)(puVar8 + 0x3d724))" ( (pointer_expression "**(code **)(puVar8 + 0x3d724)" * (pointer_expression "*(code **)(puVar8 + 0x3d724)" * (cast_expression "(code **)(puVar8 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x3d724)" ( (binary_expression "puVar8 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(type + 0x1c))" ( (pointer_expression "*(undefined4 *)(type + 0x1c)" * (cast_expression "(undefined4 *)(type + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(type + 0x1c)" ( (binary_expression "type + 0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar8 + 0x3d724))(type);" (call_expression "(**(code **)(puVar8 + 0x3d724))(type)" (parenthesized_expression "(**(code **)(puVar8 + 0x3d724))" ( (pointer_expression "**(code **)(puVar8 + 0x3d724)" * (pointer_expression "*(code **)(puVar8 + 0x3d724)" * (cast_expression "(code **)(puVar8 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x3d724)" ( (binary_expression "puVar8 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(type)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 local_34;" type_identifier identifier ;) (declaration "undefined1 local_33;" type_identifier identifier ;) (declaration "undefined1 local_32;" type_identifier identifier ;) (declaration "char local_31;" primitive_type identifier ;) (declaration "undefined1 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2f;" type_identifier identifier ;) (declaration "undefined1 local_2e;" type_identifier identifier ;) (declaration "undefined1 local_2d;" type_identifier identifier ;) (declaration "undefined1 local_2c;" type_identifier identifier ;) (declaration "undefined1 local_2b;" type_identifier identifier ;) (declaration "undefined1 local_2a;" type_identifier identifier ;) (declaration "undefined1 local_29;" type_identifier identifier ;) (declaration "char local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000bef2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" { (if_statement "if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" if (parenthesized_expression "(param_2 == 0x5e)" ( (binary_expression "param_2 == 0x5e" identifier == number_literal) )) (compound_statement "{\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }" { (expression_statement "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);" (assignment_expression "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" identifier = (call_expression "(*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" (parenthesized_expression "(*(code *)PTR_toint_000be494)" ( (pointer_expression "*(code *)PTR_toint_000be494" * (cast_expression "(code *)PTR_toint_000be494" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" ( (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7)" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18" (binary_expression "(uint)*(byte *)(param_3 + 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) << number_literal) | (binary_expression "(uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 5)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) << number_literal)) | (binary_expression "(uint)*(byte *)(param_3 + 7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 7)" ( (binary_expression "param_3 + 7" identifier + number_literal) ))))) | (binary_expression "(uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 6)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_3 + 6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 6)" ( (binary_expression "param_3 + 6" identifier + number_literal) )))) << number_literal)) )))) ;) (expression_statement "param_3 = param_3 + 8;" (assignment_expression "param_3 = param_3 + 8" identifier = (binary_expression "param_3 + 8" identifier + number_literal)) ;) (if_statement "if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }" if (parenthesized_expression "((iVar1 < 0) || (param_4 + -7 <= iVar1))" ( (binary_expression "(iVar1 < 0) || (param_4 + -7 <= iVar1)" (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) || (parenthesized_expression "(param_4 + -7 <= iVar1)" ( (binary_expression "param_4 + -7 <= iVar1" (binary_expression "param_4 + -7" identifier + number_literal) <= identifier) ))) )) (compound_statement "{\n        iVar1 = param_4 + -8;\n      }" { (expression_statement "iVar1 = param_4 + -8;" (assignment_expression "iVar1 = param_4 + -8" identifier = (binary_expression "param_4 + -8" identifier + number_literal)) ;) })) (do_statement "do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);" do (compound_statement "{\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      }" { (expression_statement "iVar2 = param_5[3];" (assignment_expression "iVar2 = param_5[3]" identifier = (subscript_expression "param_5[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }" if (parenthesized_expression "(iVar1 < (int)param_5[3])" ( (binary_expression "iVar1 < (int)param_5[3]" identifier < (cast_expression "(int)param_5[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_5[3]" identifier [ number_literal ]))) )) (compound_statement "{\n          iVar2 = iVar1;\n        }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (expression_statement "iVar3 = iVar2 + 9;" (assignment_expression "iVar3 = iVar2 + 9" identifier = (binary_expression "iVar2 + 9" identifier + number_literal)) ;) (expression_statement "local_34 = (undefined1)((uint)iVar3 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar3 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 0x18)" ( (binary_expression "(uint)iVar3 >> 0x18" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_33 = (undefined1)((uint)iVar3 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar3 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 0x10)" ( (binary_expression "(uint)iVar3 >> 0x10" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_32 = (undefined1)((uint)iVar3 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar3 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar3 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar3 >> 8)" ( (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_28 = (char)iVar2;" (assignment_expression "local_28 = (char)iVar2" identifier = (cast_expression "(char)iVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "local_31 = local_28 + '\t';" (assignment_expression "local_31 = local_28 + '\t'" identifier = (binary_expression "local_28 + '\t'" identifier + (char_literal "'\t'" ' escape_sequence '))) ;) (expression_statement "local_30 = 0x5e;" (assignment_expression "local_30 = 0x5e" identifier = number_literal) ;) (expression_statement "uVar4 = *param_5;" (assignment_expression "uVar4 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "local_2f = (undefined1)((uint)uVar4 >> 0x18);" (assignment_expression "local_2f = (undefined1)((uint)uVar4 >> 0x18)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 0x18)" ( (binary_expression "(uint)uVar4 >> 0x18" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2e = (undefined1)((uint)uVar4 >> 0x10);" (assignment_expression "local_2e = (undefined1)((uint)uVar4 >> 0x10)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 0x10)" ( (binary_expression "(uint)uVar4 >> 0x10" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2d = (undefined1)((uint)uVar4 >> 8);" (assignment_expression "local_2d = (undefined1)((uint)uVar4 >> 8)" identifier = (call_expression "(undefined1)((uint)uVar4 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)uVar4 >> 8)" ( (binary_expression "(uint)uVar4 >> 8" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2c = (undefined1)uVar4;" (assignment_expression "local_2c = (undefined1)uVar4" identifier = (cast_expression "(undefined1)uVar4" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "local_2b = (undefined1)((uint)iVar2 >> 0x18);" (assignment_expression "local_2b = (undefined1)((uint)iVar2 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 0x18)" ( (binary_expression "(uint)iVar2 >> 0x18" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_2a = (undefined1)((uint)iVar2 >> 0x10);" (assignment_expression "local_2a = (undefined1)((uint)iVar2 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 0x10)" ( (binary_expression "(uint)iVar2 >> 0x10" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_29 = (undefined1)((uint)iVar2 >> 8);" (assignment_expression "local_29 = (undefined1)((uint)iVar2 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar2 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar2 >> 8)" ( (binary_expression "(uint)iVar2 >> 8" (cast_expression "(uint)iVar2" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 8))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 8)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 8)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 8)" ( (binary_expression "**(int **)(param_1 + 8) + 8" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(param_1 + 8),&local_34,0xd)" ( (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" identifier = identifier) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,param_3,iVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = iVar1 - iVar2;" (assignment_expression "iVar1 = iVar1 - iVar2" identifier = (binary_expression "iVar1 - iVar2" identifier - identifier)) ;) (expression_statement "param_3 = param_3 + iVar2;" (assignment_expression "param_3 = param_3 + iVar2" identifier = (binary_expression "param_3 + iVar2" identifier + identifier)) ;) }) while (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) ;) }) (else_clause "else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" else (compound_statement "{\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" { (expression_statement "iVar1 = param_4 + 1;" (assignment_expression "iVar1 = param_4 + 1" identifier = (binary_expression "param_4 + 1" identifier + number_literal)) ;) (expression_statement "local_34 = (undefined1)((uint)iVar1 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar1 >> 0x18)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 0x18)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 0x18)" ( (binary_expression "(uint)iVar1 >> 0x18" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_33 = (undefined1)((uint)iVar1 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar1 >> 0x10)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 0x10)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 0x10)" ( (binary_expression "(uint)iVar1 >> 0x10" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_32 = (undefined1)((uint)iVar1 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar1 >> 8)" identifier = (call_expression "(undefined1)((uint)iVar1 >> 8)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((uint)iVar1 >> 8)" ( (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_31 = (char)param_4 + '\x01';" (assignment_expression "local_31 = (char)param_4 + '\x01'" identifier = (binary_expression "(char)param_4 + '\x01'" (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'\x01'" ' escape_sequence '))) ;) (expression_statement "local_30 = (undefined1)param_2;" (assignment_expression "local_30 = (undefined1)param_2" identifier = (cast_expression "(undefined1)param_2" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,&local_34,5)" ( identifier , (pointer_expression "&local_34" & identifier) , number_literal ))) ;) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" ( (pointer_expression "**(code **)(*piVar5 + 8)" * (pointer_expression "*(code **)(*piVar5 + 8)" * (cast_expression "(code **)(*piVar5 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 8)" ( (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,param_3,param_4)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" identifier = identifier) ;) }))) })) (if_statement "if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" if (parenthesized_expression "(local_24 != *(int *)PTR___stack_chk_guard_000bef2c)" ( (binary_expression "local_24 != *(int *)PTR___stack_chk_guard_000bef2c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" * (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" { (expression_statement "puVar6 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar6 = PTR___stack_chk_fail_000bef04" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" * (cast_expression "(code *)PTR___stack_chk_fail_000bef04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "del234(piVar5[0x100e]);" (call_expression "del234(piVar5[0x100e])" identifier (argument_list "(piVar5[0x100e])" ( (subscript_expression "piVar5[0x100e]" identifier [ number_literal ]) ))) ;) (expression_statement "del234(piVar5[0x100f],param_2);" (call_expression "del234(piVar5[0x100f],param_2)" identifier (argument_list "(piVar5[0x100f],param_2)" ( (subscript_expression "piVar5[0x100f]" identifier [ number_literal ]) , identifier ))) ;) (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" { (expression_statement "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));" (call_expression "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14))" (parenthesized_expression "(**(code **)(puVar6 + 0x3df24))" ( (pointer_expression "**(code **)(puVar6 + 0x3df24)" * (pointer_expression "*(code **)(puVar6 + 0x3df24)" * (cast_expression "(code **)(puVar6 + 0x3df24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3df24)" ( (binary_expression "puVar6 + 0x3df24" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(piVar5[3] + 0x14))" ( (pointer_expression "*(undefined4 *)(piVar5[3] + 0x14)" * (cast_expression "(undefined4 *)(piVar5[3] + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5[3] + 0x14)" ( (binary_expression "piVar5[3] + 0x14" (subscript_expression "piVar5[3]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) (expression_statement "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));" (call_expression "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c))" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" ( (pointer_expression "**(code **)(puVar6 + 0x3d724)" * (pointer_expression "*(code **)(puVar6 + 0x3d724)" * (cast_expression "(code **)(puVar6 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3d724)" ( (binary_expression "puVar6 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(param_2 + 0x1c))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(puVar6 + 0x3d724))(param_2);" (call_expression "(**(code **)(puVar6 + 0x3d724))(param_2)" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" ( (pointer_expression "**(code **)(puVar6 + 0x3d724)" * (pointer_expression "*(code **)(puVar6 + 0x3d724)" * (cast_expression "(code **)(puVar6 + 0x3d724)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x3d724)" ( (binary_expression "puVar6 + 0x3d724" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT)) | (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (char_literal ' escape_sequence '))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (char_literal ' escape_sequence '))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00080a70(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" (identifier "FUN_00080a70") (parameter_list "(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int *piVar5;\n  undefined *puVar6;\n  undefined1 local_34;\n  undefined1 local_33;\n  undefined1 local_32;\n  char local_31;\n  undefined1 local_30;\n  undefined1 local_2f;\n  undefined1 local_2e;\n  undefined1 local_2d;\n  undefined1 local_2c;\n  undefined1 local_2b;\n  undefined1 local_2a;\n  undefined1 local_29;\n  char local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;\n  piVar5 = *(int **)(param_1 + 8);\n  if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }\n  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 local_34;" (type_identifier "undefined1") (identifier "local_34") (; ";")) (declaration "undefined1 local_33;" (type_identifier "undefined1") (identifier "local_33") (; ";")) (declaration "undefined1 local_32;" (type_identifier "undefined1") (identifier "local_32") (; ";")) (declaration "char local_31;" (primitive_type "char") (identifier "local_31") (; ";")) (declaration "undefined1 local_30;" (type_identifier "undefined1") (identifier "local_30") (; ";")) (declaration "undefined1 local_2f;" (type_identifier "undefined1") (identifier "local_2f") (; ";")) (declaration "undefined1 local_2e;" (type_identifier "undefined1") (identifier "local_2e") (; ";")) (declaration "undefined1 local_2d;" (type_identifier "undefined1") (identifier "local_2d") (; ";")) (declaration "undefined1 local_2c;" (type_identifier "undefined1") (identifier "local_2c") (; ";")) (declaration "undefined1 local_2b;" (type_identifier "undefined1") (identifier "local_2b") (; ";")) (declaration "undefined1 local_2a;" (type_identifier "undefined1") (identifier "local_2a") (; ";")) (declaration "undefined1 local_29;" (type_identifier "undefined1") (identifier "local_29") (; ";")) (declaration "char local_28;" (primitive_type "char") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000bef2c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000bef2c" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bef2c")))) (; ";")) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (piVar5 != (int *)0x0) {\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" (if "if") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }\n  }" ({ "{") (if_statement "if (param_2 == 0x5e) {\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }\n    else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" (if "if") (parenthesized_expression "(param_2 == 0x5e)" (( "(") (binary_expression "param_2 == 0x5e" (identifier "param_2") (== "==") (number_literal "0x5e")) () ")")) (compound_statement "{\n      iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);\n      param_3 = param_3 + 8;\n      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }\n      do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);" (assignment_expression "iVar1 = (*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_toint_000be494)\n                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" (parenthesized_expression "(*(code *)PTR_toint_000be494)" (( "(") (pointer_expression "*(code *)PTR_toint_000be494" (* "*") (cast_expression "(code *)PTR_toint_000be494" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_toint_000be494"))) () ")")) (argument_list "((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8)" (( "(") (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10\n                         | (uint)*(byte *)(param_3 + 7)" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 4) << 0x18" (binary_expression "(uint)*(byte *)(param_3 + 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_3 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "(uint)*(byte *)(param_3 + 5) << 0x10" (binary_expression "(uint)*(byte *)(param_3 + 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_3 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 5)" (( "(") (binary_expression "param_3 + 5" (identifier "param_3") (+ "+") (number_literal "5")) () ")")))) (<< "<<") (number_literal "0x10"))) (| "|") (binary_expression "(uint)*(byte *)(param_3 + 7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_3 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 7)" (( "(") (binary_expression "param_3 + 7" (identifier "param_3") (+ "+") (number_literal "7")) () ")"))))) (| "|") (binary_expression "(uint)*(byte *)(param_3 + 6) << 8" (binary_expression "(uint)*(byte *)(param_3 + 6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_3 + 6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 6)" (( "(") (binary_expression "param_3 + 6" (identifier "param_3") (+ "+") (number_literal "6")) () ")")))) (<< "<<") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "param_3 = param_3 + 8;" (assignment_expression "param_3 = param_3 + 8" (identifier "param_3") (= "=") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8"))) (; ";")) (if_statement "if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {\n        iVar1 = param_4 + -8;\n      }" (if "if") (parenthesized_expression "((iVar1 < 0) || (param_4 + -7 <= iVar1))" (( "(") (binary_expression "(iVar1 < 0) || (param_4 + -7 <= iVar1)" (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_4 + -7 <= iVar1)" (( "(") (binary_expression "param_4 + -7 <= iVar1" (binary_expression "param_4 + -7" (identifier "param_4") (+ "+") (number_literal "-7")) (<= "<=") (identifier "iVar1")) () ")"))) () ")")) (compound_statement "{\n        iVar1 = param_4 + -8;\n      }" ({ "{") (expression_statement "iVar1 = param_4 + -8;" (assignment_expression "iVar1 = param_4 + -8" (identifier "iVar1") (= "=") (binary_expression "param_4 + -8" (identifier "param_4") (+ "+") (number_literal "-8"))) (; ";")) (} "}"))) (do_statement "do {\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      } while (0 < iVar1);" (do "do") (compound_statement "{\n        iVar2 = param_5[3];\n        if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }\n        iVar3 = iVar2 + 9;\n        local_34 = (undefined1)((uint)iVar3 >> 0x18);\n        local_33 = (undefined1)((uint)iVar3 >> 0x10);\n        local_32 = (undefined1)((uint)iVar3 >> 8);\n        local_28 = (char)iVar2;\n        local_31 = local_28 + '\t';\n        local_30 = 0x5e;\n        uVar4 = *param_5;\n        local_2f = (undefined1)((uint)uVar4 >> 0x18);\n        local_2e = (undefined1)((uint)uVar4 >> 0x10);\n        local_2d = (undefined1)((uint)uVar4 >> 8);\n        local_2c = (undefined1)uVar4;\n        local_2b = (undefined1)((uint)iVar2 >> 0x18);\n        local_2a = (undefined1)((uint)iVar2 >> 0x10);\n        local_29 = (undefined1)((uint)iVar2 >> 8);\n        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);\n        piVar5 = *(int **)(param_1 + 8);\n        param_2 = param_3;\n        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);\n        iVar1 = iVar1 - iVar2;\n        param_3 = param_3 + iVar2;\n      }" ({ "{") (expression_statement "iVar2 = param_5[3];" (assignment_expression "iVar2 = param_5[3]" (identifier "iVar2") (= "=") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar1 < (int)param_5[3]) {\n          iVar2 = iVar1;\n        }" (if "if") (parenthesized_expression "(iVar1 < (int)param_5[3])" (( "(") (binary_expression "iVar1 < (int)param_5[3]" (identifier "iVar1") (< "<") (cast_expression "(int)param_5[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n          iVar2 = iVar1;\n        }" ({ "{") (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar2 + 9;" (assignment_expression "iVar3 = iVar2 + 9" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 9" (identifier "iVar2") (+ "+") (number_literal "9"))) (; ";")) (expression_statement "local_34 = (undefined1)((uint)iVar3 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar3 >> 0x18)" (identifier "local_34") (= "=") (call_expression "(undefined1)((uint)iVar3 >> 0x18)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar3 >> 0x18)" (( "(") (binary_expression "(uint)iVar3 >> 0x18" (cast_expression "(uint)iVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar3")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "local_33 = (undefined1)((uint)iVar3 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar3 >> 0x10)" (identifier "local_33") (= "=") (call_expression "(undefined1)((uint)iVar3 >> 0x10)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar3 >> 0x10)" (( "(") (binary_expression "(uint)iVar3 >> 0x10" (cast_expression "(uint)iVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar3")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_32 = (undefined1)((uint)iVar3 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar3 >> 8)" (identifier "local_32") (= "=") (call_expression "(undefined1)((uint)iVar3 >> 8)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar3 >> 8)" (( "(") (binary_expression "(uint)iVar3 >> 8" (cast_expression "(uint)iVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar3")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "local_28 = (char)iVar2;" (assignment_expression "local_28 = (char)iVar2" (identifier "local_28") (= "=") (cast_expression "(char)iVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar2"))) (; ";")) (expression_statement "local_31 = local_28 + '\t';" (assignment_expression "local_31 = local_28 + '\t'" (identifier "local_31") (= "=") (binary_expression "local_28 + '\t'" (identifier "local_28") (+ "+") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'")))) (; ";")) (expression_statement "local_30 = 0x5e;" (assignment_expression "local_30 = 0x5e" (identifier "local_30") (= "=") (number_literal "0x5e")) (; ";")) (expression_statement "uVar4 = *param_5;" (assignment_expression "uVar4 = *param_5" (identifier "uVar4") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "local_2f = (undefined1)((uint)uVar4 >> 0x18);" (assignment_expression "local_2f = (undefined1)((uint)uVar4 >> 0x18)" (identifier "local_2f") (= "=") (call_expression "(undefined1)((uint)uVar4 >> 0x18)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)uVar4 >> 0x18)" (( "(") (binary_expression "(uint)uVar4 >> 0x18" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "local_2e = (undefined1)((uint)uVar4 >> 0x10);" (assignment_expression "local_2e = (undefined1)((uint)uVar4 >> 0x10)" (identifier "local_2e") (= "=") (call_expression "(undefined1)((uint)uVar4 >> 0x10)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)uVar4 >> 0x10)" (( "(") (binary_expression "(uint)uVar4 >> 0x10" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_2d = (undefined1)((uint)uVar4 >> 8);" (assignment_expression "local_2d = (undefined1)((uint)uVar4 >> 8)" (identifier "local_2d") (= "=") (call_expression "(undefined1)((uint)uVar4 >> 8)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)uVar4 >> 8)" (( "(") (binary_expression "(uint)uVar4 >> 8" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "local_2c = (undefined1)uVar4;" (assignment_expression "local_2c = (undefined1)uVar4" (identifier "local_2c") (= "=") (cast_expression "(undefined1)uVar4" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "uVar4"))) (; ";")) (expression_statement "local_2b = (undefined1)((uint)iVar2 >> 0x18);" (assignment_expression "local_2b = (undefined1)((uint)iVar2 >> 0x18)" (identifier "local_2b") (= "=") (call_expression "(undefined1)((uint)iVar2 >> 0x18)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar2 >> 0x18)" (( "(") (binary_expression "(uint)iVar2 >> 0x18" (cast_expression "(uint)iVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar2")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "local_2a = (undefined1)((uint)iVar2 >> 0x10);" (assignment_expression "local_2a = (undefined1)((uint)iVar2 >> 0x10)" (identifier "local_2a") (= "=") (call_expression "(undefined1)((uint)iVar2 >> 0x10)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar2 >> 0x10)" (( "(") (binary_expression "(uint)iVar2 >> 0x10" (cast_expression "(uint)iVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar2")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_29 = (undefined1)((uint)iVar2 >> 8);" (assignment_expression "local_29 = (undefined1)((uint)iVar2 >> 8)" (identifier "local_29") (= "=") (call_expression "(undefined1)((uint)iVar2 >> 8)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar2 >> 8)" (( "(") (binary_expression "(uint)iVar2 >> 8" (cast_expression "(uint)iVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar2")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd)" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 8))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 8)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 8)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 8) + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 8) + 8)" (( "(") (binary_expression "**(int **)(param_1 + 8) + 8" (pointer_expression "**(int **)(param_1 + 8)" (* "*") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(*(int **)(param_1 + 8),&local_34,0xd)" (( "(") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "0xd") () ")"))) (; ";")) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" (identifier "param_2") (= "=") (identifier "param_3")) (; ";")) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" (( "(") (pointer_expression "**(code **)(*piVar5 + 8)" (* "*") (pointer_expression "*(code **)(*piVar5 + 8)" (* "*") (cast_expression "(code **)(*piVar5 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar5 + 8)" (( "(") (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar5,param_3,iVar2)" (( "(") (identifier "piVar5") (, ",") (identifier "param_3") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 - iVar2;" (assignment_expression "iVar1 = iVar1 - iVar2" (identifier "iVar1") (= "=") (binary_expression "iVar1 - iVar2" (identifier "iVar1") (- "-") (identifier "iVar2"))) (; ";")) (expression_statement "param_3 = param_3 + iVar2;" (assignment_expression "param_3 = param_3 + iVar2" (identifier "param_3") (= "=") (binary_expression "param_3 + iVar2" (identifier "param_3") (+ "+") (identifier "iVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" (else "else") (compound_statement "{\n      iVar1 = param_4 + 1;\n      local_34 = (undefined1)((uint)iVar1 >> 0x18);\n      local_33 = (undefined1)((uint)iVar1 >> 0x10);\n      local_32 = (undefined1)((uint)iVar1 >> 8);\n      local_31 = (char)param_4 + '\x01';\n      local_30 = (undefined1)param_2;\n      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);\n      piVar5 = *(int **)(param_1 + 8);\n      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);\n      param_2 = param_3;\n    }" ({ "{") (expression_statement "iVar1 = param_4 + 1;" (assignment_expression "iVar1 = param_4 + 1" (identifier "iVar1") (= "=") (binary_expression "param_4 + 1" (identifier "param_4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_34 = (undefined1)((uint)iVar1 >> 0x18);" (assignment_expression "local_34 = (undefined1)((uint)iVar1 >> 0x18)" (identifier "local_34") (= "=") (call_expression "(undefined1)((uint)iVar1 >> 0x18)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar1 >> 0x18)" (( "(") (binary_expression "(uint)iVar1 >> 0x18" (cast_expression "(uint)iVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar1")) (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "local_33 = (undefined1)((uint)iVar1 >> 0x10);" (assignment_expression "local_33 = (undefined1)((uint)iVar1 >> 0x10)" (identifier "local_33") (= "=") (call_expression "(undefined1)((uint)iVar1 >> 0x10)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar1 >> 0x10)" (( "(") (binary_expression "(uint)iVar1 >> 0x10" (cast_expression "(uint)iVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar1")) (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "local_32 = (undefined1)((uint)iVar1 >> 8);" (assignment_expression "local_32 = (undefined1)((uint)iVar1 >> 8)" (identifier "local_32") (= "=") (call_expression "(undefined1)((uint)iVar1 >> 8)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((uint)iVar1 >> 8)" (( "(") (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar1")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "local_31 = (char)param_4 + '\x01';" (assignment_expression "local_31 = (char)param_4 + '\x01'" (identifier "local_31") (= "=") (binary_expression "(char)param_4 + '\x01'" (cast_expression "(char)param_4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_4")) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")))) (; ";")) (expression_statement "local_30 = (undefined1)param_2;" (assignment_expression "local_30 = (undefined1)param_2" (identifier "local_30") (= "=") (cast_expression "(undefined1)param_2" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,&local_34,5)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" (( "(") (pointer_expression "**(code **)(*piVar5 + 8)" (* "*") (pointer_expression "*(code **)(*piVar5 + 8)" (* "*") (cast_expression "(code **)(*piVar5 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar5 + 8)" (( "(") (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar5,&local_34,5)" (( "(") (identifier "piVar5") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (number_literal "5") () ")"))) (; ";")) (expression_statement "piVar5 = *(int **)(param_1 + 8);" (assignment_expression "piVar5 = *(int **)(param_1 + 8)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);" (call_expression "(**(code **)(*piVar5 + 8))(piVar5,param_3,param_4)" (parenthesized_expression "(**(code **)(*piVar5 + 8))" (( "(") (pointer_expression "**(code **)(*piVar5 + 8)" (* "*") (pointer_expression "*(code **)(*piVar5 + 8)" (* "*") (cast_expression "(code **)(*piVar5 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar5 + 8)" (( "(") (binary_expression "*piVar5 + 8" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar5,param_3,param_4)" (( "(") (identifier "piVar5") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "param_2 = param_3;" (assignment_expression "param_2 = param_3" (identifier "param_2") (= "=") (identifier "param_3")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(local_24 != *(int *)PTR___stack_chk_guard_000bef2c)" (( "(") (binary_expression "local_24 != *(int *)PTR___stack_chk_guard_000bef2c" (identifier "local_24") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_000bef2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000bef2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000bef2c")))) () ")")) (compound_statement "{\n    puVar6 = PTR___stack_chk_fail_000bef04;\n    (*(code *)PTR___stack_chk_fail_000bef04)();\n    del234(piVar5[0x100e]);\n    del234(piVar5[0x100f],param_2);\n    if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }\n    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));\n    (**(code **)(puVar6 + 0x3d724))(param_2);\n    return;\n  }" ({ "{") (expression_statement "puVar6 = PTR___stack_chk_fail_000bef04;" (assignment_expression "puVar6 = PTR___stack_chk_fail_000bef04" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_fail_000bef04")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000bef04)();" (call_expression "(*(code *)PTR___stack_chk_fail_000bef04)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000bef04)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000bef04" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000bef04" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000bef04"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "del234(piVar5[0x100e]);" (call_expression "del234(piVar5[0x100e])" (identifier "del234") (argument_list "(piVar5[0x100e])" (( "(") (subscript_expression "piVar5[0x100e]" (identifier "piVar5") ([ "[") (number_literal "0x100e") (] "]")) () ")"))) (; ";")) (expression_statement "del234(piVar5[0x100f],param_2);" (call_expression "del234(piVar5[0x100f],param_2)" (identifier "del234") (argument_list "(piVar5[0x100f],param_2)" (( "(") (subscript_expression "piVar5[0x100f]" (identifier "piVar5") ([ "[") (number_literal "0x100f") (] "]")) (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));\n    }" ({ "{") (expression_statement "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));" (call_expression "(**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14))" (parenthesized_expression "(**(code **)(puVar6 + 0x3df24))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x3df24)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x3df24)" (* "*") (cast_expression "(code **)(puVar6 + 0x3df24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x3df24)" (( "(") (binary_expression "puVar6 + 0x3df24" (identifier "puVar6") (+ "+") (number_literal "0x3df24")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(piVar5[3] + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(piVar5[3] + 0x14)" (* "*") (cast_expression "(undefined4 *)(piVar5[3] + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5[3] + 0x14)" (( "(") (binary_expression "piVar5[3] + 0x14" (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));" (call_expression "(**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c))" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x3d724)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x3d724)" (* "*") (cast_expression "(code **)(puVar6 + 0x3d724)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x3d724)" (( "(") (binary_expression "puVar6 + 0x3d724" (identifier "puVar6") (+ "+") (number_literal "0x3d724")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(param_2 + 0x1c))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar6 + 0x3d724))(param_2);" (call_expression "(**(code **)(puVar6 + 0x3d724))(param_2)" (parenthesized_expression "(**(code **)(puVar6 + 0x3d724))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x3d724)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x3d724)" (* "*") (cast_expression "(code **)(puVar6 + 0x3d724)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x3d724)" (( "(") (binary_expression "puVar6 + 0x3d724" (identifier "puVar6") (+ "+") (number_literal "0x3d724")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (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)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (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))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (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 (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

void MASKED(int param_1,int param_2,int param_3,int param_4,undefined4 *param_5)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int *piVar5;
  undefined *puVar6;
  undefined1 local_34;
  undefined1 local_33;
  undefined1 local_32;
  char local_31;
  undefined1 local_30;
  undefined1 local_2f;
  undefined1 local_2e;
  undefined1 local_2d;
  undefined1 local_2c;
  undefined1 local_2b;
  undefined1 local_2a;
  undefined1 local_29;
  char local_28;
  int local_24;
  
  local_24 = *(int *)PTR___stack_chk_guard_000bef2c;
  piVar5 = *(int **)(param_1 + 8);
  if (piVar5 != (int *)0x0) {
    if (param_2 == 0x5e) {
      iVar1 = (*(code *)PTR_toint_000be494)
                        ((uint)*(byte *)(param_3 + 4) << 0x18 | (uint)*(byte *)(param_3 + 5) << 0x10
                         | (uint)*(byte *)(param_3 + 7) | (uint)*(byte *)(param_3 + 6) << 8);
      param_3 = param_3 + 8;
      if ((iVar1 < 0) || (param_4 + -7 <= iVar1)) {
        iVar1 = param_4 + -8;
      }
      do {
        iVar2 = param_5[3];
        if (iVar1 < (int)param_5[3]) {
          iVar2 = iVar1;
        }
        iVar3 = iVar2 + 9;
        local_34 = (undefined1)((uint)iVar3 >> 0x18);
        local_33 = (undefined1)((uint)iVar3 >> 0x10);
        local_32 = (undefined1)((uint)iVar3 >> 8);
        local_28 = (char)iVar2;
        local_31 = local_28 + '\t';
        local_30 = 0x5e;
        uVar4 = *param_5;
        local_2f = (undefined1)((uint)uVar4 >> 0x18);
        local_2e = (undefined1)((uint)uVar4 >> 0x10);
        local_2d = (undefined1)((uint)uVar4 >> 8);
        local_2c = (undefined1)uVar4;
        local_2b = (undefined1)((uint)iVar2 >> 0x18);
        local_2a = (undefined1)((uint)iVar2 >> 0x10);
        local_29 = (undefined1)((uint)iVar2 >> 8);
        (**(code **)(**(int **)(param_1 + 8) + 8))(*(int **)(param_1 + 8),&local_34,0xd);
        piVar5 = *(int **)(param_1 + 8);
        param_2 = param_3;
        (**(code **)(*piVar5 + 8))(piVar5,param_3,iVar2);
        iVar1 = iVar1 - iVar2;
        param_3 = param_3 + iVar2;
      } while (0 < iVar1);
    }
    else {
      iVar1 = param_4 + 1;
      local_34 = (undefined1)((uint)iVar1 >> 0x18);
      local_33 = (undefined1)((uint)iVar1 >> 0x10);
      local_32 = (undefined1)((uint)iVar1 >> 8);
      local_31 = (char)param_4 + '\x01';
      local_30 = (undefined1)param_2;
      (**(code **)(*piVar5 + 8))(piVar5,&local_34,5);
      piVar5 = *(int **)(param_1 + 8);
      (**(code **)(*piVar5 + 8))(piVar5,param_3,param_4);
      param_2 = param_3;
    }
  }
  if (local_24 != *(int *)PTR___stack_chk_guard_000bef2c) {
    puVar6 = PTR___stack_chk_fail_000bef04;
    (*(code *)PTR___stack_chk_fail_000bef04)();
    del234(piVar5[0x100e]);
    del234(piVar5[0x100f],param_2);
    if (*(int *)(param_2 + 0x14) != 0) {
      (**(code **)(puVar6 + 0x3df24))(*(undefined4 *)(piVar5[3] + 0x14));
    }
    (**(code **)(puVar6 + 0x3d724))(*(undefined4 *)(param_2 + 0x1c));
    (**(code **)(puVar6 + 0x3d724))(param_2);
    return;
  }
  return;
}

