
void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)

{
  undefined *puVar1;
  byte *pbVar2;
  word32 wVar3;
  int len_00;
  byte *pbVar4;
  uint *puVar5;
  AESContext *ctx_00;
  uchar *blk_00;
  byte *pbVar6;
  byte *pbVar7;
  byte *pbVar8;
  byte *pbVar9;
  word32 *pwVar10;
  word32 iv [4];
  
  puVar1 = PTR___stack_chk_guard_000adcd4;
  len_00 = *(int *)PTR___stack_chk_guard_000adcd4;
  if ((len & 0xfU) != 0) {
    (*(code *)PTR___assert_fail_000adb00)
              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);
    return;
  }
  iv[0] = ctx->iv[0];
  iv[1] = ctx->iv[1];
  iv[2] = ctx->iv[2];
  iv[3] = ctx->iv[3];
  if (0 < len) {
    pbVar8 = blk + 0x10;
    pbVar7 = blk;
    puVar5 = iv;
    pbVar2 = pbVar8;
    pbVar6 = blk;
    while( true ) {
      do {
        pbVar9 = pbVar2;
        pbVar4 = pbVar7 + 4;
        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |
                            (uint)pbVar7[2] << 8);
        pbVar7 = pbVar4;
        puVar5 = puVar5 + 1;
        pbVar2 = pbVar9;
      } while (pbVar8 != pbVar4);
      (*ctx->encrypt)(ctx,iv);
      pwVar10 = iv;
      do {
        wVar3 = *pwVar10;
        pbVar7 = pbVar6 + 4;
        pwVar10 = pwVar10 + 1;
        pbVar6[3] = (byte)wVar3;
        *pbVar6 = (byte)(wVar3 >> 0x18);
        pbVar6[1] = (byte)(wVar3 >> 0x10);
        pbVar6[2] = (byte)(wVar3 >> 8);
        pbVar6 = pbVar7;
      } while (pbVar8 != pbVar7);
      pbVar8 = pbVar8 + 0x10;
      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;
      pbVar7 = pbVar9;
      puVar5 = iv;
      pbVar2 = pbVar9 + 0x10;
      pbVar6 = pbVar9;
    }
  }
  ctx->iv[0] = iv[0];
  ctx->iv[1] = iv[1];
  ctx->iv[2] = iv[2];
  ctx->iv[3] = iv[3];
  if (len_00 != *(int *)puVar1) {
    ctx_00 = (AESContext *)iv[1];
    blk_00 = (uchar *)iv[0];
    (*(code *)PTR___stack_chk_fail_000adca4)();
    aes_encrypt_cbc(blk_00,len_00,ctx_00);
    return;
  }
  return;
}



void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  byte *pbVar4;
  undefined4 uVar5;
  uint *puVar6;
  int iVar7;
  byte *unaff_s0;
  byte *pbVar8;
  byte *pbVar9;
  byte *unaff_s1;
  uint *unaff_s2;
  byte *unaff_s3;
  undefined4 *unaff_s4;
  uint *unaff_s5;
  byte *unaff_s6;
  int unaff_s7;
  code *pcVar10;
  code *pcVar11;
  uint *unaff_s8;
  undefined4 unaff_retaddr;
  undefined1 auStackX_0 [16];
  
  pcVar10 = FUN_0004bbb0;
  while( true ) {
    iVar7 = param_3;
    pcVar11 = pcVar10 + 0x696e0;
    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;
    unaff_s2 = *(uint **)(pcVar10 + 0x62124);
    *(code **)((int)register0x00000074 + -0x48) = pcVar11;
    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;
    *(uint **)((int)register0x00000074 + -8) = unaff_s8;
    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;
    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;
    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;
    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;
    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;
    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;
    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;
    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;
    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);
    if ((param_2 & 0xf) != 0) {
      (**(code **)(pcVar10 + 0x61f50))
                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,
                 *(int *)(pcVar10 + 0x61718) + 0xe1c);
      return;
    }
    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);
    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);
    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);
    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);
    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;
    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;
    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;
    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;
    unaff_s0 = param_1;
    if (0 < (int)param_2) {
      unaff_s3 = param_1 + 0x10;
      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;
      puVar6 = unaff_s5;
      pbVar9 = unaff_s3;
      pbVar8 = param_1;
      while( true ) {
        do {
          unaff_s0 = pbVar9;
          pbVar4 = param_1 + 4;
          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]
                              | (uint)param_1[2] << 8);
          param_1 = pbVar4;
          puVar6 = puVar6 + 1;
          pbVar9 = unaff_s0;
        } while (unaff_s3 != pbVar4);
        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);
        pcVar11 = *(code **)((int)register0x00000074 + -0x48);
        unaff_s8 = unaff_s5;
        do {
          uVar2 = *unaff_s8;
          pbVar9 = pbVar8 + 4;
          unaff_s8 = unaff_s8 + 1;
          pbVar8[3] = (byte)uVar2;
          *pbVar8 = (byte)(uVar2 >> 0x18);
          pbVar8[1] = (byte)(uVar2 >> 0x10);
          pbVar8[2] = (byte)(uVar2 >> 8);
          pbVar8 = pbVar9;
        } while (unaff_s3 != pbVar9);
        unaff_s3 = unaff_s3 + 0x10;
        unaff_s6 = unaff_s0;
        if (unaff_s1 == unaff_s3) break;
        param_1 = unaff_s0;
        puVar6 = unaff_s5;
        pbVar9 = unaff_s0 + 0x10;
        pbVar8 = unaff_s0;
      }
    }
    param_1 = *(byte **)((int)register0x00000074 + -0x3c);
    param_3 = *(int *)((int)register0x00000074 + -0x38);
    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);
    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);
    *unaff_s4 = param_1;
    *(int *)(iVar7 + 0x3cc) = param_3;
    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;
    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;
    param_2 = *(uint *)((int)register0x00000074 + -0x2c);
    if (param_2 == *unaff_s2) break;
    pcVar10 = *(code **)(pcVar11 + -0x75ec);
    unaff_retaddr = 0x4bd9c;
    (*pcVar10)();
    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);
    unaff_s7 = iVar7;
    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);
  }
  return;
}


