
CollSeq * sqlite3GetCollSeq(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)

{
  u8 uVar1;
  undefined3 uVar2;
  char *pcVar3;
  Mem *pMem;
  void *pvVar4;
  CollSeq *pCVar5;
  CollSeq *pCVar6;
  _func_int_void_ptr_int_void_ptr_int_void_ptr *p_Var7;
  undefined3 in_register_00000014;
  int iVar8;
  sqlite3 *psVar9;
  code *pcVar10;
  byte *pbVar11;
  uint uVar12;
  byte *pbVar13;
  
  iVar8 = CONCAT31(in_register_00000014,enc);
  psVar9 = pParse->db;
  if (pColl == (CollSeq *)0x0) {
    if (zName == (char *)0x0) {
      pCVar5 = psVar9->pDfltColl;
    }
    else {
      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);
    }
    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))
    goto LAB_00075798;
  }
  else {
LAB_00075798:
    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {
      return pColl;
    }
  }
  if (psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0) {
    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);
    if (pcVar3 == (char *)0x0) goto LAB_00075918;
    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);
    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);
  }
  if (psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0) {
    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);
    if (pMem != (Mem *)0x0) {
      pMem->db = psVar9;
      pMem->flags = 1;
      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);
    }
    pvVar4 = sqlite3ValueText(pMem,'\x03');
    if (pvVar4 != (void *)0x0) {
      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);
    }
    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);
  }
LAB_00075918:
  if (zName == (char *)0x0) {
    pCVar5 = psVar9->pDfltColl;
  }
  else {
    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);
  }
  if ((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)) {
LAB_0007595c:
    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);
    pParse->rc = 0x101;
    return (CollSeq *)0x0;
  }
  if (pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {
    return pCVar5;
  }
  uVar12 = 3;
  pcVar3 = pCVar5->zName;
  pbVar11 = PTR_DAT_0015b5fc + 0x2c48;
  pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820);
  pbVar13 = PTR_DAT_0015b5fc + 0x2c4b;
  if (pcVar3 == (char *)0x0) goto LAB_00075a30;
  while (pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0) {
    while( true ) {
      pCVar6 = pCVar6 + (uVar12 - 1);
      pbVar11 = pbVar11 + 1;
      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {
        uVar1 = pCVar6->enc;
        uVar2 = *(undefined3 *)&pCVar6->field_0x5;
        pvVar4 = pCVar6->pUser;
        p_Var7 = pCVar6->xCmp;
        pCVar5->zName = pCVar6->zName;
        pCVar5->enc = uVar1;
        *(undefined3 *)&pCVar5->field_0x5 = uVar2;
        pCVar5->pUser = pvVar4;
        pCVar5->xCmp = p_Var7;
        pCVar5->xDel = (_func_void_void_ptr *)0x0;
        return pCVar5;
      }
      if (pbVar13 == pbVar11) goto LAB_0007595c;
      uVar12 = (uint)*pbVar11;
      if (pcVar3 != (char *)0x0) break;
LAB_00075a30:
      pCVar6 = psVar9->pDfltColl;
      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;
    }
  }
LAB_00075a3c:
                    /* WARNING: Does not return */
  pcVar10 = (code *)trap(0);
  (*pcVar10)();
}



int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  code *pcVar6;
  byte *pbVar7;
  uint uVar8;
  byte *pbVar9;
  
  iVar5 = *param_1;
  if (param_3 == (int *)0x0) {
    if (param_4 == 0) {
      iVar1 = *(int *)(iVar5 + 8);
    }
    else {
      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);
    }
    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))
    goto LAB_00075798;
  }
  else {
LAB_00075798:
    if (param_3[3] != 0) {
      return param_3;
    }
  }
  if (*(int *)(iVar5 + 0x100) != 0) {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);
    if (iVar1 == 0) goto LAB_00075918;
    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);
    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);
  }
  if (*(int *)(iVar5 + 0x104) != 0) {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);
    if (iVar1 != 0) {
      *(int *)(iVar1 + 0x20) = iVar5;
      *(undefined2 *)(iVar1 + 8) = 1;
      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);
    }
    iVar2 = FUN_00062e64(iVar1,3);
    if (iVar2 != 0) {
      (**(code **)(iVar5 + 0x104))
                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);
    }
    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);
  }
LAB_00075918:
  if (param_4 == 0) {
    iVar1 = *(int *)(iVar5 + 8);
  }
  else {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);
  }
  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {
LAB_0007595c:
    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);
    param_1[3] = 0x101;
    return (int *)0x0;
  }
  if (piVar4[3] != 0) {
    return piVar4;
  }
  uVar8 = 3;
  iVar1 = *piVar4;
  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;
  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);
  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;
  if (iVar1 == 0) goto LAB_00075a30;
  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {
    while( true ) {
      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);
      pbVar7 = pbVar7 + 1;
      if (piVar3[3] != 0) {
        iVar2 = piVar3[1];
        iVar1 = piVar3[2];
        iVar5 = piVar3[3];
        *piVar4 = *piVar3;
        piVar4[1] = iVar2;
        piVar4[2] = iVar1;
        piVar4[3] = iVar5;
        piVar4[4] = 0;
        return piVar4;
      }
      if (pbVar9 == pbVar7) goto LAB_0007595c;
      uVar8 = (uint)*pbVar7;
      if (iVar1 != 0) break;
LAB_00075a30:
      iVar2 = *(int *)(iVar5 + 8);
      if (iVar2 == 0) goto LAB_00075a3c;
    }
  }
LAB_00075a3c:
                    /* WARNING: Does not return */
  pcVar6 = (code *)trap(0);
  (*pcVar6)();
}