lui gp,0x7
addiu gp,gp,-0x6920
addu gp,gp,t9
addiu sp,sp,-0x58
andi v0,a1,0xf
sw s2,0x38(sp)
lw s2,-0x75bc(gp)
sw gp,0x10(sp)
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s1,0x34(sp)
sw s0,0x30(sp)
lw v1,0x0(s2)
sw v1,0x2c(sp)
bne v0,zero,0x0004bd6c
_addiu s4,a2,0x3c8
or s0,a0,zero
or s7,a2,zero
lwl a0,0x4(s4)
addiu s5,sp,0x1c
lwl a2,0x0(s4)
lwl v1,0x8(s4)
lwl v0,0xc(s4)
lwr a0,0x7(s4)
lwr a2,0x3(s4)
lwr v1,0xb(s4)
lwr v0,0xf(s4)
sw a2,0x1c(sp)
sw a0,0x4(s5)
sw v1,0x8(s5)
blez a1,0x0004bd00
_sw v0,0xc(s5)
addiu a1,a1,-0x1
li v0,-0x10
addiu s1,s0,0x20
addiu s6,s0,0x10
and a1,a1,v0
addu s1,a1,s1
or s3,s6,zero
or s8,s5,zero
or v1,s0,zero
or a0,s5,zero
lbu v0,0x0(v1)
addiu v1,v1,0x4
addiu a0,a0,0x4
lw a1,-0x4(a0)
sll v0,v0,0x18
lbu a2,-0x3(v1)
lbu a3,-0x2(v1)
lbu t0,-0x1(v1)
sll a2,a2,0x10
sll a3,a3,0x8
or v0,v0,a2
or v0,v0,t0
or v0,v0,a3
xor v0,a1,v0
bne s3,v1,0x0004bc6c
_sw v0,-0x4(a0)
lw t9,0x3c0(s7)
or a1,s5,zero
jalr t9
_or a0,s7,zero
lw gp,0x10(sp)
lw v0,0x0(s8)
addiu s0,s0,0x4
addiu s8,s8,0x4
srl a0,v0,0x18
sb v0,-0x1(s0)
srl v1,v0,0x10
srl v0,v0,0x8
sb a0,-0x4(s0)
sb v1,-0x3(s0)
bne s3,s0,0x0004bcc0
_sb v0,-0x2(s0)
addiu s3,s3,0x10
beq s1,s3,0x0004bd00
_or s0,s6,zero
b 0x0004bc60
_addiu s6,s6,0x10
lw a1,0x1c(sp)
lw a0,0x4(s5)
lw v1,0x8(s5)
lw v0,0xc(s5)
swl a1,0x0(s4)
swr a1,0x3(s4)
swl a0,0x4(s4)
swr a0,0x7(s4)
swl v1,0x8(s4)
swr v1,0xb(s4)
swl v0,0xc(s4)
swr v0,0xf(s4)
lw a2,0x2c(sp)
lw v0,0x0(s2)
bne a2,v0,0x0004bd90
_lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,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,0x58
lw a3,-0x7fc8(gp)
li a2,0x409
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7790(gp)
addiu a3,a3,0xe1c
addiu a1,a1,0xcf0
jalr t9
_addiu a0,a0,0xcfc
lw t9,-0x75ec(gp)
jalr t9
_nop
lui gp,0x7
addiu gp,gp,-0x6b0c
addu gp,gp,t9
lw t9,-0x7bc0(gp)
or v0,a1,zero
or a1,a2,zero
or a2,a0,zero
addiu t9,t9,-0x4450
b 0x0004bbb0
_or a0,v0,zero
(translation_unit "void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004bbb0(byte *param_1,uint param_2,int param_3)" identifier (parameter_list "(byte *param_1,uint param_2,int param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *unaff_s1;" type_identifier (pointer_declarator "*unaff_s1" * identifier) ;) (declaration "uint *unaff_s2;" type_identifier (pointer_declarator "*unaff_s2" * identifier) ;) (declaration "byte *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined4 *unaff_s4;" type_identifier (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "uint *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "byte *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "uint *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 auStackX_0 [16];" type_identifier (array_declarator "auStackX_0 [16]" identifier [ number_literal ]) ;) (expression_statement "pcVar10 = FUN_0004bbb0;" (assignment_expression "pcVar10 = FUN_0004bbb0" identifier = identifier) ;) (while_statement "while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" { (expression_statement "iVar7 = param_3;" (assignment_expression "iVar7 = param_3" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar10 + 0x696e0;" (assignment_expression "pcVar11 = pcVar10 + 0x696e0" identifier = (binary_expression "pcVar10 + 0x696e0" identifier + number_literal)) ;) (expression_statement "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2" (pointer_expression "*(uint **)((int)register0x00000074 + -0x20)" * (cast_expression "(uint **)((int)register0x00000074 + -0x20)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x20)" ( (binary_expression "(int)register0x00000074 + -0x20" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "unaff_s2 = *(uint **)(pcVar10 + 0x62124);" (assignment_expression "unaff_s2 = *(uint **)(pcVar10 + 0x62124)" identifier = (pointer_expression "*(uint **)(pcVar10 + 0x62124)" * (cast_expression "(uint **)(pcVar10 + 0x62124)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x62124)" ( (binary_expression "pcVar10 + 0x62124" identifier + number_literal) ))))) ;) (expression_statement "*(code **)((int)register0x00000074 + -0x48) = pcVar11;" (assignment_expression "*(code **)((int)register0x00000074 + -0x48) = pcVar11" (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" * (cast_expression "(code **)((int)register0x00000074 + -0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x48)" ( (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -4)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -4)" ( (binary_expression "(int)register0x00000074 + -4" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)((int)register0x00000074 + -8) = unaff_s8;" (assignment_expression "*(uint **)((int)register0x00000074 + -8) = unaff_s8" (pointer_expression "*(uint **)((int)register0x00000074 + -8)" * (cast_expression "(uint **)((int)register0x00000074 + -8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -8)" ( (binary_expression "(int)register0x00000074 + -8" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)register0x00000074 + -0xc) = unaff_s7;" (assignment_expression "*(int *)((int)register0x00000074 + -0xc) = unaff_s7" (pointer_expression "*(int *)((int)register0x00000074 + -0xc)" * (cast_expression "(int *)((int)register0x00000074 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0xc)" ( (binary_expression "(int)register0x00000074 + -0xc" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6" (pointer_expression "*(byte **)((int)register0x00000074 + -0x10)" * (cast_expression "(byte **)((int)register0x00000074 + -0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x10)" ( (binary_expression "(int)register0x00000074 + -0x10" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5" (pointer_expression "*(uint **)((int)register0x00000074 + -0x14)" * (cast_expression "(uint **)((int)register0x00000074 + -0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x14)" ( (binary_expression "(int)register0x00000074 + -0x14" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;" (assignment_expression "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4" (pointer_expression "*(undefined4 **)((int)register0x00000074 + -0x18)" * (cast_expression "(undefined4 **)((int)register0x00000074 + -0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x18)" ( (binary_expression "(int)register0x00000074 + -0x18" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3" (pointer_expression "*(byte **)((int)register0x00000074 + -0x1c)" * (cast_expression "(byte **)((int)register0x00000074 + -0x1c)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x1c)" ( (binary_expression "(int)register0x00000074 + -0x1c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1" (pointer_expression "*(byte **)((int)register0x00000074 + -0x24)" * (cast_expression "(byte **)((int)register0x00000074 + -0x24)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x24)" ( (binary_expression "(int)register0x00000074 + -0x24" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0" (pointer_expression "*(byte **)((int)register0x00000074 + -0x28)" * (cast_expression "(byte **)((int)register0x00000074 + -0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x28)" ( (binary_expression "(int)register0x00000074 + -0x28" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;" (assignment_expression "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2" (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" * (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x2c)" ( (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*unaff_s2" * identifier)) ;) (expression_statement "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);" (assignment_expression "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8)" identifier = (cast_expression "(undefined4 *)(iVar7 + 0x3c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c8)" ( (binary_expression "iVar7 + 0x3c8" identifier + number_literal) )))) ;) (if_statement "if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" if (parenthesized_expression "((param_2 & 0xf) != 0)" ( (binary_expression "(param_2 & 0xf) != 0" (parenthesized_expression "(param_2 & 0xf)" ( (binary_expression "param_2 & 0xf" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" { (expression_statement "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);" (call_expression "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" (parenthesized_expression "(**(code **)(pcVar10 + 0x61f50))" ( (pointer_expression "**(code **)(pcVar10 + 0x61f50)" * (pointer_expression "*(code **)(pcVar10 + 0x61f50)" * (cast_expression "(code **)(pcVar10 + 0x61f50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x61f50)" ( (binary_expression "pcVar10 + 0x61f50" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" ( (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcfc" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcf0" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xe1c" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(undefined4 *)(iVar7 + 0x3cc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar7 + 0x3cc)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3cc)" * (cast_expression "(undefined4 *)(iVar7 + 0x3cc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3cc)" ( (binary_expression "iVar7 + 0x3cc" identifier + number_literal) ))))) ;) (expression_statement "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);" (assignment_expression "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c)" identifier = (cast_expression "(uint *)((int)register0x00000074 + -0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar7 + 0x3d0);" (assignment_expression "uVar3 = *(undefined4 *)(iVar7 + 0x3d0)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d0)" ( (binary_expression "iVar7 + 0x3d0" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(iVar7 + 0x3d4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar7 + 0x3d4)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d4)" ( (binary_expression "iVar7 + 0x3d4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x3c)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*unaff_s4" * identifier)) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x38)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x38)" ( (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x34)" ( (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x30)" ( (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" identifier = identifier) ;) (if_statement "if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" { (expression_statement "unaff_s3 = param_1 + 0x10;" (assignment_expression "unaff_s3 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;" (assignment_expression "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" identifier = (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0)" identifier + (parenthesized_expression "(param_2 - 1 & 0xfffffff0)" ( (binary_expression "param_2 - 1 & 0xfffffff0" (binary_expression "param_2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) ;) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" identifier = identifier) ;) (expression_statement "pbVar9 = unaff_s3;" (assignment_expression "pbVar9 = unaff_s3" identifier = identifier) ;) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" identifier = identifier) ;) (while_statement "while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" { (do_statement "do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);" do (compound_statement "{\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        }" { (expression_statement "unaff_s0 = pbVar9;" (assignment_expression "unaff_s0 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar4 = param_1 + 4;" (assignment_expression "pbVar4 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);" (assignment_expression "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" * identifier) = (binary_expression "*puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" * identifier) ^ (parenthesized_expression "((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" ( (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10" (binary_expression "(uint)*param_1 << 0x18" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal) | (binary_expression "(uint)param_1[1] << 0x10" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) << number_literal)) | (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) | (binary_expression "(uint)param_1[2] << 8" (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) << number_literal)) )))) ;) (expression_statement "param_1 = pbVar4;" (assignment_expression "param_1 = pbVar4" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar9 = unaff_s0;" (assignment_expression "pbVar9 = unaff_s0" identifier = identifier) ;) }) while (parenthesized_expression "(unaff_s3 != pbVar4)" ( (binary_expression "unaff_s3 != pbVar4" identifier != identifier) )) ;) (expression_statement "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);" (call_expression "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5)" (parenthesized_expression "(**(code **)(iVar7 + 0x3c0))" ( (pointer_expression "**(code **)(iVar7 + 0x3c0)" * (pointer_expression "*(code **)(iVar7 + 0x3c0)" * (cast_expression "(code **)(iVar7 + 0x3c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c0)" ( (binary_expression "iVar7 + 0x3c0" identifier + number_literal) ))))) )) (argument_list "(iVar7,unaff_s5)" ( identifier , identifier ))) ;) (expression_statement "pcVar11 = *(code **)((int)register0x00000074 + -0x48);" (assignment_expression "pcVar11 = *(code **)((int)register0x00000074 + -0x48)" identifier = (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" * (cast_expression "(code **)((int)register0x00000074 + -0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x48)" ( (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "unaff_s8 = unaff_s5;" (assignment_expression "unaff_s8 = unaff_s5" identifier = identifier) ;) (do_statement "do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);" do (compound_statement "{\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        }" { (expression_statement "uVar2 = *unaff_s8;" (assignment_expression "uVar2 = *unaff_s8" identifier = (pointer_expression "*unaff_s8" * identifier)) ;) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" identifier = (binary_expression "pbVar8 + 4" identifier + number_literal)) ;) (expression_statement "unaff_s8 = unaff_s8 + 1;" (assignment_expression "unaff_s8 = unaff_s8 + 1" identifier = (binary_expression "unaff_s8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar8[3] = (byte)uVar2;" (assignment_expression "pbVar8[3] = (byte)uVar2" (subscript_expression "pbVar8[3]" identifier [ number_literal ]) = (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "*pbVar8 = (byte)(uVar2 >> 0x18);" (assignment_expression "*pbVar8 = (byte)(uVar2 >> 0x18)" (pointer_expression "*pbVar8" * identifier) = (call_expression "(byte)(uVar2 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 0x18)" ( (binary_expression "uVar2 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "pbVar8[1] = (byte)(uVar2 >> 0x10);" (assignment_expression "pbVar8[1] = (byte)(uVar2 >> 0x10)" (subscript_expression "pbVar8[1]" identifier [ number_literal ]) = (call_expression "(byte)(uVar2 >> 0x10)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 0x10)" ( (binary_expression "uVar2 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "pbVar8[2] = (byte)(uVar2 >> 8);" (assignment_expression "pbVar8[2] = (byte)(uVar2 >> 8)" (subscript_expression "pbVar8[2]" identifier [ number_literal ]) = (call_expression "(byte)(uVar2 >> 8)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 8)" ( (binary_expression "uVar2 >> 8" identifier >> number_literal) )))) ;) (expression_statement "pbVar8 = pbVar9;" (assignment_expression "pbVar8 = pbVar9" identifier = identifier) ;) }) while (parenthesized_expression "(unaff_s3 != pbVar9)" ( (binary_expression "unaff_s3 != pbVar9" identifier != identifier) )) ;) (expression_statement "unaff_s3 = unaff_s3 + 0x10;" (assignment_expression "unaff_s3 = unaff_s3 + 0x10" identifier = (binary_expression "unaff_s3 + 0x10" identifier + number_literal)) ;) (expression_statement "unaff_s6 = unaff_s0;" (assignment_expression "unaff_s6 = unaff_s0" identifier = identifier) ;) (if_statement "if (unaff_s1 == unaff_s3) break;" if (parenthesized_expression "(unaff_s1 == unaff_s3)" ( (binary_expression "unaff_s1 == unaff_s3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_1 = unaff_s0;" (assignment_expression "param_1 = unaff_s0" identifier = identifier) ;) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" identifier = identifier) ;) (expression_statement "pbVar9 = unaff_s0 + 0x10;" (assignment_expression "pbVar9 = unaff_s0 + 0x10" identifier = (binary_expression "unaff_s0 + 0x10" identifier + number_literal)) ;) (expression_statement "pbVar8 = unaff_s0;" (assignment_expression "pbVar8 = unaff_s0" identifier = identifier) ;) })) })) (expression_statement "param_1 = *(byte **)((int)register0x00000074 + -0x3c);" (assignment_expression "param_1 = *(byte **)((int)register0x00000074 + -0x3c)" identifier = (pointer_expression "*(byte **)((int)register0x00000074 + -0x3c)" * (cast_expression "(byte **)((int)register0x00000074 + -0x3c)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_3 = *(int *)((int)register0x00000074 + -0x38);" (assignment_expression "param_3 = *(int *)((int)register0x00000074 + -0x38)" identifier = (pointer_expression "*(int *)((int)register0x00000074 + -0x38)" * (cast_expression "(int *)((int)register0x00000074 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x38)" ( (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);" (assignment_expression "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34)" identifier = (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x34)" ( (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);" (assignment_expression "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30)" identifier = (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x30)" ( (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*unaff_s4 = param_1;" (assignment_expression "*unaff_s4 = param_1" (pointer_expression "*unaff_s4" * identifier) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x3cc) = param_3;" (assignment_expression "*(int *)(iVar7 + 0x3cc) = param_3" (pointer_expression "*(int *)(iVar7 + 0x3cc)" * (cast_expression "(int *)(iVar7 + 0x3cc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3cc)" ( (binary_expression "iVar7 + 0x3cc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x3d0) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d0) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d0)" ( (binary_expression "iVar7 + 0x3d0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x3d4) = uVar1;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d4) = uVar1" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d4)" ( (binary_expression "iVar7 + 0x3d4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = *(uint *)((int)register0x00000074 + -0x2c);" (assignment_expression "param_2 = *(uint *)((int)register0x00000074 + -0x2c)" identifier = (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" * (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x2c)" ( (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (param_2 == *unaff_s2) break;" if (parenthesized_expression "(param_2 == *unaff_s2)" ( (binary_expression "param_2 == *unaff_s2" identifier == (pointer_expression "*unaff_s2" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "pcVar10 = *(code **)(pcVar11 + -0x75ec);" (assignment_expression "pcVar10 = *(code **)(pcVar11 + -0x75ec)" identifier = (pointer_expression "*(code **)(pcVar11 + -0x75ec)" * (cast_expression "(code **)(pcVar11 + -0x75ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + -0x75ec)" ( (binary_expression "pcVar11 + -0x75ec" identifier + number_literal) ))))) ;) (expression_statement "unaff_retaddr = 0x4bd9c;" (assignment_expression "unaff_retaddr = 0x4bd9c" identifier = number_literal) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);" (assignment_expression "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" identifier = (cast_expression "(code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x61934) + -0x4450)" ( (binary_expression "*(int *)(pcVar10 + 0x61934) + -0x4450" (pointer_expression "*(int *)(pcVar10 + 0x61934)" * (cast_expression "(int *)(pcVar10 + 0x61934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61934)" ( (binary_expression "pcVar10 + 0x61934" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "unaff_s7 = iVar7;" (assignment_expression "unaff_s7 = iVar7" identifier = identifier) ;) (expression_statement "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);" (assignment_expression "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58)" identifier = (cast_expression "(BADSPACEBASE *)((int)register0x00000074 + -0x58)" ( (type_descriptor "BADSPACEBASE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x58)" ( (binary_expression "(int)register0x00000074 + -0x58" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)\n\n{\n  undefined *puVar1;\n  byte *pbVar2;\n  word32 wVar3;\n  int len_00;\n  byte *pbVar4;\n  uint *puVar5;\n  AESContext *ctx_00;\n  uchar *blk_00;\n  byte *pbVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  word32 *pwVar10;\n  word32 iv [4];\n  \n  puVar1 = PTR___stack_chk_guard_000adcd4;\n  len_00 = *(int *)PTR___stack_chk_guard_000adcd4;\n  if ((len & 0xfU) != 0) {\n    (*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);\n    return;\n  }\n  iv[0] = ctx->iv[0];\n  iv[1] = ctx->iv[1];\n  iv[2] = ctx->iv[2];\n  iv[3] = ctx->iv[3];\n  if (0 < len) {\n    pbVar8 = blk + 0x10;\n    pbVar7 = blk;\n    puVar5 = iv;\n    pbVar2 = pbVar8;\n    pbVar6 = blk;\n    while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }\n  }\n  ctx->iv[0] = iv[0];\n  ctx->iv[1] = iv[1];\n  ctx->iv[2] = iv[2];\n  ctx->iv[3] = iv[3];\n  if (len_00 != *(int *)puVar1) {\n    ctx_00 = (AESContext *)iv[1];\n    blk_00 = (uchar *)iv[0];\n    (*(code *)PTR___stack_chk_fail_000adca4)();\n    aes_encrypt_cbc(blk_00,len_00,ctx_00);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)\n\n{\n  undefined *puVar1;\n  byte *pbVar2;\n  word32 wVar3;\n  int len_00;\n  byte *pbVar4;\n  uint *puVar5;\n  AESContext *ctx_00;\n  uchar *blk_00;\n  byte *pbVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  word32 *pwVar10;\n  word32 iv [4];\n  \n  puVar1 = PTR___stack_chk_guard_000adcd4;\n  len_00 = *(int *)PTR___stack_chk_guard_000adcd4;\n  if ((len & 0xfU) != 0) {\n    (*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);\n    return;\n  }\n  iv[0] = ctx->iv[0];\n  iv[1] = ctx->iv[1];\n  iv[2] = ctx->iv[2];\n  iv[3] = ctx->iv[3];\n  if (0 < len) {\n    pbVar8 = blk + 0x10;\n    pbVar7 = blk;\n    puVar5 = iv;\n    pbVar2 = pbVar8;\n    pbVar6 = blk;\n    while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }\n  }\n  ctx->iv[0] = iv[0];\n  ctx->iv[1] = iv[1];\n  ctx->iv[2] = iv[2];\n  ctx->iv[3] = iv[3];\n  if (len_00 != *(int *)puVar1) {\n    ctx_00 = (AESContext *)iv[1];\n    blk_00 = (uchar *)iv[0];\n    (*(code *)PTR___stack_chk_fail_000adca4)();\n    aes_encrypt_cbc(blk_00,len_00,ctx_00);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)" identifier (parameter_list "(uchar *blk,int len,AESContext *ctx)" ( (parameter_declaration "uchar *blk" type_identifier (pointer_declarator "*blk" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "AESContext *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  byte *pbVar2;\n  word32 wVar3;\n  int len_00;\n  byte *pbVar4;\n  uint *puVar5;\n  AESContext *ctx_00;\n  uchar *blk_00;\n  byte *pbVar6;\n  byte *pbVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  word32 *pwVar10;\n  word32 iv [4];\n  \n  puVar1 = PTR___stack_chk_guard_000adcd4;\n  len_00 = *(int *)PTR___stack_chk_guard_000adcd4;\n  if ((len & 0xfU) != 0) {\n    (*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);\n    return;\n  }\n  iv[0] = ctx->iv[0];\n  iv[1] = ctx->iv[1];\n  iv[2] = ctx->iv[2];\n  iv[3] = ctx->iv[3];\n  if (0 < len) {\n    pbVar8 = blk + 0x10;\n    pbVar7 = blk;\n    puVar5 = iv;\n    pbVar2 = pbVar8;\n    pbVar6 = blk;\n    while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }\n  }\n  ctx->iv[0] = iv[0];\n  ctx->iv[1] = iv[1];\n  ctx->iv[2] = iv[2];\n  ctx->iv[3] = iv[3];\n  if (len_00 != *(int *)puVar1) {\n    ctx_00 = (AESContext *)iv[1];\n    blk_00 = (uchar *)iv[0];\n    (*(code *)PTR___stack_chk_fail_000adca4)();\n    aes_encrypt_cbc(blk_00,len_00,ctx_00);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "word32 wVar3;" type_identifier identifier ;) (declaration "int len_00;" primitive_type identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "AESContext *ctx_00;" type_identifier (pointer_declarator "*ctx_00" * identifier) ;) (declaration "uchar *blk_00;" type_identifier (pointer_declarator "*blk_00" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "word32 *pwVar10;" type_identifier (pointer_declarator "*pwVar10" * identifier) ;) (declaration "word32 iv [4];" type_identifier (array_declarator "iv [4]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000adcd4;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000adcd4" identifier = identifier) ;) (expression_statement "len_00 = *(int *)PTR___stack_chk_guard_000adcd4;" (assignment_expression "len_00 = *(int *)PTR___stack_chk_guard_000adcd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000adcd4" * (cast_expression "(int *)PTR___stack_chk_guard_000adcd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((len & 0xfU) != 0) {\n    (*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);\n    return;\n  }" if (parenthesized_expression "((len & 0xfU) != 0)" ( (binary_expression "(len & 0xfU) != 0" (parenthesized_expression "(len & 0xfU)" ( (binary_expression "len & 0xfU" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c);" (call_expression "(*(code *)PTR___assert_fail_000adb00)\n              (PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c)" (parenthesized_expression "(*(code *)PTR___assert_fail_000adb00)" ( (pointer_expression "*(code *)PTR___assert_fail_000adb00" * (cast_expression "(code *)PTR___assert_fail_000adb00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000ad2c8 + 0xcfc,PTR_DAT_000ad2c8 + 0xcf0,0x409,PTR_DAT_000ad2c8 + 0xe1c)" ( (binary_expression "PTR_DAT_000ad2c8 + 0xcfc" identifier + number_literal) , (binary_expression "PTR_DAT_000ad2c8 + 0xcf0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000ad2c8 + 0xe1c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iv[0] = ctx->iv[0];" (assignment_expression "iv[0] = ctx->iv[0]" (subscript_expression "iv[0]" identifier [ number_literal ]) = (subscript_expression "ctx->iv[0]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iv[1] = ctx->iv[1];" (assignment_expression "iv[1] = ctx->iv[1]" (subscript_expression "iv[1]" identifier [ number_literal ]) = (subscript_expression "ctx->iv[1]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iv[2] = ctx->iv[2];" (assignment_expression "iv[2] = ctx->iv[2]" (subscript_expression "iv[2]" identifier [ number_literal ]) = (subscript_expression "ctx->iv[2]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iv[3] = ctx->iv[3];" (assignment_expression "iv[3] = ctx->iv[3]" (subscript_expression "iv[3]" identifier [ number_literal ]) = (subscript_expression "ctx->iv[3]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (0 < len) {\n    pbVar8 = blk + 0x10;\n    pbVar7 = blk;\n    puVar5 = iv;\n    pbVar2 = pbVar8;\n    pbVar6 = blk;\n    while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }\n  }" if (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) (compound_statement "{\n    pbVar8 = blk + 0x10;\n    pbVar7 = blk;\n    puVar5 = iv;\n    pbVar2 = pbVar8;\n    pbVar6 = blk;\n    while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }\n  }" { (expression_statement "pbVar8 = blk + 0x10;" (assignment_expression "pbVar8 = blk + 0x10" identifier = (binary_expression "blk + 0x10" identifier + number_literal)) ;) (expression_statement "pbVar7 = blk;" (assignment_expression "pbVar7 = blk" identifier = identifier) ;) (expression_statement "puVar5 = iv;" (assignment_expression "puVar5 = iv" identifier = identifier) ;) (expression_statement "pbVar2 = pbVar8;" (assignment_expression "pbVar2 = pbVar8" identifier = identifier) ;) (expression_statement "pbVar6 = blk;" (assignment_expression "pbVar6 = blk" identifier = identifier) ;) (while_statement "while( true ) {\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);\n      (*ctx->encrypt)(ctx,iv);\n      pwVar10 = iv;\n      do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);\n      pbVar8 = pbVar8 + 0x10;\n      if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;\n      pbVar7 = pbVar9;\n      puVar5 = iv;\n      pbVar2 = pbVar9 + 0x10;\n      pbVar6 = pbVar9;\n    }" { (do_statement "do {\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      } while (pbVar8 != pbVar4);" do (compound_statement "{\n        pbVar9 = pbVar2;\n        pbVar4 = pbVar7 + 4;\n        *puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);\n        pbVar7 = pbVar4;\n        puVar5 = puVar5 + 1;\n        pbVar2 = pbVar9;\n      }" { (expression_statement "pbVar9 = pbVar2;" (assignment_expression "pbVar9 = pbVar2" identifier = identifier) ;) (expression_statement "pbVar4 = pbVar7 + 4;" (assignment_expression "pbVar4 = pbVar7 + 4" identifier = (binary_expression "pbVar7 + 4" identifier + number_literal)) ;) (expression_statement "*puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8);" (assignment_expression "*puVar5 = *puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8)" (pointer_expression "*puVar5" * identifier) = (binary_expression "*puVar5 ^ ((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8)" (pointer_expression "*puVar5" * identifier) ^ (parenthesized_expression "((uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8)" ( (binary_expression "(uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3] |\n                            (uint)pbVar7[2] << 8" (binary_expression "(uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10 | (uint)pbVar7[3]" (binary_expression "(uint)*pbVar7 << 0x18 | (uint)pbVar7[1] << 0x10" (binary_expression "(uint)*pbVar7 << 0x18" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal) | (binary_expression "(uint)pbVar7[1] << 0x10" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) << number_literal)) | (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ]))) | (binary_expression "(uint)pbVar7[2] << 8" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) << number_literal)) )))) ;) (expression_statement "pbVar7 = pbVar4;" (assignment_expression "pbVar7 = pbVar4" identifier = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar2 = pbVar9;" (assignment_expression "pbVar2 = pbVar9" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar8 != pbVar4)" ( (binary_expression "pbVar8 != pbVar4" identifier != identifier) )) ;) (expression_statement "(*ctx->encrypt)(ctx,iv);" (call_expression "(*ctx->encrypt)(ctx,iv)" (parenthesized_expression "(*ctx->encrypt)" ( (pointer_expression "*ctx->encrypt" * (field_expression "ctx->encrypt" identifier -> field_identifier)) )) (argument_list "(ctx,iv)" ( identifier , identifier ))) ;) (expression_statement "pwVar10 = iv;" (assignment_expression "pwVar10 = iv" identifier = identifier) ;) (do_statement "do {\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      } while (pbVar8 != pbVar7);" do (compound_statement "{\n        wVar3 = *pwVar10;\n        pbVar7 = pbVar6 + 4;\n        pwVar10 = pwVar10 + 1;\n        pbVar6[3] = (byte)wVar3;\n        *pbVar6 = (byte)(wVar3 >> 0x18);\n        pbVar6[1] = (byte)(wVar3 >> 0x10);\n        pbVar6[2] = (byte)(wVar3 >> 8);\n        pbVar6 = pbVar7;\n      }" { (expression_statement "wVar3 = *pwVar10;" (assignment_expression "wVar3 = *pwVar10" identifier = (pointer_expression "*pwVar10" * identifier)) ;) (expression_statement "pbVar7 = pbVar6 + 4;" (assignment_expression "pbVar7 = pbVar6 + 4" identifier = (binary_expression "pbVar6 + 4" identifier + number_literal)) ;) (expression_statement "pwVar10 = pwVar10 + 1;" (assignment_expression "pwVar10 = pwVar10 + 1" identifier = (binary_expression "pwVar10 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6[3] = (byte)wVar3;" (assignment_expression "pbVar6[3] = (byte)wVar3" (subscript_expression "pbVar6[3]" identifier [ number_literal ]) = (cast_expression "(byte)wVar3" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "*pbVar6 = (byte)(wVar3 >> 0x18);" (assignment_expression "*pbVar6 = (byte)(wVar3 >> 0x18)" (pointer_expression "*pbVar6" * identifier) = (call_expression "(byte)(wVar3 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(wVar3 >> 0x18)" ( (binary_expression "wVar3 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "pbVar6[1] = (byte)(wVar3 >> 0x10);" (assignment_expression "pbVar6[1] = (byte)(wVar3 >> 0x10)" (subscript_expression "pbVar6[1]" identifier [ number_literal ]) = (call_expression "(byte)(wVar3 >> 0x10)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(wVar3 >> 0x10)" ( (binary_expression "wVar3 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "pbVar6[2] = (byte)(wVar3 >> 8);" (assignment_expression "pbVar6[2] = (byte)(wVar3 >> 8)" (subscript_expression "pbVar6[2]" identifier [ number_literal ]) = (call_expression "(byte)(wVar3 >> 8)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(wVar3 >> 8)" ( (binary_expression "wVar3 >> 8" identifier >> number_literal) )))) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar8 != pbVar7)" ( (binary_expression "pbVar8 != pbVar7" identifier != identifier) )) ;) (expression_statement "pbVar8 = pbVar8 + 0x10;" (assignment_expression "pbVar8 = pbVar8 + 0x10" identifier = (binary_expression "pbVar8 + 0x10" identifier + number_literal)) ;) (if_statement "if (blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8) break;" if (parenthesized_expression "(blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8)" ( (binary_expression "blk + (len - 1U & 0xfffffff0) + 0x20 == pbVar8" (binary_expression "blk + (len - 1U & 0xfffffff0) + 0x20" (binary_expression "blk + (len - 1U & 0xfffffff0)" identifier + (parenthesized_expression "(len - 1U & 0xfffffff0)" ( (binary_expression "len - 1U & 0xfffffff0" (binary_expression "len - 1U" identifier - number_literal) & number_literal) ))) + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pbVar7 = pbVar9;" (assignment_expression "pbVar7 = pbVar9" identifier = identifier) ;) (expression_statement "puVar5 = iv;" (assignment_expression "puVar5 = iv" identifier = identifier) ;) (expression_statement "pbVar2 = pbVar9 + 0x10;" (assignment_expression "pbVar2 = pbVar9 + 0x10" identifier = (binary_expression "pbVar9 + 0x10" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar9;" (assignment_expression "pbVar6 = pbVar9" identifier = identifier) ;) })) })) (expression_statement "ctx->iv[0] = iv[0];" (assignment_expression "ctx->iv[0] = iv[0]" (subscript_expression "ctx->iv[0]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "iv[0]" identifier [ number_literal ])) ;) (expression_statement "ctx->iv[1] = iv[1];" (assignment_expression "ctx->iv[1] = iv[1]" (subscript_expression "ctx->iv[1]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "iv[1]" identifier [ number_literal ])) ;) (expression_statement "ctx->iv[2] = iv[2];" (assignment_expression "ctx->iv[2] = iv[2]" (subscript_expression "ctx->iv[2]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "iv[2]" identifier [ number_literal ])) ;) (expression_statement "ctx->iv[3] = iv[3];" (assignment_expression "ctx->iv[3] = iv[3]" (subscript_expression "ctx->iv[3]" (field_expression "ctx->iv" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "iv[3]" identifier [ number_literal ])) ;) (if_statement "if (len_00 != *(int *)puVar1) {\n    ctx_00 = (AESContext *)iv[1];\n    blk_00 = (uchar *)iv[0];\n    (*(code *)PTR___stack_chk_fail_000adca4)();\n    aes_encrypt_cbc(blk_00,len_00,ctx_00);\n    return;\n  }" if (parenthesized_expression "(len_00 != *(int *)puVar1)" ( (binary_expression "len_00 != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    ctx_00 = (AESContext *)iv[1];\n    blk_00 = (uchar *)iv[0];\n    (*(code *)PTR___stack_chk_fail_000adca4)();\n    aes_encrypt_cbc(blk_00,len_00,ctx_00);\n    return;\n  }" { (expression_statement "ctx_00 = (AESContext *)iv[1];" (assignment_expression "ctx_00 = (AESContext *)iv[1]" identifier = (cast_expression "(AESContext *)iv[1]" ( (type_descriptor "AESContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "iv[1]" identifier [ number_literal ]))) ;) (expression_statement "blk_00 = (uchar *)iv[0];" (assignment_expression "blk_00 = (uchar *)iv[0]" identifier = (cast_expression "(uchar *)iv[0]" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "iv[0]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000adca4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000adca4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000adca4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000adca4" * (cast_expression "(code *)PTR___stack_chk_fail_000adca4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "aes_encrypt_cbc(blk_00,len_00,ctx_00);" (call_expression "aes_encrypt_cbc(blk_00,len_00,ctx_00)" identifier (argument_list "(blk_00,len_00,ctx_00)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0004bbb0(byte *param_1,uint param_2,int param_3)" identifier (parameter_list "(byte *param_1,uint param_2,int param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *unaff_s1;" type_identifier (pointer_declarator "*unaff_s1" * identifier) ;) (declaration "uint *unaff_s2;" type_identifier (pointer_declarator "*unaff_s2" * identifier) ;) (declaration "byte *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined4 *unaff_s4;" type_identifier (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "uint *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "byte *unaff_s6;" type_identifier (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "uint *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "undefined1 auStackX_0 [16];" type_identifier (array_declarator "auStackX_0 [16]" identifier [ number_literal ]) ;) (expression_statement "pcVar10 = FUN_0004bbb0;" (assignment_expression "pcVar10 = FUN_0004bbb0" identifier = identifier) ;) (while_statement "while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" { (expression_statement "iVar7 = param_3;" (assignment_expression "iVar7 = param_3" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar10 + 0x696e0;" (assignment_expression "pcVar11 = pcVar10 + 0x696e0" identifier = (binary_expression "pcVar10 + 0x696e0" identifier + number_literal)) ;) (expression_statement "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2" (pointer_expression "*(uint **)((int)register0x00000074 + -0x20)" * (cast_expression "(uint **)((int)register0x00000074 + -0x20)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x20)" ( (binary_expression "(int)register0x00000074 + -0x20" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "unaff_s2 = *(uint **)(pcVar10 + 0x62124);" (assignment_expression "unaff_s2 = *(uint **)(pcVar10 + 0x62124)" identifier = (pointer_expression "*(uint **)(pcVar10 + 0x62124)" * (cast_expression "(uint **)(pcVar10 + 0x62124)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x62124)" ( (binary_expression "pcVar10 + 0x62124" identifier + number_literal) ))))) ;) (expression_statement "*(code **)((int)register0x00000074 + -0x48) = pcVar11;" (assignment_expression "*(code **)((int)register0x00000074 + -0x48) = pcVar11" (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" * (cast_expression "(code **)((int)register0x00000074 + -0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x48)" ( (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -4)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -4)" ( (binary_expression "(int)register0x00000074 + -4" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)((int)register0x00000074 + -8) = unaff_s8;" (assignment_expression "*(uint **)((int)register0x00000074 + -8) = unaff_s8" (pointer_expression "*(uint **)((int)register0x00000074 + -8)" * (cast_expression "(uint **)((int)register0x00000074 + -8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -8)" ( (binary_expression "(int)register0x00000074 + -8" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)register0x00000074 + -0xc) = unaff_s7;" (assignment_expression "*(int *)((int)register0x00000074 + -0xc) = unaff_s7" (pointer_expression "*(int *)((int)register0x00000074 + -0xc)" * (cast_expression "(int *)((int)register0x00000074 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0xc)" ( (binary_expression "(int)register0x00000074 + -0xc" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6" (pointer_expression "*(byte **)((int)register0x00000074 + -0x10)" * (cast_expression "(byte **)((int)register0x00000074 + -0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x10)" ( (binary_expression "(int)register0x00000074 + -0x10" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5" (pointer_expression "*(uint **)((int)register0x00000074 + -0x14)" * (cast_expression "(uint **)((int)register0x00000074 + -0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x14)" ( (binary_expression "(int)register0x00000074 + -0x14" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;" (assignment_expression "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4" (pointer_expression "*(undefined4 **)((int)register0x00000074 + -0x18)" * (cast_expression "(undefined4 **)((int)register0x00000074 + -0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x18)" ( (binary_expression "(int)register0x00000074 + -0x18" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3" (pointer_expression "*(byte **)((int)register0x00000074 + -0x1c)" * (cast_expression "(byte **)((int)register0x00000074 + -0x1c)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x1c)" ( (binary_expression "(int)register0x00000074 + -0x1c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1" (pointer_expression "*(byte **)((int)register0x00000074 + -0x24)" * (cast_expression "(byte **)((int)register0x00000074 + -0x24)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x24)" ( (binary_expression "(int)register0x00000074 + -0x24" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0" (pointer_expression "*(byte **)((int)register0x00000074 + -0x28)" * (cast_expression "(byte **)((int)register0x00000074 + -0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x28)" ( (binary_expression "(int)register0x00000074 + -0x28" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;" (assignment_expression "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2" (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" * (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x2c)" ( (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*unaff_s2" * identifier)) ;) (expression_statement "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);" (assignment_expression "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8)" identifier = (cast_expression "(undefined4 *)(iVar7 + 0x3c8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c8)" ( (binary_expression "iVar7 + 0x3c8" identifier + number_literal) )))) ;) (if_statement "if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" if (parenthesized_expression "((param_2 & 0xf) != 0)" ( (binary_expression "(param_2 & 0xf) != 0" (parenthesized_expression "(param_2 & 0xf)" ( (binary_expression "param_2 & 0xf" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" { (expression_statement "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);" (call_expression "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" (parenthesized_expression "(**(code **)(pcVar10 + 0x61f50))" ( (pointer_expression "**(code **)(pcVar10 + 0x61f50)" * (pointer_expression "*(code **)(pcVar10 + 0x61f50)" * (cast_expression "(code **)(pcVar10 + 0x61f50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x61f50)" ( (binary_expression "pcVar10 + 0x61f50" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" ( (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcfc" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcf0" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xe1c" (pointer_expression "*(int *)(pcVar10 + 0x61718)" * (cast_expression "(int *)(pcVar10 + 0x61718)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61718)" ( (binary_expression "pcVar10 + 0x61718" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(undefined4 *)(iVar7 + 0x3cc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar7 + 0x3cc)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3cc)" * (cast_expression "(undefined4 *)(iVar7 + 0x3cc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3cc)" ( (binary_expression "iVar7 + 0x3cc" identifier + number_literal) ))))) ;) (expression_statement "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);" (assignment_expression "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c)" identifier = (cast_expression "(uint *)((int)register0x00000074 + -0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar7 + 0x3d0);" (assignment_expression "uVar3 = *(undefined4 *)(iVar7 + 0x3d0)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d0)" ( (binary_expression "iVar7 + 0x3d0" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(iVar7 + 0x3d4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar7 + 0x3d4)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d4)" ( (binary_expression "iVar7 + 0x3d4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x3c)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*unaff_s4" * identifier)) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x38)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x38)" ( (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x34)" ( (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x30)" ( (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" identifier = identifier) ;) (if_statement "if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" if (parenthesized_expression "(0 < (int)param_2)" ( (binary_expression "0 < (int)param_2" number_literal < (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" { (expression_statement "unaff_s3 = param_1 + 0x10;" (assignment_expression "unaff_s3 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;" (assignment_expression "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" identifier = (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0)" identifier + (parenthesized_expression "(param_2 - 1 & 0xfffffff0)" ( (binary_expression "param_2 - 1 & 0xfffffff0" (binary_expression "param_2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) ;) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" identifier = identifier) ;) (expression_statement "pbVar9 = unaff_s3;" (assignment_expression "pbVar9 = unaff_s3" identifier = identifier) ;) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" identifier = identifier) ;) (while_statement "while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" { (do_statement "do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);" do (compound_statement "{\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        }" { (expression_statement "unaff_s0 = pbVar9;" (assignment_expression "unaff_s0 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar4 = param_1 + 4;" (assignment_expression "pbVar4 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);" (assignment_expression "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" * identifier) = (binary_expression "*puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" * identifier) ^ (parenthesized_expression "((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" ( (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10" (binary_expression "(uint)*param_1 << 0x18" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) << number_literal) | (binary_expression "(uint)param_1[1] << 0x10" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) << number_literal)) | (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) | (binary_expression "(uint)param_1[2] << 8" (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) << number_literal)) )))) ;) (expression_statement "param_1 = pbVar4;" (assignment_expression "param_1 = pbVar4" identifier = identifier) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar9 = unaff_s0;" (assignment_expression "pbVar9 = unaff_s0" identifier = identifier) ;) }) while (parenthesized_expression "(unaff_s3 != pbVar4)" ( (binary_expression "unaff_s3 != pbVar4" identifier != identifier) )) ;) (expression_statement "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);" (call_expression "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5)" (parenthesized_expression "(**(code **)(iVar7 + 0x3c0))" ( (pointer_expression "**(code **)(iVar7 + 0x3c0)" * (pointer_expression "*(code **)(iVar7 + 0x3c0)" * (cast_expression "(code **)(iVar7 + 0x3c0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c0)" ( (binary_expression "iVar7 + 0x3c0" identifier + number_literal) ))))) )) (argument_list "(iVar7,unaff_s5)" ( identifier , identifier ))) ;) (expression_statement "pcVar11 = *(code **)((int)register0x00000074 + -0x48);" (assignment_expression "pcVar11 = *(code **)((int)register0x00000074 + -0x48)" identifier = (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" * (cast_expression "(code **)((int)register0x00000074 + -0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x48)" ( (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "unaff_s8 = unaff_s5;" (assignment_expression "unaff_s8 = unaff_s5" identifier = identifier) ;) (do_statement "do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);" do (compound_statement "{\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        }" { (expression_statement "uVar2 = *unaff_s8;" (assignment_expression "uVar2 = *unaff_s8" identifier = (pointer_expression "*unaff_s8" * identifier)) ;) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" identifier = (binary_expression "pbVar8 + 4" identifier + number_literal)) ;) (expression_statement "unaff_s8 = unaff_s8 + 1;" (assignment_expression "unaff_s8 = unaff_s8 + 1" identifier = (binary_expression "unaff_s8 + 1" identifier + number_literal)) ;) (expression_statement "pbVar8[3] = (byte)uVar2;" (assignment_expression "pbVar8[3] = (byte)uVar2" (subscript_expression "pbVar8[3]" identifier [ number_literal ]) = (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "*pbVar8 = (byte)(uVar2 >> 0x18);" (assignment_expression "*pbVar8 = (byte)(uVar2 >> 0x18)" (pointer_expression "*pbVar8" * identifier) = (call_expression "(byte)(uVar2 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 0x18)" ( (binary_expression "uVar2 >> 0x18" identifier >> number_literal) )))) ;) (expression_statement "pbVar8[1] = (byte)(uVar2 >> 0x10);" (assignment_expression "pbVar8[1] = (byte)(uVar2 >> 0x10)" (subscript_expression "pbVar8[1]" identifier [ number_literal ]) = (call_expression "(byte)(uVar2 >> 0x10)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 0x10)" ( (binary_expression "uVar2 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "pbVar8[2] = (byte)(uVar2 >> 8);" (assignment_expression "pbVar8[2] = (byte)(uVar2 >> 8)" (subscript_expression "pbVar8[2]" identifier [ number_literal ]) = (call_expression "(byte)(uVar2 >> 8)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar2 >> 8)" ( (binary_expression "uVar2 >> 8" identifier >> number_literal) )))) ;) (expression_statement "pbVar8 = pbVar9;" (assignment_expression "pbVar8 = pbVar9" identifier = identifier) ;) }) while (parenthesized_expression "(unaff_s3 != pbVar9)" ( (binary_expression "unaff_s3 != pbVar9" identifier != identifier) )) ;) (expression_statement "unaff_s3 = unaff_s3 + 0x10;" (assignment_expression "unaff_s3 = unaff_s3 + 0x10" identifier = (binary_expression "unaff_s3 + 0x10" identifier + number_literal)) ;) (expression_statement "unaff_s6 = unaff_s0;" (assignment_expression "unaff_s6 = unaff_s0" identifier = identifier) ;) (if_statement "if (unaff_s1 == unaff_s3) break;" if (parenthesized_expression "(unaff_s1 == unaff_s3)" ( (binary_expression "unaff_s1 == unaff_s3" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_1 = unaff_s0;" (assignment_expression "param_1 = unaff_s0" identifier = identifier) ;) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" identifier = identifier) ;) (expression_statement "pbVar9 = unaff_s0 + 0x10;" (assignment_expression "pbVar9 = unaff_s0 + 0x10" identifier = (binary_expression "unaff_s0 + 0x10" identifier + number_literal)) ;) (expression_statement "pbVar8 = unaff_s0;" (assignment_expression "pbVar8 = unaff_s0" identifier = identifier) ;) })) })) (expression_statement "param_1 = *(byte **)((int)register0x00000074 + -0x3c);" (assignment_expression "param_1 = *(byte **)((int)register0x00000074 + -0x3c)" identifier = (pointer_expression "*(byte **)((int)register0x00000074 + -0x3c)" * (cast_expression "(byte **)((int)register0x00000074 + -0x3c)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)register0x00000074 + -0x3c)" ( (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_3 = *(int *)((int)register0x00000074 + -0x38);" (assignment_expression "param_3 = *(int *)((int)register0x00000074 + -0x38)" identifier = (pointer_expression "*(int *)((int)register0x00000074 + -0x38)" * (cast_expression "(int *)((int)register0x00000074 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x38)" ( (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);" (assignment_expression "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34)" identifier = (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x34)" ( (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);" (assignment_expression "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30)" identifier = (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" * (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x30)" ( (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*unaff_s4 = param_1;" (assignment_expression "*unaff_s4 = param_1" (pointer_expression "*unaff_s4" * identifier) = identifier) ;) (expression_statement "*(int *)(iVar7 + 0x3cc) = param_3;" (assignment_expression "*(int *)(iVar7 + 0x3cc) = param_3" (pointer_expression "*(int *)(iVar7 + 0x3cc)" * (cast_expression "(int *)(iVar7 + 0x3cc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3cc)" ( (binary_expression "iVar7 + 0x3cc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x3d0) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d0) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d0)" ( (binary_expression "iVar7 + 0x3d0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x3d4) = uVar1;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d4) = uVar1" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" * (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3d4)" ( (binary_expression "iVar7 + 0x3d4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = *(uint *)((int)register0x00000074 + -0x2c);" (assignment_expression "param_2 = *(uint *)((int)register0x00000074 + -0x2c)" identifier = (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" * (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x2c)" ( (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (param_2 == *unaff_s2) break;" if (parenthesized_expression "(param_2 == *unaff_s2)" ( (binary_expression "param_2 == *unaff_s2" identifier == (pointer_expression "*unaff_s2" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "pcVar10 = *(code **)(pcVar11 + -0x75ec);" (assignment_expression "pcVar10 = *(code **)(pcVar11 + -0x75ec)" identifier = (pointer_expression "*(code **)(pcVar11 + -0x75ec)" * (cast_expression "(code **)(pcVar11 + -0x75ec)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + -0x75ec)" ( (binary_expression "pcVar11 + -0x75ec" identifier + number_literal) ))))) ;) (expression_statement "unaff_retaddr = 0x4bd9c;" (assignment_expression "unaff_retaddr = 0x4bd9c" identifier = number_literal) ;) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);" (assignment_expression "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" identifier = (cast_expression "(code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar10 + 0x61934) + -0x4450)" ( (binary_expression "*(int *)(pcVar10 + 0x61934) + -0x4450" (pointer_expression "*(int *)(pcVar10 + 0x61934)" * (cast_expression "(int *)(pcVar10 + 0x61934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x61934)" ( (binary_expression "pcVar10 + 0x61934" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "unaff_s7 = iVar7;" (assignment_expression "unaff_s7 = iVar7" identifier = identifier) ;) (expression_statement "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);" (assignment_expression "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58)" identifier = (cast_expression "(BADSPACEBASE *)((int)register0x00000074 + -0x58)" ( (type_descriptor "BADSPACEBASE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)register0x00000074 + -0x58)" ( (binary_expression "(int)register0x00000074 + -0x58" (cast_expression "(int)register0x00000074" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = 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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) ^ (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) << LIT)) | (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) << LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_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 IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (break_statement break ;)) (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 = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0004bbb0(byte *param_1,uint param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004bbb0(byte *param_1,uint param_2,int param_3)" (identifier "FUN_0004bbb0") (parameter_list "(byte *param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  byte *pbVar4;\n  undefined4 uVar5;\n  uint *puVar6;\n  int iVar7;\n  byte *unaff_s0;\n  byte *pbVar8;\n  byte *pbVar9;\n  byte *unaff_s1;\n  uint *unaff_s2;\n  byte *unaff_s3;\n  undefined4 *unaff_s4;\n  uint *unaff_s5;\n  byte *unaff_s6;\n  int unaff_s7;\n  code *pcVar10;\n  code *pcVar11;\n  uint *unaff_s8;\n  undefined4 unaff_retaddr;\n  undefined1 auStackX_0 [16];\n  \n  pcVar10 = FUN_0004bbb0;\n  while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "byte *unaff_s0;" (type_identifier "byte") (pointer_declarator "*unaff_s0" (* "*") (identifier "unaff_s0")) (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "byte *unaff_s1;" (type_identifier "byte") (pointer_declarator "*unaff_s1" (* "*") (identifier "unaff_s1")) (; ";")) (declaration "uint *unaff_s2;" (type_identifier "uint") (pointer_declarator "*unaff_s2" (* "*") (identifier "unaff_s2")) (; ";")) (declaration "byte *unaff_s3;" (type_identifier "byte") (pointer_declarator "*unaff_s3" (* "*") (identifier "unaff_s3")) (; ";")) (declaration "undefined4 *unaff_s4;" (type_identifier "undefined4") (pointer_declarator "*unaff_s4" (* "*") (identifier "unaff_s4")) (; ";")) (declaration "uint *unaff_s5;" (type_identifier "uint") (pointer_declarator "*unaff_s5" (* "*") (identifier "unaff_s5")) (; ";")) (declaration "byte *unaff_s6;" (type_identifier "byte") (pointer_declarator "*unaff_s6" (* "*") (identifier "unaff_s6")) (; ";")) (declaration "int unaff_s7;" (primitive_type "int") (identifier "unaff_s7") (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "uint *unaff_s8;" (type_identifier "uint") (pointer_declarator "*unaff_s8" (* "*") (identifier "unaff_s8")) (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (declaration "undefined1 auStackX_0 [16];" (type_identifier "undefined1") (array_declarator "auStackX_0 [16]" (identifier "auStackX_0") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "pcVar10 = FUN_0004bbb0;" (assignment_expression "pcVar10 = FUN_0004bbb0" (identifier "pcVar10") (= "=") (identifier "FUN_0004bbb0")) (; ";")) (while_statement "while( true ) {\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar7 = param_3;\n    pcVar11 = pcVar10 + 0x696e0;\n    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;\n    unaff_s2 = *(uint **)(pcVar10 + 0x62124);\n    *(code **)((int)register0x00000074 + -0x48) = pcVar11;\n    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;\n    *(uint **)((int)register0x00000074 + -8) = unaff_s8;\n    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;\n    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;\n    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;\n    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;\n    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;\n    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;\n    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;\n    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;\n    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);\n    if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }\n    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);\n    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);\n    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);\n    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);\n    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;\n    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;\n    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;\n    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;\n    unaff_s0 = param_1;\n    if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }\n    param_1 = *(byte **)((int)register0x00000074 + -0x3c);\n    param_3 = *(int *)((int)register0x00000074 + -0x38);\n    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);\n    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);\n    *unaff_s4 = param_1;\n    *(int *)(iVar7 + 0x3cc) = param_3;\n    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;\n    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;\n    param_2 = *(uint *)((int)register0x00000074 + -0x2c);\n    if (param_2 == *unaff_s2) break;\n    pcVar10 = *(code **)(pcVar11 + -0x75ec);\n    unaff_retaddr = 0x4bd9c;\n    (*pcVar10)();\n    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);\n    unaff_s7 = iVar7;\n    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);\n  }" ({ "{") (expression_statement "iVar7 = param_3;" (assignment_expression "iVar7 = param_3" (identifier "iVar7") (= "=") (identifier "param_3")) (; ";")) (expression_statement "pcVar11 = pcVar10 + 0x696e0;" (assignment_expression "pcVar11 = pcVar10 + 0x696e0" (identifier "pcVar11") (= "=") (binary_expression "pcVar10 + 0x696e0" (identifier "pcVar10") (+ "+") (number_literal "0x696e0"))) (; ";")) (expression_statement "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x20) = unaff_s2" (pointer_expression "*(uint **)((int)register0x00000074 + -0x20)" (* "*") (cast_expression "(uint **)((int)register0x00000074 + -0x20)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x20)" (( "(") (binary_expression "(int)register0x00000074 + -0x20" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (identifier "unaff_s2")) (; ";")) (expression_statement "unaff_s2 = *(uint **)(pcVar10 + 0x62124);" (assignment_expression "unaff_s2 = *(uint **)(pcVar10 + 0x62124)" (identifier "unaff_s2") (= "=") (pointer_expression "*(uint **)(pcVar10 + 0x62124)" (* "*") (cast_expression "(uint **)(pcVar10 + 0x62124)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x62124)" (( "(") (binary_expression "pcVar10 + 0x62124" (identifier "pcVar10") (+ "+") (number_literal "0x62124")) () ")"))))) (; ";")) (expression_statement "*(code **)((int)register0x00000074 + -0x48) = pcVar11;" (assignment_expression "*(code **)((int)register0x00000074 + -0x48) = pcVar11" (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" (* "*") (cast_expression "(code **)((int)register0x00000074 + -0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x48)" (( "(") (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x48")) () ")")))) (= "=") (identifier "pcVar11")) (; ";")) (expression_statement "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -4)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -4)" (( "(") (binary_expression "(int)register0x00000074 + -4" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "unaff_retaddr")) (; ";")) (expression_statement "*(uint **)((int)register0x00000074 + -8) = unaff_s8;" (assignment_expression "*(uint **)((int)register0x00000074 + -8) = unaff_s8" (pointer_expression "*(uint **)((int)register0x00000074 + -8)" (* "*") (cast_expression "(uint **)((int)register0x00000074 + -8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -8)" (( "(") (binary_expression "(int)register0x00000074 + -8" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "unaff_s8")) (; ";")) (expression_statement "*(int *)((int)register0x00000074 + -0xc) = unaff_s7;" (assignment_expression "*(int *)((int)register0x00000074 + -0xc) = unaff_s7" (pointer_expression "*(int *)((int)register0x00000074 + -0xc)" (* "*") (cast_expression "(int *)((int)register0x00000074 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0xc)" (( "(") (binary_expression "(int)register0x00000074 + -0xc" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "unaff_s7")) (; ";")) (expression_statement "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x10) = unaff_s6" (pointer_expression "*(byte **)((int)register0x00000074 + -0x10)" (* "*") (cast_expression "(byte **)((int)register0x00000074 + -0x10)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x10)" (( "(") (binary_expression "(int)register0x00000074 + -0x10" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5;" (assignment_expression "*(uint **)((int)register0x00000074 + -0x14) = unaff_s5" (pointer_expression "*(uint **)((int)register0x00000074 + -0x14)" (* "*") (cast_expression "(uint **)((int)register0x00000074 + -0x14)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x14)" (( "(") (binary_expression "(int)register0x00000074 + -0x14" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;" (assignment_expression "*(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4" (pointer_expression "*(undefined4 **)((int)register0x00000074 + -0x18)" (* "*") (cast_expression "(undefined4 **)((int)register0x00000074 + -0x18)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x18)" (( "(") (binary_expression "(int)register0x00000074 + -0x18" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "unaff_s4")) (; ";")) (expression_statement "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x1c) = unaff_s3" (pointer_expression "*(byte **)((int)register0x00000074 + -0x1c)" (* "*") (cast_expression "(byte **)((int)register0x00000074 + -0x1c)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x1c)" (( "(") (binary_expression "(int)register0x00000074 + -0x1c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x24) = unaff_s1" (pointer_expression "*(byte **)((int)register0x00000074 + -0x24)" (* "*") (cast_expression "(byte **)((int)register0x00000074 + -0x24)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x24)" (( "(") (binary_expression "(int)register0x00000074 + -0x24" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (identifier "unaff_s1")) (; ";")) (expression_statement "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0;" (assignment_expression "*(byte **)((int)register0x00000074 + -0x28) = unaff_s0" (pointer_expression "*(byte **)((int)register0x00000074 + -0x28)" (* "*") (cast_expression "(byte **)((int)register0x00000074 + -0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x28)" (( "(") (binary_expression "(int)register0x00000074 + -0x28" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x28")) () ")")))) (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;" (assignment_expression "*(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2" (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" (* "*") (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x2c)" (( "(") (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (pointer_expression "*unaff_s2" (* "*") (identifier "unaff_s2"))) (; ";")) (expression_statement "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);" (assignment_expression "unaff_s4 = (undefined4 *)(iVar7 + 0x3c8)" (identifier "unaff_s4") (= "=") (cast_expression "(undefined4 *)(iVar7 + 0x3c8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3c8)" (( "(") (binary_expression "iVar7 + 0x3c8" (identifier "iVar7") (+ "+") (number_literal "0x3c8")) () ")")))) (; ";")) (if_statement "if ((param_2 & 0xf) != 0) {\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" (if "if") (parenthesized_expression "((param_2 & 0xf) != 0)" (( "(") (binary_expression "(param_2 & 0xf) != 0" (parenthesized_expression "(param_2 & 0xf)" (( "(") (binary_expression "param_2 & 0xf" (identifier "param_2") (& "&") (number_literal "0xf")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);\n      return;\n    }" ({ "{") (expression_statement "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c);" (call_expression "(**(code **)(pcVar10 + 0x61f50))\n                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" (parenthesized_expression "(**(code **)(pcVar10 + 0x61f50))" (( "(") (pointer_expression "**(code **)(pcVar10 + 0x61f50)" (* "*") (pointer_expression "*(code **)(pcVar10 + 0x61f50)" (* "*") (cast_expression "(code **)(pcVar10 + 0x61f50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar10 + 0x61f50)" (( "(") (binary_expression "pcVar10 + 0x61f50" (identifier "pcVar10") (+ "+") (number_literal "0x61f50")) () ")"))))) () ")")) (argument_list "(*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,\n                 *(int *)(pcVar10 + 0x61718) + 0xe1c)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcfc" (pointer_expression "*(int *)(pcVar10 + 0x61718)" (* "*") (cast_expression "(int *)(pcVar10 + 0x61718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x61718)" (( "(") (binary_expression "pcVar10 + 0x61718" (identifier "pcVar10") (+ "+") (number_literal "0x61718")) () ")")))) (+ "+") (number_literal "0xcfc")) (, ",") (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xcf0" (pointer_expression "*(int *)(pcVar10 + 0x61718)" (* "*") (cast_expression "(int *)(pcVar10 + 0x61718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x61718)" (( "(") (binary_expression "pcVar10 + 0x61718" (identifier "pcVar10") (+ "+") (number_literal "0x61718")) () ")")))) (+ "+") (number_literal "0xcf0")) (, ",") (number_literal "0x409") (, ",") (binary_expression "*(int *)(pcVar10 + 0x61718) + 0xe1c" (pointer_expression "*(int *)(pcVar10 + 0x61718)" (* "*") (cast_expression "(int *)(pcVar10 + 0x61718)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x61718)" (( "(") (binary_expression "pcVar10 + 0x61718" (identifier "pcVar10") (+ "+") (number_literal "0x61718")) () ")")))) (+ "+") (number_literal "0xe1c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar5 = *(undefined4 *)(iVar7 + 0x3cc);" (assignment_expression "uVar5 = *(undefined4 *)(iVar7 + 0x3cc)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x3cc)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3cc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3cc)" (( "(") (binary_expression "iVar7 + 0x3cc" (identifier "iVar7") (+ "+") (number_literal "0x3cc")) () ")"))))) (; ";")) (expression_statement "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);" (assignment_expression "unaff_s5 = (uint *)((int)register0x00000074 + -0x3c)" (identifier "unaff_s5") (= "=") (cast_expression "(uint *)((int)register0x00000074 + -0x3c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x3c)" (( "(") (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x3c")) () ")")))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar7 + 0x3d0);" (assignment_expression "uVar3 = *(undefined4 *)(iVar7 + 0x3d0)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3d0)" (( "(") (binary_expression "iVar7 + 0x3d0" (identifier "iVar7") (+ "+") (number_literal "0x3d0")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(iVar7 + 0x3d4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar7 + 0x3d4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3d4)" (( "(") (binary_expression "iVar7 + 0x3d4" (identifier "iVar7") (+ "+") (number_literal "0x3d4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x3c)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x3c)" (( "(") (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (pointer_expression "*unaff_s4" (* "*") (identifier "unaff_s4"))) (; ";")) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x38) = uVar5" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x38)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x38)" (( "(") (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x34) = uVar3" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x34)" (( "(") (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;" (assignment_expression "*(undefined4 *)((int)register0x00000074 + -0x30) = uVar1" (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x30)" (( "(") (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "unaff_s0 = param_1;" (assignment_expression "unaff_s0 = param_1" (identifier "unaff_s0") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0 < (int)param_2) {\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" (if "if") (parenthesized_expression "(0 < (int)param_2)" (( "(") (binary_expression "0 < (int)param_2" (number_literal "0") (< "<") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n      unaff_s3 = param_1 + 0x10;\n      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;\n      puVar6 = unaff_s5;\n      pbVar9 = unaff_s3;\n      pbVar8 = param_1;\n      while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }\n    }" ({ "{") (expression_statement "unaff_s3 = param_1 + 0x10;" (assignment_expression "unaff_s3 = param_1 + 0x10" (identifier "unaff_s3") (= "=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;" (assignment_expression "unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" (identifier "unaff_s1") (= "=") (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0) + 0x20" (binary_expression "param_1 + (param_2 - 1 & 0xfffffff0)" (identifier "param_1") (+ "+") (parenthesized_expression "(param_2 - 1 & 0xfffffff0)" (( "(") (binary_expression "param_2 - 1 & 0xfffffff0" (binary_expression "param_2 - 1" (identifier "param_2") (- "-") (number_literal "1")) (& "&") (number_literal "0xfffffff0")) () ")"))) (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" (identifier "puVar6") (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "pbVar9 = unaff_s3;" (assignment_expression "pbVar9 = unaff_s3" (identifier "pbVar9") (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "pbVar8 = param_1;" (assignment_expression "pbVar8 = param_1" (identifier "pbVar8") (= "=") (identifier "param_1")) (; ";")) (while_statement "while( true ) {\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);\n        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);\n        pcVar11 = *(code **)((int)register0x00000074 + -0x48);\n        unaff_s8 = unaff_s5;\n        do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);\n        unaff_s3 = unaff_s3 + 0x10;\n        unaff_s6 = unaff_s0;\n        if (unaff_s1 == unaff_s3) break;\n        param_1 = unaff_s0;\n        puVar6 = unaff_s5;\n        pbVar9 = unaff_s0 + 0x10;\n        pbVar8 = unaff_s0;\n      }" ({ "{") (do_statement "do {\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        } while (unaff_s3 != pbVar4);" (do "do") (compound_statement "{\n          unaff_s0 = pbVar9;\n          pbVar4 = param_1 + 4;\n          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);\n          param_1 = pbVar4;\n          puVar6 = puVar6 + 1;\n          pbVar9 = unaff_s0;\n        }" ({ "{") (expression_statement "unaff_s0 = pbVar9;" (assignment_expression "unaff_s0 = pbVar9" (identifier "unaff_s0") (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "pbVar4 = param_1 + 4;" (assignment_expression "pbVar4 = param_1 + 4" (identifier "pbVar4") (= "=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8);" (assignment_expression "*puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "*puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (^ "^") (parenthesized_expression "((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8)" (( "(") (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]\n                              | (uint)param_1[2] << 8" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]" (binary_expression "(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10" (binary_expression "(uint)*param_1 << 0x18" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "(uint)param_1[1] << 0x10" (cast_expression "(uint)param_1[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<< "<<") (number_literal "0x10"))) (| "|") (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (| "|") (binary_expression "(uint)param_1[2] << 8" (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (<< "<<") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "param_1 = pbVar4;" (assignment_expression "param_1 = pbVar4" (identifier "param_1") (= "=") (identifier "pbVar4")) (; ";")) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar9 = unaff_s0;" (assignment_expression "pbVar9 = unaff_s0" (identifier "pbVar9") (= "=") (identifier "unaff_s0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s3 != pbVar4)" (( "(") (binary_expression "unaff_s3 != pbVar4" (identifier "unaff_s3") (!= "!=") (identifier "pbVar4")) () ")")) (; ";")) (expression_statement "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);" (call_expression "(**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5)" (parenthesized_expression "(**(code **)(iVar7 + 0x3c0))" (( "(") (pointer_expression "**(code **)(iVar7 + 0x3c0)" (* "*") (pointer_expression "*(code **)(iVar7 + 0x3c0)" (* "*") (cast_expression "(code **)(iVar7 + 0x3c0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0x3c0)" (( "(") (binary_expression "iVar7 + 0x3c0" (identifier "iVar7") (+ "+") (number_literal "0x3c0")) () ")"))))) () ")")) (argument_list "(iVar7,unaff_s5)" (( "(") (identifier "iVar7") (, ",") (identifier "unaff_s5") () ")"))) (; ";")) (expression_statement "pcVar11 = *(code **)((int)register0x00000074 + -0x48);" (assignment_expression "pcVar11 = *(code **)((int)register0x00000074 + -0x48)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)((int)register0x00000074 + -0x48)" (* "*") (cast_expression "(code **)((int)register0x00000074 + -0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x48)" (( "(") (binary_expression "(int)register0x00000074 + -0x48" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x48")) () ")"))))) (; ";")) (expression_statement "unaff_s8 = unaff_s5;" (assignment_expression "unaff_s8 = unaff_s5" (identifier "unaff_s8") (= "=") (identifier "unaff_s5")) (; ";")) (do_statement "do {\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        } while (unaff_s3 != pbVar9);" (do "do") (compound_statement "{\n          uVar2 = *unaff_s8;\n          pbVar9 = pbVar8 + 4;\n          unaff_s8 = unaff_s8 + 1;\n          pbVar8[3] = (byte)uVar2;\n          *pbVar8 = (byte)(uVar2 >> 0x18);\n          pbVar8[1] = (byte)(uVar2 >> 0x10);\n          pbVar8[2] = (byte)(uVar2 >> 8);\n          pbVar8 = pbVar9;\n        }" ({ "{") (expression_statement "uVar2 = *unaff_s8;" (assignment_expression "uVar2 = *unaff_s8" (identifier "uVar2") (= "=") (pointer_expression "*unaff_s8" (* "*") (identifier "unaff_s8"))) (; ";")) (expression_statement "pbVar9 = pbVar8 + 4;" (assignment_expression "pbVar9 = pbVar8 + 4" (identifier "pbVar9") (= "=") (binary_expression "pbVar8 + 4" (identifier "pbVar8") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "unaff_s8 = unaff_s8 + 1;" (assignment_expression "unaff_s8 = unaff_s8 + 1" (identifier "unaff_s8") (= "=") (binary_expression "unaff_s8 + 1" (identifier "unaff_s8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar8[3] = (byte)uVar2;" (assignment_expression "pbVar8[3] = (byte)uVar2" (subscript_expression "pbVar8[3]" (identifier "pbVar8") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(byte)uVar2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "*pbVar8 = (byte)(uVar2 >> 0x18);" (assignment_expression "*pbVar8 = (byte)(uVar2 >> 0x18)" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (= "=") (call_expression "(byte)(uVar2 >> 0x18)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(uVar2 >> 0x18)" (( "(") (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "pbVar8[1] = (byte)(uVar2 >> 0x10);" (assignment_expression "pbVar8[1] = (byte)(uVar2 >> 0x10)" (subscript_expression "pbVar8[1]" (identifier "pbVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "(byte)(uVar2 >> 0x10)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(uVar2 >> 0x10)" (( "(") (binary_expression "uVar2 >> 0x10" (identifier "uVar2") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "pbVar8[2] = (byte)(uVar2 >> 8);" (assignment_expression "pbVar8[2] = (byte)(uVar2 >> 8)" (subscript_expression "pbVar8[2]" (identifier "pbVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "(byte)(uVar2 >> 8)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(uVar2 >> 8)" (( "(") (binary_expression "uVar2 >> 8" (identifier "uVar2") (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "pbVar8 = pbVar9;" (assignment_expression "pbVar8 = pbVar9" (identifier "pbVar8") (= "=") (identifier "pbVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s3 != pbVar9)" (( "(") (binary_expression "unaff_s3 != pbVar9" (identifier "unaff_s3") (!= "!=") (identifier "pbVar9")) () ")")) (; ";")) (expression_statement "unaff_s3 = unaff_s3 + 0x10;" (assignment_expression "unaff_s3 = unaff_s3 + 0x10" (identifier "unaff_s3") (= "=") (binary_expression "unaff_s3 + 0x10" (identifier "unaff_s3") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "unaff_s6 = unaff_s0;" (assignment_expression "unaff_s6 = unaff_s0" (identifier "unaff_s6") (= "=") (identifier "unaff_s0")) (; ";")) (if_statement "if (unaff_s1 == unaff_s3) break;" (if "if") (parenthesized_expression "(unaff_s1 == unaff_s3)" (( "(") (binary_expression "unaff_s1 == unaff_s3" (identifier "unaff_s1") (== "==") (identifier "unaff_s3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = unaff_s0;" (assignment_expression "param_1 = unaff_s0" (identifier "param_1") (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "puVar6 = unaff_s5;" (assignment_expression "puVar6 = unaff_s5" (identifier "puVar6") (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "pbVar9 = unaff_s0 + 0x10;" (assignment_expression "pbVar9 = unaff_s0 + 0x10" (identifier "pbVar9") (= "=") (binary_expression "unaff_s0 + 0x10" (identifier "unaff_s0") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "pbVar8 = unaff_s0;" (assignment_expression "pbVar8 = unaff_s0" (identifier "pbVar8") (= "=") (identifier "unaff_s0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "param_1 = *(byte **)((int)register0x00000074 + -0x3c);" (assignment_expression "param_1 = *(byte **)((int)register0x00000074 + -0x3c)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)((int)register0x00000074 + -0x3c)" (* "*") (cast_expression "(byte **)((int)register0x00000074 + -0x3c)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x3c)" (( "(") (binary_expression "(int)register0x00000074 + -0x3c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x3c")) () ")"))))) (; ";")) (expression_statement "param_3 = *(int *)((int)register0x00000074 + -0x38);" (assignment_expression "param_3 = *(int *)((int)register0x00000074 + -0x38)" (identifier "param_3") (= "=") (pointer_expression "*(int *)((int)register0x00000074 + -0x38)" (* "*") (cast_expression "(int *)((int)register0x00000074 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x38)" (( "(") (binary_expression "(int)register0x00000074 + -0x38" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x38")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);" (assignment_expression "uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x34)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x34)" (( "(") (binary_expression "(int)register0x00000074 + -0x34" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);" (assignment_expression "uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)((int)register0x00000074 + -0x30)" (* "*") (cast_expression "(undefined4 *)((int)register0x00000074 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x30)" (( "(") (binary_expression "(int)register0x00000074 + -0x30" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x30")) () ")"))))) (; ";")) (expression_statement "*unaff_s4 = param_1;" (assignment_expression "*unaff_s4 = param_1" (pointer_expression "*unaff_s4" (* "*") (identifier "unaff_s4")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int *)(iVar7 + 0x3cc) = param_3;" (assignment_expression "*(int *)(iVar7 + 0x3cc) = param_3" (pointer_expression "*(int *)(iVar7 + 0x3cc)" (* "*") (cast_expression "(int *)(iVar7 + 0x3cc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3cc)" (( "(") (binary_expression "iVar7 + 0x3cc" (identifier "iVar7") (+ "+") (number_literal "0x3cc")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x3d0) = uVar3;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d0) = uVar3" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d0)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3d0)" (( "(") (binary_expression "iVar7 + 0x3d0" (identifier "iVar7") (+ "+") (number_literal "0x3d0")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 0x3d4) = uVar1;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3d4) = uVar1" (pointer_expression "*(undefined4 *)(iVar7 + 0x3d4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3d4)" (( "(") (binary_expression "iVar7 + 0x3d4" (identifier "iVar7") (+ "+") (number_literal "0x3d4")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_2 = *(uint *)((int)register0x00000074 + -0x2c);" (assignment_expression "param_2 = *(uint *)((int)register0x00000074 + -0x2c)" (identifier "param_2") (= "=") (pointer_expression "*(uint *)((int)register0x00000074 + -0x2c)" (* "*") (cast_expression "(uint *)((int)register0x00000074 + -0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x2c)" (( "(") (binary_expression "(int)register0x00000074 + -0x2c" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x2c")) () ")"))))) (; ";")) (if_statement "if (param_2 == *unaff_s2) break;" (if "if") (parenthesized_expression "(param_2 == *unaff_s2)" (( "(") (binary_expression "param_2 == *unaff_s2" (identifier "param_2") (== "==") (pointer_expression "*unaff_s2" (* "*") (identifier "unaff_s2"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar10 = *(code **)(pcVar11 + -0x75ec);" (assignment_expression "pcVar10 = *(code **)(pcVar11 + -0x75ec)" (identifier "pcVar10") (= "=") (pointer_expression "*(code **)(pcVar11 + -0x75ec)" (* "*") (cast_expression "(code **)(pcVar11 + -0x75ec)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar11 + -0x75ec)" (( "(") (binary_expression "pcVar11 + -0x75ec" (identifier "pcVar11") (+ "+") (number_literal "-0x75ec")) () ")"))))) (; ";")) (expression_statement "unaff_retaddr = 0x4bd9c;" (assignment_expression "unaff_retaddr = 0x4bd9c" (identifier "unaff_retaddr") (= "=") (number_literal "0x4bd9c")) (; ";")) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);" (assignment_expression "pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" (identifier "pcVar10") (= "=") (cast_expression "(code *)(*(int *)(pcVar10 + 0x61934) + -0x4450)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar10 + 0x61934) + -0x4450)" (( "(") (binary_expression "*(int *)(pcVar10 + 0x61934) + -0x4450" (pointer_expression "*(int *)(pcVar10 + 0x61934)" (* "*") (cast_expression "(int *)(pcVar10 + 0x61934)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 0x61934)" (( "(") (binary_expression "pcVar10 + 0x61934" (identifier "pcVar10") (+ "+") (number_literal "0x61934")) () ")")))) (+ "+") (number_literal "-0x4450")) () ")")))) (; ";")) (expression_statement "unaff_s7 = iVar7;" (assignment_expression "unaff_s7 = iVar7" (identifier "unaff_s7") (= "=") (identifier "iVar7")) (; ";")) (expression_statement "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);" (assignment_expression "register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58)" (identifier "register0x00000074") (= "=") (cast_expression "(BADSPACEBASE *)((int)register0x00000074 + -0x58)" (( "(") (type_descriptor "BADSPACEBASE *" (type_identifier "BADSPACEBASE") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)register0x00000074 + -0x58)" (( "(") (binary_expression "(int)register0x00000074 + -0x58" (cast_expression "(int)register0x00000074" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "register0x00000074")) (+ "+") (number_literal "-0x58")) () ")")))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (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 (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)) (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)) (number_literal) (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))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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 (assignment_expression left: (identifier) right: (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 (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (do_statement body: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))))) (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: (identifier)))) condition: (parenthesized_expression (binary_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: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) (return_statement))))

void MASKED(byte *param_1,uint param_2,int param_3)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  byte *pbVar4;
  undefined4 uVar5;
  uint *puVar6;
  int iVar7;
  byte *unaff_s0;
  byte *pbVar8;
  byte *pbVar9;
  byte *unaff_s1;
  uint *unaff_s2;
  byte *unaff_s3;
  undefined4 *unaff_s4;
  uint *unaff_s5;
  byte *unaff_s6;
  int unaff_s7;
  code *pcVar10;
  code *pcVar11;
  uint *unaff_s8;
  undefined4 unaff_retaddr;
  undefined1 auStackX_0 [16];
  
  pcVar10 = MASKED;
  while( true ) {
    iVar7 = param_3;
    pcVar11 = pcVar10 + 0x696e0;
    *(uint **)((int)register0x00000074 + -0x20) = unaff_s2;
    unaff_s2 = *(uint **)(pcVar10 + 0x62124);
    *(code **)((int)register0x00000074 + -0x48) = pcVar11;
    *(undefined4 *)((int)register0x00000074 + -4) = unaff_retaddr;
    *(uint **)((int)register0x00000074 + -8) = unaff_s8;
    *(int *)((int)register0x00000074 + -0xc) = unaff_s7;
    *(byte **)((int)register0x00000074 + -0x10) = unaff_s6;
    *(uint **)((int)register0x00000074 + -0x14) = unaff_s5;
    *(undefined4 **)((int)register0x00000074 + -0x18) = unaff_s4;
    *(byte **)((int)register0x00000074 + -0x1c) = unaff_s3;
    *(byte **)((int)register0x00000074 + -0x24) = unaff_s1;
    *(byte **)((int)register0x00000074 + -0x28) = unaff_s0;
    *(uint *)((int)register0x00000074 + -0x2c) = *unaff_s2;
    unaff_s4 = (undefined4 *)(iVar7 + 0x3c8);
    if ((param_2 & 0xf) != 0) {
      (**(code **)(pcVar10 + 0x61f50))
                (*(int *)(pcVar10 + 0x61718) + 0xcfc,*(int *)(pcVar10 + 0x61718) + 0xcf0,0x409,
                 *(int *)(pcVar10 + 0x61718) + 0xe1c);
      return;
    }
    uVar5 = *(undefined4 *)(iVar7 + 0x3cc);
    unaff_s5 = (uint *)((int)register0x00000074 + -0x3c);
    uVar3 = *(undefined4 *)(iVar7 + 0x3d0);
    uVar1 = *(undefined4 *)(iVar7 + 0x3d4);
    *(undefined4 *)((int)register0x00000074 + -0x3c) = *unaff_s4;
    *(undefined4 *)((int)register0x00000074 + -0x38) = uVar5;
    *(undefined4 *)((int)register0x00000074 + -0x34) = uVar3;
    *(undefined4 *)((int)register0x00000074 + -0x30) = uVar1;
    unaff_s0 = param_1;
    if (0 < (int)param_2) {
      unaff_s3 = param_1 + 0x10;
      unaff_s1 = param_1 + (param_2 - 1 & 0xfffffff0) + 0x20;
      puVar6 = unaff_s5;
      pbVar9 = unaff_s3;
      pbVar8 = param_1;
      while( true ) {
        do {
          unaff_s0 = pbVar9;
          pbVar4 = param_1 + 4;
          *puVar6 = *puVar6 ^ ((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[3]
                              | (uint)param_1[2] << 8);
          param_1 = pbVar4;
          puVar6 = puVar6 + 1;
          pbVar9 = unaff_s0;
        } while (unaff_s3 != pbVar4);
        (**(code **)(iVar7 + 0x3c0))(iVar7,unaff_s5);
        pcVar11 = *(code **)((int)register0x00000074 + -0x48);
        unaff_s8 = unaff_s5;
        do {
          uVar2 = *unaff_s8;
          pbVar9 = pbVar8 + 4;
          unaff_s8 = unaff_s8 + 1;
          pbVar8[3] = (byte)uVar2;
          *pbVar8 = (byte)(uVar2 >> 0x18);
          pbVar8[1] = (byte)(uVar2 >> 0x10);
          pbVar8[2] = (byte)(uVar2 >> 8);
          pbVar8 = pbVar9;
        } while (unaff_s3 != pbVar9);
        unaff_s3 = unaff_s3 + 0x10;
        unaff_s6 = unaff_s0;
        if (unaff_s1 == unaff_s3) break;
        param_1 = unaff_s0;
        puVar6 = unaff_s5;
        pbVar9 = unaff_s0 + 0x10;
        pbVar8 = unaff_s0;
      }
    }
    param_1 = *(byte **)((int)register0x00000074 + -0x3c);
    param_3 = *(int *)((int)register0x00000074 + -0x38);
    uVar3 = *(undefined4 *)((int)register0x00000074 + -0x34);
    uVar1 = *(undefined4 *)((int)register0x00000074 + -0x30);
    *unaff_s4 = param_1;
    *(int *)(iVar7 + 0x3cc) = param_3;
    *(undefined4 *)(iVar7 + 0x3d0) = uVar3;
    *(undefined4 *)(iVar7 + 0x3d4) = uVar1;
    param_2 = *(uint *)((int)register0x00000074 + -0x2c);
    if (param_2 == *unaff_s2) break;
    pcVar10 = *(code **)(pcVar11 + -0x75ec);
    unaff_retaddr = 0x4bd9c;
    (*pcVar10)();
    pcVar10 = (code *)(*(int *)(pcVar10 + 0x61934) + -0x4450);
    unaff_s7 = iVar7;
    register0x00000074 = (BADSPACEBASE *)((int)register0x00000074 + -0x58);
  }
  return;
}