lui gp,0xf
addiu gp,gp,-0x2194
addu gp,gp,t9
addiu sp,sp,-0x48
sw s4,0x30(sp)
or s4,a1,zero
sw s3,0x2c(sp)
or s3,a0,zero
sw s2,0x28(sp)
or s2,a3,zero
sw gp,0x18(sp)
sw ra,0x44(sp)
sw s8,0x40(sp)
sw s7,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
beq a2,zero,0x000757d8
_lw s1,0x0(a0)
or s0,a2,zero
lw v0,0xc(s0)
beq v0,zero,0x00075814
_nop
lw ra,0x44(sp)
or v0,s0,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
beq a3,zero,0x000759b4
_lw t9,-0x7ed8(gp)
or a1,a3,zero
addiu t9,t9,0x820
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
beq v0,zero,0x00075814
_sll v1,s4,0x2
addu v1,v1,s4
sll v1,v1,0x2
addiu v1,v1,-0x14
addu s0,v0,v1
bne s0,zero,0x00075798
_nop
lw v0,0x100(s1)
beq v0,zero,0x00075870
_lw t9,-0x7ed8(gp)
or a1,s2,zero
addiu t9,t9,-0x23a0
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
beq v0,zero,0x00075918
_or s0,v0,zero
lw t9,0x100(s1)
or a1,s1,zero
lw a0,0x108(s1)
or a3,v0,zero
jalr t9
_or a2,s4,zero
or a1,s0,zero
lw gp,0x18(sp)
lw t9,-0x7ed8(gp)
addiu t9,t9,-0x56dc
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
lw v0,0x104(s1)
beq v0,zero,0x00075918
_lw t9,-0x7ed8(gp)
li a3,0x28
or a2,zero,zero
addiu t9,t9,-0x2a40
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
beq v0,zero,0x000758cc
_or s0,v0,zero
lw t9,-0x7ea0(gp)
li a3,0x1
sw s1,0x20(v0)
li v0,0x1
li a2,-0x1
addiu t9,t9,-0x7404
sh v0,0x8(s0)
or a1,s2,zero
sw zero,0x10(sp)
bal 0x00058bfc
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x7ea0(gp)
li a1,0x3
addiu t9,t9,0x2e64
bal 0x00062e64
_or a0,s0,zero
beq v0,zero,0x00075904
_lw gp,0x18(sp)
lw t9,0x104(s1)
or a3,v0,zero
lbu a2,0x4e(s1)
or a1,s1,zero
jalr t9
_lw a0,0x108(s1)
lw gp,0x18(sp)
lw t9,-0x7ed8(gp)
addiu t9,t9,-0x4bcc
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
beq s2,zero,0x00075a44
_lw t9,-0x7ed8(gp)
or a2,zero,zero
or a1,s2,zero
addiu t9,t9,0x820
jalr t9
_or a0,s1,zero
lw gp,0x18(sp)
beq v0,zero,0x00075958
_sll v1,s4,0x2
addu v1,v1,s4
sll v1,v1,0x2
addiu v1,v1,-0x14
addu s0,v0,v1
bne s0,zero,0x000759bc
_nop
lw a1,-0x7fc8(gp)
or a2,s2,zero
lw t9,-0x7e70(gp)
or a0,s3,zero
or s0,zero,zero
addiu t9,t9,0x1104
bal 0x00071104
_addiu a1,a1,0x79c8
li v0,0x101
sw v0,0xc(s3)
or v0,s0,zero
lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
b 0x000757f4
_lw v0,0x8(s1)
lw v0,0xc(s0)
bne v0,zero,0x000757a4
_lw s5,-0x7fb4(gp)
li s6,0x3
lw s4,-0x7ed8(gp)
lw s7,0x0(s0)
addiu s5,s5,0x2c48
addiu s4,s4,0x820
beq s7,zero,0x00075a30
_addiu s8,s5,0x3
or a2,zero,zero
or a1,s7,zero
or t9,s4,zero
jalr t9
_or a0,s1,zero
beq v0,zero,0x00075a3c
_lw gp,0x18(sp)
sll v1,s6,0x2
addu v1,v1,s6
sll v1,v1,0x2
addiu v1,v1,-0x14
addu v0,v0,v1
lw v1,0xc(v0)
bne v1,zero,0x00075a4c
_addiu s5,s5,0x1
beq s8,s5,0x0007595c
_lw a1,-0x7fc8(gp)
bne s7,zero,0x000759e4
_lbu s6,0x0(s5)
lw v0,0x8(s1)
bne v0,zero,0x00075a04
_sll v1,s6,0x2
lw v0,0xc(zero)
teq zero,zero
b 0x00075938
_lw v0,0x8(s1)
lwl a2,0x0(v0)
lwl a1,0x4(v0)
lwl a0,0x8(v0)
lwl v1,0xc(v0)
lwr a2,0x3(v0)
lwr a1,0x7(v0)
lwr a0,0xb(v0)
lwr v1,0xf(v0)
swl a2,0x0(s0)
swr a2,0x3(s0)
swl a1,0x4(s0)
swr a1,0x7(s0)
swl a0,0x8(s0)
swr a0,0xb(s0)
swl v1,0xc(s0)
swr v1,0xf(s0)
b 0x000757a4
_sw zero,0x10(s0)
(translation_unit "int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}\n\n" (function_definition "int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" primitive_type (pointer_declarator "* FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" * (function_declarator "FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }" { (if_statement "if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar5 + 8);\n    }" { (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" else (compound_statement "{\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4)" ( identifier , identifier )))) ;) }))) (if_statement "if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;" if (parenthesized_expression "((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))" ( (binary_expression "(iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" ( (comma_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0" (assignment_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" ( (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" identifier + (binary_expression "param_2 * 0x14" identifier * number_literal)) + number_literal) )))) , (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00075798;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" else (compound_statement "{\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" { (labeled_statement "LAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }" statement_identifier : (if_statement "if (param_3[3] != 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_3[3] != 0)" ( (binary_expression "param_3[3] != 0" (subscript_expression "param_3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) }))) }))) (if_statement "if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x100) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x100) != 0" (pointer_expression "*(int *)(iVar5 + 0x100)" * (cast_expression "(int *)(iVar5 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x100)" ( (binary_expression "iVar5 + 0x100" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x23a0)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) goto LAB_00075918;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075918;" goto statement_identifier ;)) (expression_statement "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);" (call_expression "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" (parenthesized_expression "(**(code **)(iVar5 + 0x100))" ( (pointer_expression "**(code **)(iVar5 + 0x100)" * (pointer_expression "*(code **)(iVar5 + 0x100)" * (cast_expression "(code **)(iVar5 + 0x100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x100)" ( (binary_expression "iVar5 + 0x100" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" * (cast_expression "(undefined4 *)(iVar5 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x108)" ( (binary_expression "iVar5 + 0x108" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x56dc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x56dc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x56dc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x56dc" identifier + number_literal) )))) )) (argument_list "(iVar5,iVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x104) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x104) != 0" (pointer_expression "*(int *)(iVar5 + 0x104)" * (cast_expression "(int *)(iVar5 + 0x104)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x104)" ( (binary_expression "iVar5 + 0x104" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2a40)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2a40)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2a40)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2a40" identifier + number_literal) )))) )) (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" { (expression_statement "*(int *)(iVar1 + 0x20) = iVar5;" (assignment_expression "*(int *)(iVar1 + 0x20) = iVar5" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" * (cast_expression "(undefined2 *)(iVar1 + 8)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);" (call_expression "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0)" identifier (argument_list "(iVar1,param_4,0xffffffff,1,0)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) })) (expression_statement "iVar2 = FUN_00062e64(iVar1,3);" (assignment_expression "iVar2 = FUN_00062e64(iVar1,3)" identifier = (call_expression "FUN_00062e64(iVar1,3)" identifier (argument_list "(iVar1,3)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" { (expression_statement "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);" (call_expression "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" (parenthesized_expression "(**(code **)(iVar5 + 0x104))" ( (pointer_expression "**(code **)(iVar5 + 0x104)" * (pointer_expression "*(code **)(iVar5 + 0x104)" * (cast_expression "(code **)(iVar5 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x104)" ( (binary_expression "iVar5 + 0x104" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" * (cast_expression "(undefined4 *)(iVar5 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x108)" ( (binary_expression "iVar5 + 0x108" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined1 *)(iVar5 + 0x4e)" * (cast_expression "(undefined1 *)(iVar5 + 0x4e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x4e)" ( (binary_expression "iVar5 + 0x4e" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x4bcc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x4bcc" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) })) (labeled_statement "LAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" statement_identifier : (if_statement "if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(iVar5 + 8);\n  }" { (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" else (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4,0)" ( identifier , identifier , number_literal )))) ;) })))) (if_statement "if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" if (parenthesized_expression "((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0))" ( (binary_expression "(iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" ( (comma_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" ( (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" identifier + (binary_expression "param_2 * 0x14" identifier * number_literal)) + number_literal) )))) , (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" { (labeled_statement "LAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" statement_identifier : (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" identifier (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x79c8" identifier + number_literal) , identifier ))) ;)) (expression_statement "param_1[3] = 0x101;" (assignment_expression "param_1[3] = 0x101" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (piVar4[3] != 0) {\n    return piVar4;\n  }" if (parenthesized_expression "(piVar4[3] != 0)" ( (binary_expression "piVar4[3] != 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return piVar4;\n  }" { (return_statement "return piVar4;" return identifier ;) })) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) (expression_statement "iVar1 = *piVar4;" (assignment_expression "iVar1 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "pbVar7 = PTR_UINT_0015b5fc + 0x2c48;" (assignment_expression "pbVar7 = PTR_UINT_0015b5fc + 0x2c48" identifier = (binary_expression "PTR_UINT_0015b5fc + 0x2c48" identifier + number_literal)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) ;) (expression_statement "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;" (assignment_expression "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b" identifier = (binary_expression "PTR_UINT_0015b5fc + 0x2c4b" identifier + number_literal)) ;) (if_statement "if (iVar1 == 0) goto LAB_00075a30;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075a30;" goto statement_identifier ;)) (while_statement "while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" while (parenthesized_expression "(iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0)" ( (comma_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0" (assignment_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0)" identifier = (call_expression "(*pcVar6)(iVar5,iVar1,0)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,iVar1,0)" ( identifier , identifier , number_literal )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" { (while_statement "while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" { (expression_statement "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);" (assignment_expression "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar2 + uVar8 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8 * 0x14 + -0x14)" ( (binary_expression "iVar2 + uVar8 * 0x14 + -0x14" (binary_expression "iVar2 + uVar8 * 0x14" identifier + (binary_expression "uVar8 * 0x14" identifier * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" if (parenthesized_expression "(piVar3[3] != 0)" ( (binary_expression "piVar3[3] != 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" { (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = piVar3[2];" (assignment_expression "iVar1 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar4 = *piVar3;" (assignment_expression "*piVar4 = *piVar3" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar4[1] = iVar2;" (assignment_expression "piVar4[1] = iVar2" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[2] = iVar1;" (assignment_expression "piVar4[2] = iVar1" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[3] = iVar5;" (assignment_expression "piVar4[3] = iVar5" (subscript_expression "piVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar4;" return identifier ;) })) (if_statement "if (pbVar9 == pbVar7) goto LAB_0007595c;" if (parenthesized_expression "(pbVar9 == pbVar7)" ( (binary_expression "pbVar9 == pbVar7" identifier == identifier) )) (goto_statement "goto LAB_0007595c;" goto statement_identifier ;)) (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);" statement_identifier : (expression_statement "iVar2 = *(int *)(iVar5 + 8);" (assignment_expression "iVar2 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar2 == 0) goto LAB_00075a3c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075a3c;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar6 = (code *)trap(0);" statement_identifier : comment (expression_statement "pcVar6 = (code *)trap(0);" (assignment_expression "pcVar6 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit "CollSeq * sqlite3GetCollSeq(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)\n\n{\n  u8 uVar1;\n  undefined3 uVar2;\n  char *pcVar3;\n  Mem *pMem;\n  void *pvVar4;\n  CollSeq *pCVar5;\n  CollSeq *pCVar6;\n  _func_int_void_ptr_int_void_ptr_int_void_ptr *p_Var7;\n  undefined3 in_register_00000014;\n  int iVar8;\n  sqlite3 *psVar9;\n  code *pcVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  \n  iVar8 = CONCAT31(in_register_00000014,enc);\n  psVar9 = pParse->db;\n  if (pColl == (CollSeq *)0x0) {\n    if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }\n    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }\n  if (psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0) {\n    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);\n    if (pcVar3 == (char *)0x0) goto LAB_00075918;\n    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);\n  }\n  if (psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0) {\n    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);\n    if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }\n    pvVar4 = sqlite3ValueText(pMem,'\x03');\n    if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);\n  }\nLAB_00075918:\n  if (zName == (char *)0x0) {\n    pCVar5 = psVar9->pDfltColl;\n  }\n  else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }\n  if ((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)) {\nLAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);\n    pParse->rc = 0x101;\n    return (CollSeq *)0x0;\n  }\n  if (pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n    return pCVar5;\n  }\n  uVar12 = 3;\n  pcVar3 = pCVar5->zName;\n  pbVar11 = PTR_DAT_0015b5fc + 0x2c48;\n  pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar13 = PTR_DAT_0015b5fc + 0x2c4b;\n  if (pcVar3 == (char *)0x0) goto LAB_00075a30;\n  while (pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0) {\n    while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar10 = (code *)trap(0);\n  (*pcVar10)();\n}\n\n" (function_definition "CollSeq * sqlite3GetCollSeq(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)\n\n{\n  u8 uVar1;\n  undefined3 uVar2;\n  char *pcVar3;\n  Mem *pMem;\n  void *pvVar4;\n  CollSeq *pCVar5;\n  CollSeq *pCVar6;\n  _func_int_void_ptr_int_void_ptr_int_void_ptr *p_Var7;\n  undefined3 in_register_00000014;\n  int iVar8;\n  sqlite3 *psVar9;\n  code *pcVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  \n  iVar8 = CONCAT31(in_register_00000014,enc);\n  psVar9 = pParse->db;\n  if (pColl == (CollSeq *)0x0) {\n    if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }\n    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }\n  if (psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0) {\n    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);\n    if (pcVar3 == (char *)0x0) goto LAB_00075918;\n    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);\n  }\n  if (psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0) {\n    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);\n    if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }\n    pvVar4 = sqlite3ValueText(pMem,'\x03');\n    if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);\n  }\nLAB_00075918:\n  if (zName == (char *)0x0) {\n    pCVar5 = psVar9->pDfltColl;\n  }\n  else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }\n  if ((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)) {\nLAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);\n    pParse->rc = 0x101;\n    return (CollSeq *)0x0;\n  }\n  if (pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n    return pCVar5;\n  }\n  uVar12 = 3;\n  pcVar3 = pCVar5->zName;\n  pbVar11 = PTR_DAT_0015b5fc + 0x2c48;\n  pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar13 = PTR_DAT_0015b5fc + 0x2c4b;\n  if (pcVar3 == (char *)0x0) goto LAB_00075a30;\n  while (pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0) {\n    while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar10 = (code *)trap(0);\n  (*pcVar10)();\n}" type_identifier (pointer_declarator "* sqlite3GetCollSeq(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)" * (function_declarator "sqlite3GetCollSeq(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)" identifier (parameter_list "(Parse *pParse,u8 enc,CollSeq *pColl,char *zName)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "u8 enc" type_identifier identifier) , (parameter_declaration "CollSeq *pColl" type_identifier (pointer_declarator "*pColl" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) )))) (compound_statement "{\n  u8 uVar1;\n  undefined3 uVar2;\n  char *pcVar3;\n  Mem *pMem;\n  void *pvVar4;\n  CollSeq *pCVar5;\n  CollSeq *pCVar6;\n  _func_int_void_ptr_int_void_ptr_int_void_ptr *p_Var7;\n  undefined3 in_register_00000014;\n  int iVar8;\n  sqlite3 *psVar9;\n  code *pcVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  \n  iVar8 = CONCAT31(in_register_00000014,enc);\n  psVar9 = pParse->db;\n  if (pColl == (CollSeq *)0x0) {\n    if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }\n    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }\n  if (psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0) {\n    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);\n    if (pcVar3 == (char *)0x0) goto LAB_00075918;\n    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);\n  }\n  if (psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0) {\n    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);\n    if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }\n    pvVar4 = sqlite3ValueText(pMem,'\x03');\n    if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);\n  }\nLAB_00075918:\n  if (zName == (char *)0x0) {\n    pCVar5 = psVar9->pDfltColl;\n  }\n  else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }\n  if ((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)) {\nLAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);\n    pParse->rc = 0x101;\n    return (CollSeq *)0x0;\n  }\n  if (pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n    return pCVar5;\n  }\n  uVar12 = 3;\n  pcVar3 = pCVar5->zName;\n  pbVar11 = PTR_DAT_0015b5fc + 0x2c48;\n  pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar13 = PTR_DAT_0015b5fc + 0x2c4b;\n  if (pcVar3 == (char *)0x0) goto LAB_00075a30;\n  while (pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0) {\n    while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar10 = (code *)trap(0);\n  (*pcVar10)();\n}" { (declaration "u8 uVar1;" type_identifier identifier ;) (declaration "undefined3 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Mem *pMem;" type_identifier (pointer_declarator "*pMem" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "CollSeq *pCVar5;" type_identifier (pointer_declarator "*pCVar5" * identifier) ;) (declaration "CollSeq *pCVar6;" type_identifier (pointer_declarator "*pCVar6" * identifier) ;) (declaration "_func_int_void_ptr_int_void_ptr_int_void_ptr *p_Var7;" type_identifier (pointer_declarator "*p_Var7" * identifier) ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "sqlite3 *psVar9;" type_identifier (pointer_declarator "*psVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (expression_statement "iVar8 = CONCAT31(in_register_00000014,enc);" (assignment_expression "iVar8 = CONCAT31(in_register_00000014,enc)" identifier = (call_expression "CONCAT31(in_register_00000014,enc)" identifier (argument_list "(in_register_00000014,enc)" ( identifier , identifier )))) ;) (expression_statement "psVar9 = pParse->db;" (assignment_expression "psVar9 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (pColl == (CollSeq *)0x0) {\n    if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }\n    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }" if (parenthesized_expression "(pColl == (CollSeq *)0x0)" ( (binary_expression "pColl == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }\n    if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;\n  }" { (if_statement "if (zName == (char *)0x0) {\n      pCVar5 = psVar9->pDfltColl;\n    }\n    else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }" if (parenthesized_expression "(zName == (char *)0x0)" ( (binary_expression "zName == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pCVar5 = psVar9->pDfltColl;\n    }" { (expression_statement "pCVar5 = psVar9->pDfltColl;" (assignment_expression "pCVar5 = psVar9->pDfltColl" identifier = (field_expression "psVar9->pDfltColl" identifier -> field_identifier)) ;) }) (else_clause "else {\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }" else (compound_statement "{\n      pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);\n    }" { (expression_statement "pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName);" (assignment_expression "pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName)" identifier = (cast_expression "(CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName)" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(psVar9,zName)" ( identifier , identifier ))))) ;) }))) (if_statement "if ((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))\n    goto LAB_00075798;" if (parenthesized_expression "((pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0))" ( (binary_expression "(pCVar5 != (CollSeq *)0x0) && (pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0)" (parenthesized_expression "(pCVar5 != (CollSeq *)0x0)" ( (binary_expression "pCVar5 != (CollSeq *)0x0" identifier != (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0)" ( (comma_expression "pColl = pCVar5 + iVar8 + -1, pColl != (CollSeq *)0x0" (assignment_expression "pColl = pCVar5 + iVar8 + -1" identifier = (binary_expression "pCVar5 + iVar8 + -1" (binary_expression "pCVar5 + iVar8" identifier + identifier) + number_literal)) , (binary_expression "pColl != (CollSeq *)0x0" identifier != (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00075798;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }" else (compound_statement "{\nLAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }\n  }" { (labeled_statement "LAB_00075798:\n    if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }" statement_identifier : (if_statement "if (pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n      return pColl;\n    }" if (parenthesized_expression "(pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0)" ( (binary_expression "pColl->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" (field_expression "pColl->xCmp" identifier -> field_identifier) != (cast_expression "(_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" ( (type_descriptor "_func_int_void_ptr_int_void_ptr_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pColl;\n    }" { (return_statement "return pColl;" return identifier ;) }))) }))) (if_statement "if (psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0) {\n    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);\n    if (pcVar3 == (char *)0x0) goto LAB_00075918;\n    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);\n  }" if (parenthesized_expression "(psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0)" ( (binary_expression "psVar9->xCollNeeded != (_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0" (field_expression "psVar9->xCollNeeded" identifier -> field_identifier) != (cast_expression "(_func_void_void_ptr_sqlite3_ptr_int_char_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr_sqlite3_ptr_int_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);\n    if (pcVar3 == (char *)0x0) goto LAB_00075918;\n    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);\n  }" { (expression_statement "pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName);" (assignment_expression "pcVar3 = (char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName)" identifier = (cast_expression "(char *)(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(psVar9,zName)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x23a0)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) )) (argument_list "(psVar9,zName)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar3 == (char *)0x0) goto LAB_00075918;" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00075918;" goto statement_identifier ;)) (expression_statement "(*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3);" (call_expression "(*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3)" (parenthesized_expression "(*psVar9->xCollNeeded)" ( (pointer_expression "*psVar9->xCollNeeded" * (field_expression "psVar9->xCollNeeded" identifier -> field_identifier)) )) (argument_list "(psVar9->pCollNeededArg,psVar9,iVar8,pcVar3)" ( (field_expression "psVar9->pCollNeededArg" identifier -> field_identifier) , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(psVar9,pcVar3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x56dc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x56dc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x56dc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x56dc" identifier + number_literal) )))) )) (argument_list "(psVar9,pcVar3)" ( identifier , identifier ))) ;) })) (if_statement "if (psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0) {\n    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);\n    if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }\n    pvVar4 = sqlite3ValueText(pMem,'\x03');\n    if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);\n  }" if (parenthesized_expression "(psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0)" ( (binary_expression "psVar9->xCollNeeded16 != (_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0" (field_expression "psVar9->xCollNeeded16" identifier -> field_identifier) != (cast_expression "(_func_void_void_ptr_sqlite3_ptr_int_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr_sqlite3_ptr_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);\n    if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }\n    pvVar4 = sqlite3ValueText(pMem,'\x03');\n    if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);\n  }" { (expression_statement "pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9);" (assignment_expression "pMem = (Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9)" identifier = (cast_expression "(Mem *)(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9)" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(psVar9)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2a40)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2a40)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2a40)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2a40" identifier + number_literal) )))) )) (argument_list "(psVar9)" ( identifier ))))) ;) (if_statement "if (pMem != (Mem *)0x0) {\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }" if (parenthesized_expression "(pMem != (Mem *)0x0)" ( (binary_expression "pMem != (Mem *)0x0" identifier != (cast_expression "(Mem *)0x0" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pMem->db = psVar9;\n      pMem->flags = 1;\n      sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);\n    }" { (expression_statement "pMem->db = psVar9;" (assignment_expression "pMem->db = psVar9" (field_expression "pMem->db" identifier -> field_identifier) = identifier) ;) (expression_statement "pMem->flags = 1;" (assignment_expression "pMem->flags = 1" (field_expression "pMem->flags" identifier -> field_identifier) = number_literal) ;) (expression_statement "sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0);" (call_expression "sqlite3VdbeMemSetStr(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0)" identifier (argument_list "(pMem,zName,-1,'\x01',(_func_void_void_ptr *)0x0)" ( identifier , identifier , number_literal , (char_literal "'\x01'" ' escape_sequence ') , (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) (expression_statement "pvVar4 = sqlite3ValueText(pMem,'\x03');" (assignment_expression "pvVar4 = sqlite3ValueText(pMem,'\x03')" identifier = (call_expression "sqlite3ValueText(pMem,'\x03')" identifier (argument_list "(pMem,'\x03')" ( identifier , (char_literal "'\x03'" ' escape_sequence ') )))) ;) (if_statement "if (pvVar4 != (void *)0x0) {\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }" if (parenthesized_expression "(pvVar4 != (void *)0x0)" ( (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);\n    }" { (expression_statement "(*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4);" (call_expression "(*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4)" (parenthesized_expression "(*psVar9->xCollNeeded16)" ( (pointer_expression "*psVar9->xCollNeeded16" * (field_expression "psVar9->xCollNeeded16" identifier -> field_identifier)) )) (argument_list "(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,pvVar4)" ( (field_expression "psVar9->pCollNeededArg" identifier -> field_identifier) , identifier , (cast_expression "(int)psVar9->enc" ( (type_descriptor "int" primitive_type) ) (field_expression "psVar9->enc" identifier -> field_identifier)) , identifier ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(pMem)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x4bcc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x4bcc" identifier + number_literal) )))) )) (argument_list "(pMem)" ( identifier ))) ;) })) (labeled_statement "LAB_00075918:\n  if (zName == (char *)0x0) {\n    pCVar5 = psVar9->pDfltColl;\n  }\n  else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }" statement_identifier : (if_statement "if (zName == (char *)0x0) {\n    pCVar5 = psVar9->pDfltColl;\n  }\n  else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }" if (parenthesized_expression "(zName == (char *)0x0)" ( (binary_expression "zName == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar5 = psVar9->pDfltColl;\n  }" { (expression_statement "pCVar5 = psVar9->pDfltColl;" (assignment_expression "pCVar5 = psVar9->pDfltColl" identifier = (field_expression "psVar9->pDfltColl" identifier -> field_identifier)) ;) }) (else_clause "else {\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }" else (compound_statement "{\n    pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);\n  }" { (expression_statement "pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0);" (assignment_expression "pCVar5 = (CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0)" identifier = (cast_expression "(CollSeq *)(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0)" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(psVar9,zName,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(psVar9,zName,0)" ( identifier , identifier , number_literal ))))) ;) })))) (if_statement "if ((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)) {\nLAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);\n    pParse->rc = 0x101;\n    return (CollSeq *)0x0;\n  }" if (parenthesized_expression "((pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0))" ( (binary_expression "(pCVar5 == (CollSeq *)0x0) || (pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)" (parenthesized_expression "(pCVar5 == (CollSeq *)0x0)" ( (binary_expression "pCVar5 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0)" ( (comma_expression "pCVar5 = pCVar5 + iVar8 + -1, pCVar5 == (CollSeq *)0x0" (assignment_expression "pCVar5 = pCVar5 + iVar8 + -1" identifier = (binary_expression "pCVar5 + iVar8 + -1" (binary_expression "pCVar5 + iVar8" identifier + identifier) + number_literal)) , (binary_expression "pCVar5 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);\n    pParse->rc = 0x101;\n    return (CollSeq *)0x0;\n  }" { (labeled_statement "LAB_0007595c:\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);" statement_identifier : (expression_statement "sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName);" (call_expression "sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName)" identifier (argument_list "(pParse,PTR_LAB_0015b5e8 + 0x79c8,zName)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x79c8" identifier + number_literal) , identifier ))) ;)) (expression_statement "pParse->rc = 0x101;" (assignment_expression "pParse->rc = 0x101" (field_expression "pParse->rc" identifier -> field_identifier) = number_literal) ;) (return_statement "return (CollSeq *)0x0;" return (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n    return pCVar5;\n  }" if (parenthesized_expression "(pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0)" ( (binary_expression "pCVar5->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" (field_expression "pCVar5->xCmp" identifier -> field_identifier) != (cast_expression "(_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" ( (type_descriptor "_func_int_void_ptr_int_void_ptr_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return pCVar5;\n  }" { (return_statement "return pCVar5;" return identifier ;) })) (expression_statement "uVar12 = 3;" (assignment_expression "uVar12 = 3" identifier = number_literal) ;) (expression_statement "pcVar3 = pCVar5->zName;" (assignment_expression "pcVar3 = pCVar5->zName" identifier = (field_expression "pCVar5->zName" identifier -> field_identifier)) ;) (expression_statement "pbVar11 = PTR_DAT_0015b5fc + 0x2c48;" (assignment_expression "pbVar11 = PTR_DAT_0015b5fc + 0x2c48" identifier = (binary_expression "PTR_DAT_0015b5fc + 0x2c48" identifier + number_literal)) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x820)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) ;) (expression_statement "pbVar13 = PTR_DAT_0015b5fc + 0x2c4b;" (assignment_expression "pbVar13 = PTR_DAT_0015b5fc + 0x2c4b" identifier = (binary_expression "PTR_DAT_0015b5fc + 0x2c4b" identifier + number_literal)) ;) (if_statement "if (pcVar3 == (char *)0x0) goto LAB_00075a30;" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00075a30;" goto statement_identifier ;)) (while_statement "while (pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0) {\n    while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }\n  }" while (parenthesized_expression "(pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0)" ( (comma_expression "pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0), pCVar6 != (CollSeq *)0x0" (assignment_expression "pCVar6 = (CollSeq *)(*pcVar10)(psVar9,pcVar3,0)" identifier = (cast_expression "(CollSeq *)(*pcVar10)(psVar9,pcVar3,0)" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar10)(psVar9,pcVar3,0)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(psVar9,pcVar3,0)" ( identifier , identifier , number_literal ))))) , (binary_expression "pCVar6 != (CollSeq *)0x0" identifier != (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n    while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }\n  }" { (while_statement "while( true ) {\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pCVar6 = pCVar6 + (uVar12 - 1);\n      pbVar11 = pbVar11 + 1;\n      if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }\n      if (pbVar13 == pbVar11) goto LAB_0007595c;\n      uVar12 = (uint)*pbVar11;\n      if (pcVar3 != (char *)0x0) break;\nLAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;\n      if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;\n    }" { (expression_statement "pCVar6 = pCVar6 + (uVar12 - 1);" (assignment_expression "pCVar6 = pCVar6 + (uVar12 - 1)" identifier = (binary_expression "pCVar6 + (uVar12 - 1)" identifier + (parenthesized_expression "(uVar12 - 1)" ( (binary_expression "uVar12 - 1" identifier - number_literal) )))) ;) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) (if_statement "if (pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0) {\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }" if (parenthesized_expression "(pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0)" ( (binary_expression "pCVar6->xCmp != (_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" (field_expression "pCVar6->xCmp" identifier -> field_identifier) != (cast_expression "(_func_int_void_ptr_int_void_ptr_int_void_ptr *)0x0" ( (type_descriptor "_func_int_void_ptr_int_void_ptr_int_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = pCVar6->enc;\n        uVar2 = *(undefined3 *)&pCVar6->field_0x5;\n        pvVar4 = pCVar6->pUser;\n        p_Var7 = pCVar6->xCmp;\n        pCVar5->zName = pCVar6->zName;\n        pCVar5->enc = uVar1;\n        *(undefined3 *)&pCVar5->field_0x5 = uVar2;\n        pCVar5->pUser = pvVar4;\n        pCVar5->xCmp = p_Var7;\n        pCVar5->xDel = (_func_void_void_ptr *)0x0;\n        return pCVar5;\n      }" { (expression_statement "uVar1 = pCVar6->enc;" (assignment_expression "uVar1 = pCVar6->enc" identifier = (field_expression "pCVar6->enc" identifier -> field_identifier)) ;) (expression_statement "uVar2 = *(undefined3 *)&pCVar6->field_0x5;" (assignment_expression "uVar2 = *(undefined3 *)&pCVar6->field_0x5" identifier = (pointer_expression "*(undefined3 *)&pCVar6->field_0x5" * (cast_expression "(undefined3 *)&pCVar6->field_0x5" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCVar6->field_0x5" & (field_expression "pCVar6->field_0x5" identifier -> field_identifier))))) ;) (expression_statement "pvVar4 = pCVar6->pUser;" (assignment_expression "pvVar4 = pCVar6->pUser" identifier = (field_expression "pCVar6->pUser" identifier -> field_identifier)) ;) (expression_statement "p_Var7 = pCVar6->xCmp;" (assignment_expression "p_Var7 = pCVar6->xCmp" identifier = (field_expression "pCVar6->xCmp" identifier -> field_identifier)) ;) (expression_statement "pCVar5->zName = pCVar6->zName;" (assignment_expression "pCVar5->zName = pCVar6->zName" (field_expression "pCVar5->zName" identifier -> field_identifier) = (field_expression "pCVar6->zName" identifier -> field_identifier)) ;) (expression_statement "pCVar5->enc = uVar1;" (assignment_expression "pCVar5->enc = uVar1" (field_expression "pCVar5->enc" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined3 *)&pCVar5->field_0x5 = uVar2;" (assignment_expression "*(undefined3 *)&pCVar5->field_0x5 = uVar2" (pointer_expression "*(undefined3 *)&pCVar5->field_0x5" * (cast_expression "(undefined3 *)&pCVar5->field_0x5" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCVar5->field_0x5" & (field_expression "pCVar5->field_0x5" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pCVar5->pUser = pvVar4;" (assignment_expression "pCVar5->pUser = pvVar4" (field_expression "pCVar5->pUser" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar5->xCmp = p_Var7;" (assignment_expression "pCVar5->xCmp = p_Var7" (field_expression "pCVar5->xCmp" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar5->xDel = (_func_void_void_ptr *)0x0;" (assignment_expression "pCVar5->xDel = (_func_void_void_ptr *)0x0" (field_expression "pCVar5->xDel" identifier -> field_identifier) = (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return pCVar5;" return identifier ;) })) (if_statement "if (pbVar13 == pbVar11) goto LAB_0007595c;" if (parenthesized_expression "(pbVar13 == pbVar11)" ( (binary_expression "pbVar13 == pbVar11" identifier == identifier) )) (goto_statement "goto LAB_0007595c;" goto statement_identifier ;)) (expression_statement "uVar12 = (uint)*pbVar11;" (assignment_expression "uVar12 = (uint)*pbVar11" identifier = (binary_expression "(uint)*pbVar11" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (pcVar3 != (char *)0x0) break;" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00075a30:\n      pCVar6 = psVar9->pDfltColl;" statement_identifier : (expression_statement "pCVar6 = psVar9->pDfltColl;" (assignment_expression "pCVar6 = psVar9->pDfltColl" identifier = (field_expression "psVar9->pDfltColl" identifier -> field_identifier)) ;)) (if_statement "if (pCVar6 == (CollSeq *)0x0) goto LAB_00075a3c;" if (parenthesized_expression "(pCVar6 == (CollSeq *)0x0)" ( (binary_expression "pCVar6 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00075a3c;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00075a3c:\n                    /* WARNING: Does not return */\n  pcVar10 = (code *)trap(0);" statement_identifier : comment (expression_statement "pcVar10 = (code *)trap(0);" (assignment_expression "pcVar10 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar10)();" (call_expression "(*pcVar10)()" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit "int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}\n\n" (function_definition "int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" primitive_type (pointer_declarator "* FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" * (function_declarator "FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" identifier (parameter_list "(int *param_1,int param_2,int *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }" { (if_statement "if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(iVar5 + 8);\n    }" { (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" else (compound_statement "{\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4)" ( identifier , identifier )))) ;) }))) (if_statement "if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;" if (parenthesized_expression "((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))" ( (binary_expression "(iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" ( (comma_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0" (assignment_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" ( (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" identifier + (binary_expression "param_2 * 0x14" identifier * number_literal)) + number_literal) )))) , (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00075798;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" else (compound_statement "{\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" { (labeled_statement "LAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }" statement_identifier : (if_statement "if (param_3[3] != 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_3[3] != 0)" ( (binary_expression "param_3[3] != 0" (subscript_expression "param_3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) }))) }))) (if_statement "if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x100) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x100) != 0" (pointer_expression "*(int *)(iVar5 + 0x100)" * (cast_expression "(int *)(iVar5 + 0x100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x100)" ( (binary_expression "iVar5 + 0x100" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x23a0)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) goto LAB_00075918;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075918;" goto statement_identifier ;)) (expression_statement "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);" (call_expression "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" (parenthesized_expression "(**(code **)(iVar5 + 0x100))" ( (pointer_expression "**(code **)(iVar5 + 0x100)" * (pointer_expression "*(code **)(iVar5 + 0x100)" * (cast_expression "(code **)(iVar5 + 0x100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x100)" ( (binary_expression "iVar5 + 0x100" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" * (cast_expression "(undefined4 *)(iVar5 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x108)" ( (binary_expression "iVar5 + 0x108" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x56dc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x56dc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x56dc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x56dc" identifier + number_literal) )))) )) (argument_list "(iVar5,iVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 0x104) != 0)" ( (binary_expression "*(int *)(iVar5 + 0x104) != 0" (pointer_expression "*(int *)(iVar5 + 0x104)" * (cast_expression "(int *)(iVar5 + 0x104)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x104)" ( (binary_expression "iVar5 + 0x104" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2a40)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2a40)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2a40)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2a40" identifier + number_literal) )))) )) (argument_list "(iVar5)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" { (expression_statement "*(int *)(iVar1 + 0x20) = iVar5;" (assignment_expression "*(int *)(iVar1 + 0x20) = iVar5" (pointer_expression "*(int *)(iVar1 + 0x20)" * (cast_expression "(int *)(iVar1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" * (cast_expression "(undefined2 *)(iVar1 + 8)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);" (call_expression "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0)" identifier (argument_list "(iVar1,param_4,0xffffffff,1,0)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) })) (expression_statement "iVar2 = FUN_00062e64(iVar1,3);" (assignment_expression "iVar2 = FUN_00062e64(iVar1,3)" identifier = (call_expression "FUN_00062e64(iVar1,3)" identifier (argument_list "(iVar1,3)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" { (expression_statement "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);" (call_expression "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" (parenthesized_expression "(**(code **)(iVar5 + 0x104))" ( (pointer_expression "**(code **)(iVar5 + 0x104)" * (pointer_expression "*(code **)(iVar5 + 0x104)" * (cast_expression "(code **)(iVar5 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x104)" ( (binary_expression "iVar5 + 0x104" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" ( (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" * (cast_expression "(undefined4 *)(iVar5 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x108)" ( (binary_expression "iVar5 + 0x108" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined1 *)(iVar5 + 0x4e)" * (cast_expression "(undefined1 *)(iVar5 + 0x4e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x4e)" ( (binary_expression "iVar5 + 0x4e" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x4bcc)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x4bcc" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) })) (labeled_statement "LAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" statement_identifier : (if_statement "if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(iVar5 + 8);\n  }" { (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" else (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) )) (argument_list "(iVar5,param_4,0)" ( identifier , identifier , number_literal )))) ;) })))) (if_statement "if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" if (parenthesized_expression "((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0))" ( (binary_expression "(iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" ( (comma_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" ( (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" identifier + (binary_expression "param_2 * 0x14" identifier * number_literal)) + number_literal) )))) , (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" { (labeled_statement "LAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" statement_identifier : (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" identifier (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x79c8" identifier + number_literal) , identifier ))) ;)) (expression_statement "param_1[3] = 0x101;" (assignment_expression "param_1[3] = 0x101" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (piVar4[3] != 0) {\n    return piVar4;\n  }" if (parenthesized_expression "(piVar4[3] != 0)" ( (binary_expression "piVar4[3] != 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return piVar4;\n  }" { (return_statement "return piVar4;" return identifier ;) })) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" identifier = number_literal) ;) (expression_statement "iVar1 = *piVar4;" (assignment_expression "iVar1 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "pbVar7 = PTR_UINT_0015b5fc + 0x2c48;" (assignment_expression "pbVar7 = PTR_UINT_0015b5fc + 0x2c48" identifier = (binary_expression "PTR_UINT_0015b5fc + 0x2c48" identifier + number_literal)) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x820" identifier + number_literal) )))) ;) (expression_statement "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;" (assignment_expression "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b" identifier = (binary_expression "PTR_UINT_0015b5fc + 0x2c4b" identifier + number_literal)) ;) (if_statement "if (iVar1 == 0) goto LAB_00075a30;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075a30;" goto statement_identifier ;)) (while_statement "while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" while (parenthesized_expression "(iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0)" ( (comma_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0" (assignment_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0)" identifier = (call_expression "(*pcVar6)(iVar5,iVar1,0)" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(iVar5,iVar1,0)" ( identifier , identifier , number_literal )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" { (while_statement "while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" { (expression_statement "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);" (assignment_expression "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14)" identifier = (cast_expression "(int *)(iVar2 + uVar8 * 0x14 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar8 * 0x14 + -0x14)" ( (binary_expression "iVar2 + uVar8 * 0x14 + -0x14" (binary_expression "iVar2 + uVar8 * 0x14" identifier + (binary_expression "uVar8 * 0x14" identifier * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" if (parenthesized_expression "(piVar3[3] != 0)" ( (binary_expression "piVar3[3] != 0" (subscript_expression "piVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" { (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = piVar3[2];" (assignment_expression "iVar1 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar4 = *piVar3;" (assignment_expression "*piVar4 = *piVar3" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar4[1] = iVar2;" (assignment_expression "piVar4[1] = iVar2" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[2] = iVar1;" (assignment_expression "piVar4[2] = iVar1" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[3] = iVar5;" (assignment_expression "piVar4[3] = iVar5" (subscript_expression "piVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar4;" return identifier ;) })) (if_statement "if (pbVar9 == pbVar7) goto LAB_0007595c;" if (parenthesized_expression "(pbVar9 == pbVar7)" ( (binary_expression "pbVar9 == pbVar7" identifier == identifier) )) (goto_statement "goto LAB_0007595c;" goto statement_identifier ;)) (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (iVar1 != 0) break;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);" statement_identifier : (expression_statement "iVar2 = *(int *)(iVar5 + 8);" (assignment_expression "iVar2 = *(int *)(iVar5 + 8)" identifier = (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar2 == 0) goto LAB_00075a3c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00075a3c;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);" statement_identifier : (expression_statement "pcVar6 = (code *)trap(0);" (assignment_expression "pcVar6 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })))
(function_definition "int * FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" (primitive_type "int") (pointer_declarator "* FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" (* "*") (function_declarator "FUN_00075744(int *param_1,int param_2,int *param_3,int param_4)" (identifier "FUN_00075744") (parameter_list "(int *param_1,int param_2,int *param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")")))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  code *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *pbVar9;\n  \n  iVar5 = *param_1;\n  if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }\n  if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }\n  if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }\nLAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }\n  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }\n  if (piVar4[3] != 0) {\n    return piVar4;\n  }\n  uVar8 = 3;\n  iVar1 = *piVar4;\n  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;\n  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);\n  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;\n  if (iVar1 == 0) goto LAB_00075a30;\n  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }\nLAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);\n  (*pcVar6)();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_3 == (int *)0x0) {\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }\n  else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 == (int *)0x0)" (( "(") (binary_expression "param_3 == (int *)0x0" (identifier "param_3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }\n    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;\n  }" ({ "{") (if_statement "if (param_4 == 0) {\n      iVar1 = *(int *)(iVar5 + 8);\n    }\n    else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(iVar5 + 8);\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" (else "else") (compound_statement "{\n      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);\n    }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + 0x820" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "0x820")) () ")")))) () ")")) (argument_list "(iVar5,param_4)" (( "(") (identifier "iVar5") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}")))) (if_statement "if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))\n    goto LAB_00075798;" (if "if") (parenthesized_expression "((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))" (( "(") (binary_expression "(iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0)" (( "(") (comma_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0" (assignment_expression "param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" (identifier "param_3") (= "=") (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" (( "(") (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 0x14" (identifier "param_2") (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x14")) () ")")))) (, ",") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (goto_statement "goto LAB_00075798;" (goto "goto") (statement_identifier "LAB_00075798") (; ";"))) (} "}")) (else_clause "else {\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" (else "else") (compound_statement "{\nLAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }\n  }" ({ "{") (labeled_statement "LAB_00075798:\n    if (param_3[3] != 0) {\n      return param_3;\n    }" (statement_identifier "LAB_00075798") (: ":") (if_statement "if (param_3[3] != 0) {\n      return param_3;\n    }" (if "if") (parenthesized_expression "(param_3[3] != 0)" (( "(") (binary_expression "param_3[3] != 0" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_3;\n    }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}")))) (} "}")))) (if_statement "if (*(int *)(iVar5 + 0x100) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0x100) != 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0x100) != 0" (pointer_expression "*(int *)(iVar5 + 0x100)" (* "*") (cast_expression "(int *)(iVar5 + 0x100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x100)" (( "(") (binary_expression "iVar5 + 0x100" (identifier "iVar5") (+ "+") (number_literal "0x100")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);\n    if (iVar1 == 0) goto LAB_00075918;\n    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);\n    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x23a0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x23a0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x23a0")) () ")")))) () ")")) (argument_list "(iVar5,param_4)" (( "(") (identifier "iVar5") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_00075918;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00075918;" (goto "goto") (statement_identifier "LAB_00075918") (; ";"))) (expression_statement "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);" (call_expression "(**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" (parenthesized_expression "(**(code **)(iVar5 + 0x100))" (( "(") (pointer_expression "**(code **)(iVar5 + 0x100)" (* "*") (pointer_expression "*(code **)(iVar5 + 0x100)" (* "*") (cast_expression "(code **)(iVar5 + 0x100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x100)" (( "(") (binary_expression "iVar5 + 0x100" (identifier "iVar5") (+ "+") (number_literal "0x100")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1)" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x108)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x108)" (( "(") (binary_expression "iVar5 + 0x108" (identifier "iVar5") (+ "+") (number_literal "0x108")) () ")")))) (, ",") (identifier "iVar5") (, ",") (identifier "param_2") (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x56dc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x56dc)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x56dc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x56dc)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x56dc" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x56dc")) () ")")))) () ")")) (argument_list "(iVar5,iVar1)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar5 + 0x104) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0x104) != 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0x104) != 0" (pointer_expression "*(int *)(iVar5 + 0x104)" (* "*") (cast_expression "(int *)(iVar5 + 0x104)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x104)" (( "(") (binary_expression "iVar5 + 0x104" (identifier "iVar5") (+ "+") (number_literal "0x104")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);\n    if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }\n    iVar2 = FUN_00062e64(iVar1,3);\n    if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }\n    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2a40))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2a40)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2a40)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2a40)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x2a40" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x2a40")) () ")")))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(int *)(iVar1 + 0x20) = iVar5;\n      *(undefined2 *)(iVar1 + 8) = 1;\n      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);\n    }" ({ "{") (expression_statement "*(int *)(iVar1 + 0x20) = iVar5;" (assignment_expression "*(int *)(iVar1 + 0x20) = iVar5" (pointer_expression "*(int *)(iVar1 + 0x20)" (* "*") (cast_expression "(int *)(iVar1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined2 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);" (call_expression "FUN_00058bfc(iVar1,param_4,0xffffffff,1,0)" (identifier "FUN_00058bfc") (argument_list "(iVar1,param_4,0xffffffff,1,0)" (( "(") (identifier "iVar1") (, ",") (identifier "param_4") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_00062e64(iVar1,3);" (assignment_expression "iVar2 = FUN_00062e64(iVar1,3)" (identifier "iVar2") (= "=") (call_expression "FUN_00062e64(iVar1,3)" (identifier "FUN_00062e64") (argument_list "(iVar1,3)" (( "(") (identifier "iVar1") (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);\n    }" ({ "{") (expression_statement "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);" (call_expression "(**(code **)(iVar5 + 0x104))\n                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" (parenthesized_expression "(**(code **)(iVar5 + 0x104))" (( "(") (pointer_expression "**(code **)(iVar5 + 0x104)" (* "*") (pointer_expression "*(code **)(iVar5 + 0x104)" (* "*") (cast_expression "(code **)(iVar5 + 0x104)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x104)" (( "(") (binary_expression "iVar5 + 0x104" (identifier "iVar5") (+ "+") (number_literal "0x104")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2)" (( "(") (pointer_expression "*(undefined4 *)(iVar5 + 0x108)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x108)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x108)" (( "(") (binary_expression "iVar5 + 0x108" (identifier "iVar5") (+ "+") (number_literal "0x108")) () ")")))) (, ",") (identifier "iVar5") (, ",") (pointer_expression "*(undefined1 *)(iVar5 + 0x4e)" (* "*") (cast_expression "(undefined1 *)(iVar5 + 0x4e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x4e)" (( "(") (binary_expression "iVar5 + 0x4e" (identifier "iVar5") (+ "+") (number_literal "0x4e")) () ")")))) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x4bcc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x4bcc)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x4bcc" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x4bcc")) () ")")))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00075918:\n  if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" (statement_identifier "LAB_00075918") (: ":") (if_statement "if (param_4 == 0) {\n    iVar1 = *(int *)(iVar5 + 8);\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(iVar5 + 8);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar5 + 8);" (assignment_expression "iVar1 = *(int *)(iVar5 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + 0x820))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + 0x820)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + 0x820" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "0x820")) () ")")))) () ")")) (argument_list "(iVar5,param_4,0)" (( "(") (identifier "iVar5") (, ",") (identifier "param_4") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))))) (if_statement "if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0))" (( "(") (binary_expression "(iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)" (( "(") (comma_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0" (assignment_expression "piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar1 + param_2 * 0x14 + -0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + param_2 * 0x14 + -0x14)" (( "(") (binary_expression "iVar1 + param_2 * 0x14 + -0x14" (binary_expression "iVar1 + param_2 * 0x14" (identifier "iVar1") (+ "+") (binary_expression "param_2 * 0x14" (identifier "param_2") (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x14")) () ")")))) (, ",") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\nLAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);\n    param_1[3] = 0x101;\n    return (int *)0x0;\n  }" ({ "{") (labeled_statement "LAB_0007595c:\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" (statement_identifier "LAB_0007595c") (: ":") (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" (identifier "FUN_00071104") (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_LAB_0015b5e8 + 0x79c8" (identifier "PTR_LAB_0015b5e8") (+ "+") (number_literal "0x79c8")) (, ",") (identifier "param_4") () ")"))) (; ";"))) (expression_statement "param_1[3] = 0x101;" (assignment_expression "param_1[3] = 0x101" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0x101")) (; ";")) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (if_statement "if (piVar4[3] != 0) {\n    return piVar4;\n  }" (if "if") (parenthesized_expression "(piVar4[3] != 0)" (( "(") (binary_expression "piVar4[3] != 0" (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return piVar4;\n  }" ({ "{") (return_statement "return piVar4;" (return "return") (identifier "piVar4") (; ";")) (} "}"))) (expression_statement "uVar8 = 3;" (assignment_expression "uVar8 = 3" (identifier "uVar8") (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar1 = *piVar4;" (assignment_expression "iVar1 = *piVar4" (identifier "iVar1") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "pbVar7 = PTR_UINT_0015b5fc + 0x2c48;" (assignment_expression "pbVar7 = PTR_UINT_0015b5fc + 0x2c48" (identifier "pbVar7") (= "=") (binary_expression "PTR_UINT_0015b5fc + 0x2c48" (identifier "PTR_UINT_0015b5fc") (+ "+") (number_literal "0x2c48"))) (; ";")) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x820)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x820)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + 0x820" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "0x820")) () ")")))) (; ";")) (expression_statement "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;" (assignment_expression "pbVar9 = PTR_UINT_0015b5fc + 0x2c4b" (identifier "pbVar9") (= "=") (binary_expression "PTR_UINT_0015b5fc + 0x2c4b" (identifier "PTR_UINT_0015b5fc") (+ "+") (number_literal "0x2c4b"))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_00075a30;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00075a30;" (goto "goto") (statement_identifier "LAB_00075a30") (; ";"))) (while_statement "while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" (while "while") (parenthesized_expression "(iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0" (assignment_expression "iVar2 = (*pcVar6)(iVar5,iVar1,0)" (identifier "iVar2") (= "=") (call_expression "(*pcVar6)(iVar5,iVar1,0)" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(iVar5,iVar1,0)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n    while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);\n      pbVar7 = pbVar7 + 1;\n      if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }\n      if (pbVar9 == pbVar7) goto LAB_0007595c;\n      uVar8 = (uint)*pbVar7;\n      if (iVar1 != 0) break;\nLAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);\n      if (iVar2 == 0) goto LAB_00075a3c;\n    }" ({ "{") (expression_statement "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);" (assignment_expression "piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14)" (identifier "piVar3") (= "=") (cast_expression "(int *)(iVar2 + uVar8 * 0x14 + -0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar8 * 0x14 + -0x14)" (( "(") (binary_expression "iVar2 + uVar8 * 0x14 + -0x14" (binary_expression "iVar2 + uVar8 * 0x14" (identifier "iVar2") (+ "+") (binary_expression "uVar8 * 0x14" (identifier "uVar8") (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x14")) () ")")))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar3[3] != 0) {\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" (if "if") (parenthesized_expression "(piVar3[3] != 0)" (( "(") (binary_expression "piVar3[3] != 0" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = piVar3[1];\n        iVar1 = piVar3[2];\n        iVar5 = piVar3[3];\n        *piVar4 = *piVar3;\n        piVar4[1] = iVar2;\n        piVar4[2] = iVar1;\n        piVar4[3] = iVar5;\n        piVar4[4] = 0;\n        return piVar4;\n      }" ({ "{") (expression_statement "iVar2 = piVar3[1];" (assignment_expression "iVar2 = piVar3[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar1 = piVar3[2];" (assignment_expression "iVar1 = piVar3[2]" (identifier "iVar1") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = piVar3[3];" (assignment_expression "iVar5 = piVar3[3]" (identifier "iVar5") (= "=") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar4 = *piVar3;" (assignment_expression "*piVar4 = *piVar3" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "piVar4[1] = iVar2;" (assignment_expression "piVar4[1] = iVar2" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar4[2] = iVar1;" (assignment_expression "piVar4[2] = iVar1" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "piVar4[3] = iVar5;" (assignment_expression "piVar4[3] = iVar5" (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" (identifier "piVar4") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return piVar4;" (return "return") (identifier "piVar4") (; ";")) (} "}"))) (if_statement "if (pbVar9 == pbVar7) goto LAB_0007595c;" (if "if") (parenthesized_expression "(pbVar9 == pbVar7)" (( "(") (binary_expression "pbVar9 == pbVar7" (identifier "pbVar9") (== "==") (identifier "pbVar7")) () ")")) (goto_statement "goto LAB_0007595c;" (goto "goto") (statement_identifier "LAB_0007595c") (; ";"))) (expression_statement "uVar8 = (uint)*pbVar7;" (assignment_expression "uVar8 = (uint)*pbVar7" (identifier "uVar8") (= "=") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) (; ";")) (if_statement "if (iVar1 != 0) break;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00075a30:\n      iVar2 = *(int *)(iVar5 + 8);" (statement_identifier "LAB_00075a30") (: ":") (expression_statement "iVar2 = *(int *)(iVar5 + 8);" (assignment_expression "iVar2 = *(int *)(iVar5 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (if_statement "if (iVar2 == 0) goto LAB_00075a3c;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00075a3c;" (goto "goto") (statement_identifier "LAB_00075a3c") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00075a3c:\n                    \n  pcVar6 = (code *)trap(0);" (statement_identifier "LAB_00075a3c") (: ":") (expression_statement "pcVar6 = (code *)trap(0);" (assignment_expression "pcVar6 = (code *)trap(0)" (identifier "pcVar6") (= "=") (cast_expression "(code *)trap(0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "trap(0)" (identifier "trap") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";"))) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse,type_3 enc,type_1 *var_2,char *var_3)

{
  type_3 uVar1;
  type_4 uVar2;
  char *var_7;
  type_5 *var_8;
  void *var_11;
  type_1 *var_5;
  type_1 *var_15;
  type_6 *p_Var7;
  type_4 in_register_00000014;
  int var_6;
  type_7 *psVar9;
  type_8 *pcVar10;
  type_9 *var_17;
  type_10 var_16;
  type_9 *var_18;
  
  var_6 = var_1(in_register_00000014,enc);
  psVar9 = pParse->db;
  if (var_2 == (type_1 *)0x0) {
    if (var_3 == (char *)0x0) {
      var_5 = psVar9->pDfltColl;
    }
    else {
      var_5 = (type_1 *)(*(type_8 *)(var_4 + 0x820))(psVar9,var_3);
    }
    if ((var_5 != (type_1 *)0x0) && (var_2 = var_5 + var_6 + -1, var_2 != (type_1 *)0x0))
    goto LAB_00075798;
  }
  else {
LAB_00075798:
    if (var_2->xCmp != (type_6 *)0x0) {
      return var_2;
    }
  }
  if (psVar9->xCollNeeded != (type_11 *)0x0) {
    var_7 = (char *)(*(type_8 *)(var_4 + -0x23a0))(psVar9,var_3);
    if (var_7 == (char *)0x0) goto LAB_00075918;
    (*psVar9->xCollNeeded)(psVar9->pCollNeededArg,psVar9,var_6,var_7);
    (*(type_8 *)(var_4 + -0x56dc))(psVar9,var_7);
  }
  if (psVar9->xCollNeeded16 != (type_12 *)0x0) {
    var_8 = (type_5 *)(*(type_8 *)(var_4 + -0x2a40))(psVar9);
    if (var_8 != (type_5 *)0x0) {
      var_8->db = psVar9;
      var_8->flags = 1;
      var_9(var_8,var_3,-1,'\x01',(type_13 *)0x0);
    }
    var_11 = var_10(var_8,'\x03');
    if (var_11 != (void *)0x0) {
      (*psVar9->xCollNeeded16)(psVar9->pCollNeededArg,psVar9,(int)psVar9->enc,var_11);
    }
    (*(type_8 *)(var_4 + -0x4bcc))(var_8);
  }
LAB_00075918:
  if (var_3 == (char *)0x0) {
    var_5 = psVar9->pDfltColl;
  }
  else {
    var_5 = (type_1 *)(*(type_8 *)(var_4 + 0x820))(psVar9,var_3,0);
  }
  if ((var_5 == (type_1 *)0x0) || (var_5 = var_5 + var_6 + -1, var_5 == (type_1 *)0x0)) {
LAB_0007595c:
    var_12(pParse,var_13 + 0x79c8,var_3);
    pParse->rc = 0x101;
    return (type_1 *)0x0;
  }
  if (var_5->xCmp != (type_6 *)0x0) {
    return var_5;
  }
  var_16 = 3;
  var_7 = var_5->var_3;
  var_17 = var_14 + 0x2c48;
  pcVar10 = (type_8 *)(var_4 + 0x820);
  var_18 = var_14 + 0x2c4b;
  if (var_7 == (char *)0x0) goto LAB_00075a30;
  while (var_15 = (type_1 *)(*pcVar10)(psVar9,var_7,0), var_15 != (type_1 *)0x0) {
    while( true ) {
      var_15 = var_15 + (var_16 - 1);
      var_17 = var_17 + 1;
      if (var_15->xCmp != (type_6 *)0x0) {
        uVar1 = var_15->enc;
        uVar2 = *(type_4 *)&var_15->field_0x5;
        var_11 = var_15->pUser;
        p_Var7 = var_15->xCmp;
        var_5->var_3 = var_15->var_3;
        var_5->enc = uVar1;
        *(type_4 *)&var_5->field_0x5 = uVar2;
        var_5->pUser = var_11;
        var_5->xCmp = p_Var7;
        var_5->xDel = (type_13 *)0x0;
        return var_5;
      }
      if (var_18 == var_17) goto LAB_0007595c;
      var_16 = (type_10)*var_17;
      if (var_7 != (char *)0x0) break;
LAB_00075a30:
      var_15 = psVar9->pDfltColl;
      if (var_15 == (type_1 *)0x0) goto LAB_00075a3c;
    }
  }
LAB_00075a3c:
                    /* WARNING: Does not return */
  pcVar10 = (type_8 *)var_19(0);
  (*pcVar10)();
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier) (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))))

int * MASKED(int *param_1,int param_2,int *param_3,int param_4)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  code *pcVar6;
  byte *pbVar7;
  uint uVar8;
  byte *pbVar9;
  
  iVar5 = *param_1;
  if (param_3 == (int *)0x0) {
    if (param_4 == 0) {
      iVar1 = *(int *)(iVar5 + 8);
    }
    else {
      iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4);
    }
    if ((iVar1 != 0) && (param_3 = (int *)(iVar1 + param_2 * 0x14 + -0x14), param_3 != (int *)0x0))
    goto LAB_00075798;
  }
  else {
LAB_00075798:
    if (param_3[3] != 0) {
      return param_3;
    }
  }
  if (*(int *)(iVar5 + 0x100) != 0) {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x23a0))(iVar5,param_4);
    if (iVar1 == 0) goto LAB_00075918;
    (**(code **)(iVar5 + 0x100))(*(undefined4 *)(iVar5 + 0x108),iVar5,param_2,iVar1);
    (*(code *)(PTR_LAB_0015b6d8 + -0x56dc))(iVar5,iVar1);
  }
  if (*(int *)(iVar5 + 0x104) != 0) {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + -0x2a40))(iVar5);
    if (iVar1 != 0) {
      *(int *)(iVar1 + 0x20) = iVar5;
      *(undefined2 *)(iVar1 + 8) = 1;
      FUN_00058bfc(iVar1,param_4,0xffffffff,1,0);
    }
    iVar2 = FUN_00062e64(iVar1,3);
    if (iVar2 != 0) {
      (**(code **)(iVar5 + 0x104))
                (*(undefined4 *)(iVar5 + 0x108),iVar5,*(undefined1 *)(iVar5 + 0x4e),iVar2);
    }
    (*(code *)(PTR_LAB_0015b6d8 + -0x4bcc))(iVar1);
  }
LAB_00075918:
  if (param_4 == 0) {
    iVar1 = *(int *)(iVar5 + 8);
  }
  else {
    iVar1 = (*(code *)(PTR_LAB_0015b6d8 + 0x820))(iVar5,param_4,0);
  }
  if ((iVar1 == 0) || (piVar4 = (int *)(iVar1 + param_2 * 0x14 + -0x14), piVar4 == (int *)0x0)) {
LAB_0007595c:
    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x79c8,param_4);
    param_1[3] = 0x101;
    return (int *)0x0;
  }
  if (piVar4[3] != 0) {
    return piVar4;
  }
  uVar8 = 3;
  iVar1 = *piVar4;
  pbVar7 = PTR_UINT_0015b5fc + 0x2c48;
  pcVar6 = (code *)(PTR_LAB_0015b6d8 + 0x820);
  pbVar9 = PTR_UINT_0015b5fc + 0x2c4b;
  if (iVar1 == 0) goto LAB_00075a30;
  while (iVar2 = (*pcVar6)(iVar5,iVar1,0), iVar2 != 0) {
    while( true ) {
      piVar3 = (int *)(iVar2 + uVar8 * 0x14 + -0x14);
      pbVar7 = pbVar7 + 1;
      if (piVar3[3] != 0) {
        iVar2 = piVar3[1];
        iVar1 = piVar3[2];
        iVar5 = piVar3[3];
        *piVar4 = *piVar3;
        piVar4[1] = iVar2;
        piVar4[2] = iVar1;
        piVar4[3] = iVar5;
        piVar4[4] = 0;
        return piVar4;
      }
      if (pbVar9 == pbVar7) goto LAB_0007595c;
      uVar8 = (uint)*pbVar7;
      if (iVar1 != 0) break;
LAB_00075a30:
      iVar2 = *(int *)(iVar5 + 8);
      if (iVar2 == 0) goto LAB_00075a3c;
    }
  }
LAB_00075a3c:
                    /* WARNING: Does not return */
  pcVar6 = (code *)trap(0);
  (*pcVar6)();
}

