
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int sqlite3_exec(sqlite3 *db,char *zSql,sqlite3_callback xCallback,void *pArg,char **pzErrMsg)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  uchar *puVar4;
  int iVar5;
  char **ppcVar6;
  char *pcVar7;
  int iVar8;
  int in_GS_OFFSET;
  bool bVar9;
  sqlite3_stmt *psVar10;
  int in_stack_ffffffa8;
  char **local_44;
  char **local_3c;
  char *zLeftover;
  sqlite3_stmt *pStmt;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xadc59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pStmt = (sqlite3_stmt *)0x0;
  iVar2 = sqlite3SafetyCheckOk(db);
  if (iVar2 == 0) {
    uVar3 = sqlite3MisuseError(0x1cf92);
    goto LAB_000adef0;
  }
  if (zSql == (char *)0x0) {
    zSql = &DAT_000f50ff;
  }
  sqlite3_mutex_enter(db->mutex);
  db->errCode = 0;
  if (db->pErr != (sqlite3_value *)0x0) {
    sqlite3ErrorFinish(db,0);
  }
  do {
    if (*zSql == 0) {
      bVar9 = false;
      uVar3 = 0;
      goto LAB_000ae025;
    }
    while( true ) {
      pStmt = (sqlite3_stmt *)0x0;
      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);
      if (uVar3 != 0) goto LAB_000ae01a;
      if (pStmt != (sqlite3_stmt *)0x0) break;
      zSql = zLeftover;
      if (*zLeftover == '\0') {
        bVar9 = false;
        goto LAB_000ade9f;
      }
    }
    local_3c = (char **)0x0;
    bVar9 = false;
    local_44 = (char **)0x0;
    iVar2 = 0;
LAB_000add40:
    do {
      uVar3 = sqlite3_step(pStmt);
      if (xCallback != (sqlite3_callback)0x0) {
        if (uVar3 == 100) {
          if (!bVar9) goto LAB_000adf10;
          ppcVar6 = local_44 + iVar2;
          local_3c = ppcVar6;
          if (0 < iVar2) {
LAB_000ade0b:
            iVar8 = 0;
            do {
              puVar4 = sqlite3_column_text(pStmt,iVar8);
              local_3c[iVar8] = (char *)puVar4;
              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)
                 ) {
                uVar3._0_1_ = db->temp_store;
                uVar3._1_1_ = db->mallocFailed;
                uVar3._2_1_ = db->bBenignMalloc;
                uVar3._3_1_ = db->dfltLockMode;
                if ((uVar3 & 0xffff00) == 0) {
                  sqlite3OomFault(db);
                }
                uVar3 = 100;
                goto joined_r0x000ade75;
              }
              iVar8 = iVar8 + 1;
            } while (iVar8 < iVar2);
            ppcVar6 = local_3c + iVar8;
          }
LAB_000adfe7:
          *ppcVar6 = (char *)0x0;
          in_stack_ffffffa8 = iVar2;
          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);
          if (iVar8 == 0) {
            bVar9 = true;
            goto LAB_000add40;
          }
        }
        else {
          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;
LAB_000adf10:
          psVar10 = pStmt;
          iVar2 = sqlite3_column_count(pStmt);
          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));
          if (local_44 == (char **)0x0) {
            bVar9 = uVar3 == 0xc0a;
            goto LAB_000ae025;
          }
          if (iVar2 < 1) {
            in_stack_ffffffa8 = iVar2;
            if (uVar3 == 100) {
              ppcVar6 = local_44 + iVar2;
              local_3c = ppcVar6;
              goto LAB_000adfe7;
            }
          }
          else {
            in_stack_ffffffa8 = 0;
            do {
              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);
              local_44[in_stack_ffffffa8] = pcVar7;
              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;
            } while (iVar2 != in_stack_ffffffa8);
            if (uVar3 == 100) {
              local_3c = local_44 + iVar2;
              goto LAB_000ade0b;
            }
          }
          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);
          if (iVar2 == 0) break;
        }
        sqlite3VdbeFinalize((Vdbe *)pStmt);
        pStmt = (sqlite3_stmt *)0x0;
        db->errCode = 4;
        sqlite3ErrorFinish(db,4);
        uVar3 = 4;
joined_r0x000ade75:
        if ((Vdbe *)pStmt != (Vdbe *)0x0) {
          sqlite3VdbeFinalize((Vdbe *)pStmt);
        }
        bVar9 = false;
        if (local_44 != (char **)0x0) {
          sqlite3DbFreeNN(db,local_44);
        }
        goto LAB_000ade9f;
      }
    } while (uVar3 == 100);
    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);
    pStmt = (sqlite3_stmt *)0x0;
    bVar1 = ""[(byte)*zLeftover];
    zSql = zLeftover;
    while ((bVar1 & 1) != 0) {
      zSql = (char *)((byte *)zSql + 1);
      bVar1 = ""[(byte)*zSql];
    }
    if (local_44 != (char **)0x0) {
      sqlite3DbFreeNN(db,local_44);
    }
  } while (uVar3 == 0);
LAB_000ae01a:
  bVar9 = uVar3 == 0xc0a;
LAB_000ae025:
  if (pStmt == (sqlite3_stmt *)0x0) {
LAB_000ade9f:
    if (db->mallocFailed != '\0') goto LAB_000ae04c;
LAB_000adead:
    if (bVar9) goto LAB_000ae04c;
    uVar3 = uVar3 & db->errMask;
  }
  else {
    sqlite3VdbeFinalize((Vdbe *)pStmt);
    if (db->mallocFailed == '\0') goto LAB_000adead;
LAB_000ae04c:
    uVar3 = apiOomError(db);
  }
  if ((uVar3 == 0) || (pzErrMsg == (char **)0x0)) {
    if (pzErrMsg != (char **)0x0) {
      *pzErrMsg = (char *)0x0;
    }
  }
  else {
    pcVar7 = sqlite3_errmsg(db);
    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);
    *pzErrMsg = pcVar7;
    if (pcVar7 == (char *)0x0) {
      uVar3 = 7;
      db->errCode = 7;
      sqlite3ErrorFinish(db,7);
    }
  }
  sqlite3_mutex_leave(db->mutex);
LAB_000adef0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return uVar3;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  int iVar7;
  int in_GS_OFFSET;
  bool bVar8;
  int local_44;
  undefined4 *local_3c;
  byte *local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xadc59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_24 = 0;
  iVar2 = FUN_00055d90();
  if (iVar2 == 0) {
    uVar3 = FUN_00050c30();
    goto LAB_000adef0;
  }
  if (param_2 == (byte *)0x0) {
    param_2 = &DAT_000f50ff;
  }
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  *(undefined4 *)(param_1 + 0x3c) = 0;
  if (*(int *)(param_1 + 0x108) != 0) {
    FUN_00027ae0();
  }
  do {
    if (*param_2 == 0) {
      bVar8 = false;
      uVar3 = 0;
      goto LAB_000ae025;
    }
    while( true ) {
      local_24 = 0;
      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);
      if (uVar3 != 0) goto LAB_000ae01a;
      if (local_24 != 0) break;
      param_2 = local_28;
      if (*local_28 == 0) {
        bVar8 = false;
        goto LAB_000ade9f;
      }
    }
    local_3c = (undefined4 *)0x0;
    bVar8 = false;
    local_44 = 0;
    iVar2 = 0;
LAB_000add40:
    do {
      uVar3 = FUN_000accc0(local_24);
      if (param_3 != (code *)0x0) {
        if (uVar3 == 100) {
          if (!bVar8) goto LAB_000adf10;
          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);
          local_3c = puVar6;
          if (0 < iVar2) {
LAB_000ade0b:
            iVar7 = 0;
            do {
              iVar4 = FUN_0004d370(local_24,iVar7);
              local_3c[iVar7] = iVar4;
              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {
                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {
                  FUN_00026b70();
                }
                uVar3 = 100;
                goto joined_r0x000ade75;
              }
              iVar7 = iVar7 + 1;
            } while (iVar7 < iVar2);
            puVar6 = local_3c + iVar7;
          }
LAB_000adfe7:
          *puVar6 = 0;
          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);
          if (iVar7 == 0) {
            bVar8 = true;
            goto LAB_000add40;
          }
        }
        else {
          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;
LAB_000adf10:
          iVar2 = FUN_0001bb40(local_24);
          local_44 = FUN_00026bd0();
          if (local_44 == 0) {
            bVar8 = uVar3 == 0xc0a;
            goto LAB_000ae025;
          }
          if (iVar2 < 1) {
            iVar7 = iVar2;
            if (uVar3 == 100) {
              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);
              local_3c = puVar6;
              goto LAB_000adfe7;
            }
          }
          else {
            iVar7 = 0;
            do {
              uVar5 = FUN_0003ac60(local_24,iVar7);
              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;
              iVar7 = iVar7 + 1;
            } while (iVar2 != iVar7);
            if (uVar3 == 100) {
              local_3c = (undefined4 *)(local_44 + iVar2 * 4);
              goto LAB_000ade0b;
            }
          }
          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);
          if (iVar2 == 0) break;
        }
        FUN_00089bd0();
        local_24 = 0;
        *(undefined4 *)(param_1 + 0x3c) = 4;
        FUN_00027ae0();
        uVar3 = 4;
joined_r0x000ade75:
        if (local_24 != 0) {
          FUN_00089bd0();
        }
        bVar8 = false;
        if (local_44 != 0) {
          FUN_00024d80();
        }
        goto LAB_000ade9f;
      }
    } while (uVar3 == 100);
    uVar3 = FUN_00089bd0();
    local_24 = 0;
    bVar1 = (&DAT_00102800)[*local_28];
    param_2 = local_28;
    while ((bVar1 & 1) != 0) {
      param_2 = param_2 + 1;
      bVar1 = (&DAT_00102800)[*param_2];
    }
    if (local_44 != 0) {
      FUN_00024d80();
    }
  } while (uVar3 == 0);
LAB_000ae01a:
  bVar8 = uVar3 == 0xc0a;
LAB_000ae025:
  if (local_24 == 0) {
LAB_000ade9f:
    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;
LAB_000adead:
    if (bVar8) goto LAB_000ae04c;
    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);
  }
  else {
    FUN_00089bd0();
    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;
LAB_000ae04c:
    uVar3 = FUN_000383b0();
  }
  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {
    if (param_5 != (int *)0x0) {
      *param_5 = 0;
    }
  }
  else {
    FUN_00055cc0(param_1);
    iVar2 = FUN_00027060();
    *param_5 = iVar2;
    if (iVar2 == 0) {
      uVar3 = 7;
      *(undefined4 *)(param_1 + 0x3c) = 7;
      FUN_00027ae0();
    }
  }
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
LAB_000adef0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f4bf0();
  }
  return uVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x9b27b
SUB ESP,0x3c
MOV ECX,dword ptr [ESP + 0x58]
MOV EAX,dword ptr [ESP + 0x50]
MOV EBP,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x4],ECX
MOV ECX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x14],ECX
MOV ECX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x1c],ECX
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x2c],ECX
XOR ECX,ECX
MOV dword ptr [ESP + 0x28],0x0
CALL 0x00055d90
TEST EAX,EAX
JZ 0x000ae0c1
TEST EBP,EBP
LEA EAX,[EBX + 0xfffac22b]
CMOVZ EBP,EAX
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH dword ptr [ESI + 0xc]
CALL 0x000197c0
MOV EDX,dword ptr [ESI + 0x108]
MOV EAX,ESI
ADD ESP,0x10
MOV dword ptr [ESI + 0x3c],0x0
TEST EDX,EDX
JZ 0x000adce0
XOR EDX,EDX
CALL 0x00027ae0
NOP
CMP byte ptr [EBP],0x0
JZ 0x000ae0de
LEA EDI,[ESP + 0x24]
LEA ESI,[ESP + 0x28]
MOV dword ptr [ESP + 0x28],0x0
SUB ESP,0xc
PUSH EDI
PUSH ESI
PUSH -0x1
PUSH EBP
PUSH dword ptr [ESP + 0x28]
CALL 0x000c21a0
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000ae018
MOV EDX,dword ptr [ESP + 0x28]
TEST EDX,EDX
JZ 0x000ae060
MOV dword ptr [ESP + 0x10],0x0
MOV EAX,EDX
XOR ESI,ESI
XOR EBP,EBP
MOV dword ptr [ESP + 0x8],0x0
LEA ESI,[ESI]
NOP
SUB ESP,0xc
PUSH EAX
CALL 0x000accc0
ADD ESP,0x10
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x000adde0
CMP EDI,0x64
JZ 0x000addf0
CMP EDI,0x65
JNZ 0x000add7a
TEST EBP,EBP
JNZ 0x000add7a
MOV EAX,dword ptr [ESP + 0xc]
TEST byte ptr [EAX + 0x1d],0x1
JNZ 0x000adf10
MOV EAX,dword ptr [ESP + 0x28]
CALL 0x00089bd0
MOV EBP,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x28],0x0
LEA EDX,[EBX + 0xfffb992c]
MOV ECX,EAX
MOVZX EAX,byte ptr [EBP]
TEST byte ptr [EBX + EAX*0x1 + 0xfffb992c],0x1
JZ 0x000addb5
LEA ESI,[ESI]
ADD EBP,0x1
MOVZX EAX,byte ptr [EBP]
TEST byte ptr [EDX + EAX*0x1],0x1
JNZ 0x000adda8
MOV EDX,dword ptr [ESP + 0x8]
TEST EDX,EDX
JZ 0x000addce
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x8],ECX
CALL 0x00024d80
MOV ECX,dword ptr [ESP + 0x8]
TEST ECX,ECX
JZ 0x000adce0
JMP 0x000ae01a
CMP EDI,0x64
JNZ 0x000add7a
MOV EAX,dword ptr [ESP + 0x28]
JMP 0x000add40
TEST EBP,EBP
JZ 0x000adf10
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + ESI*0x4]
MOV dword ptr [ESP + 0x10],EAX
TEST ESI,ESI
JLE 0x000adfe7
XOR EDI,EDI
MOV EBP,dword ptr [ESP + 0x10]
JMP 0x000ade23
ADD EDI,0x1
CMP EDI,ESI
JGE 0x000adfe0
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESP + 0x34]
CALL 0x0004d370
ADD ESP,0x10
MOV dword ptr [EBP + EDI*0x4],EAX
TEST EAX,EAX
JNZ 0x000ade18
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESP + 0x34]
CALL 0x00038670
ADD ESP,0x10
CMP EAX,0x5
JZ 0x000ade18
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,0x64
TEST dword ptr [EAX + 0x4c],0xffff00
JNZ 0x000ade6f
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00026b70
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x000ade84
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00089bd0
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
XOR ESI,ESI
TEST EDX,EDX
JZ 0x000ade9f
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00024d80
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0xc]
CMP byte ptr [EAX + 0x4d],0x0
JNZ 0x000ae04c
MOV EAX,ESI
TEST AL,AL
JNZ 0x000ae04c
MOV EAX,dword ptr [ESP + 0xc]
AND ECX,dword ptr [EAX + 0x40]
MOV ESI,ECX
TEST ESI,ESI
JZ 0x000aded0
MOV EDI,dword ptr [ESP + 0x1c]
TEST EDI,EDI
JNZ 0x000ae080
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JZ 0x000adede
MOV dword ptr [EAX],0x0
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX + 0xc]
CALL 0x000197f0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x2c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x000ae119
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x34]
CALL 0x0001bb40
XOR ECX,ECX
LEA EDX,[EAX*0x8 + 0x4]
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x1c]
CALL 0x00026bd0
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000ae0e7
TEST ESI,ESI
JLE 0x000ae0d2
MOV dword ptr [ESP + 0x18],EDI
MOV EDI,ESI
MOV ESI,dword ptr [ESP + 0x8]
XOR EBP,EBP
LEA ESI,[ESI]
NOP
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x34]
CALL 0x0003ac60
ADD ESP,0x10
MOV dword ptr [ESI + EBP*0x4],EAX
ADD EBP,0x1
CMP EDI,EBP
JNZ 0x000adf58
MOV ESI,EDI
MOV EDI,dword ptr [ESP + 0x18]
CMP EDI,0x64
JZ 0x000ae109
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x14]
PUSH EBP
PUSH dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x14]
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000add7a
MOV EAX,dword ptr [ESP + 0x28]
CALL 0x00089bd0
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,0x4
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [EAX + 0x3c],0x4
CALL 0x00027ae0
MOV EAX,dword ptr [ESP + 0x28]
MOV ECX,0x4
TEST EAX,EAX
JNZ 0x000ade77
JMP 0x000ade84
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + EDI*0x4]
MOV dword ptr [EAX],0x0
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x14]
PUSH ESI
PUSH dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x14]
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000adf9f
MOV EBP,0x1
JMP 0x000adde5
MOV ECX,EAX
CMP ECX,0xc0a
SETZ AL
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x000ade9f
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00089bd0
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0x4d],0x0
JZ 0x000adead
MOV EAX,dword ptr [ESP + 0xc]
CALL 0x000383b0
MOV ESI,EAX
JMP 0x000adec0
MOV EBP,dword ptr [ESP + 0x24]
CMP byte ptr [EBP],0x0
JNZ 0x000adcf2
MOV ECX,EAX
XOR ESI,ESI
JMP 0x000ade9f
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x00055cc0
MOV EDX,EAX
XOR EAX,EAX
CALL 0x00027060
ADD ESP,0x10
MOV dword ptr [EDI],EAX
TEST EAX,EAX
JNZ 0x000adede
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,0x7
MOV ESI,0x7
MOV dword ptr [EAX + 0x3c],0x7
CALL 0x00027ae0
JMP 0x000adede
MOV EAX,0x1cf92
CALL 0x00050c30
MOV ESI,EAX
JMP 0x000adef0
CMP EDI,0x64
JZ 0x000ae0f9
MOV EBP,ESI
JMP 0x000adf81
XOR ESI,ESI
XOR ECX,ECX
JMP 0x000ae025
CMP EDI,0xc0a
MOV ECX,EDI
SETZ AL
MOV ESI,EAX
JMP 0x000ae025
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + ESI*0x4]
MOV dword ptr [ESP + 0x10],EAX
JMP 0x000adfe7
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + ESI*0x4]
MOV dword ptr [ESP + 0x10],EAX
JMP 0x000ade0b
CALL 0x000f4bf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return uVar3;\n}\n\n" comment (function_definition "uint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" identifier (parameter_list "(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined4 *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xadc59;" (assignment_expression "uStack_14 = 0xadc59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_00055d90();" (assignment_expression "iVar2 = FUN_00055d90()" identifier = (call_expression "FUN_00055d90()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" { (expression_statement "uVar3 = FUN_00050c30();" (assignment_expression "uVar3 = FUN_00050c30()" identifier = (call_expression "FUN_00050c30()" identifier (argument_list "()" ( )))) ;) (goto_statement "goto LAB_000adef0;" goto statement_identifier ;) })) (if_statement "if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }" if (parenthesized_expression "(param_2 == (byte *)0x0)" ( (binary_expression "param_2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = &DAT_000f50ff;\n  }" { (expression_statement "param_2 = &DAT_000f50ff;" (assignment_expression "param_2 = &DAT_000f50ff" identifier = (pointer_expression "&DAT_000f50ff" & identifier)) ;) })) (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x108) != 0)" ( (binary_expression "*(int *)(param_1 + 0x108) != 0" (pointer_expression "*(int *)(param_1 + 0x108)" * (cast_expression "(int *)(param_1 + 0x108)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00027ae0();\n  }" { (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) })) (do_statement "do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);" do (compound_statement "{\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  }" { (if_statement "if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" { (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);" (assignment_expression "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" identifier = (call_expression "FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" identifier (argument_list "(param_1,param_2,0xffffffff,&local_24,&local_28)" ( identifier , identifier , number_literal , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (uVar3 != 0) goto LAB_000ae01a;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000ae01a;" goto statement_identifier ;)) (if_statement "if (local_24 != 0) break;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (if_statement "if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(*local_28 == 0)" ( (binary_expression "*local_28 == 0" (pointer_expression "*local_28" * identifier) == number_literal) )) (compound_statement "{\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" { (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) })) (expression_statement "local_3c = (undefined4 *)0x0;" (assignment_expression "local_3c = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" statement_identifier : (do_statement "do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" do (compound_statement "{\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "uVar3 = FUN_000accc0(local_24);" (assignment_expression "uVar3 = FUN_000accc0(local_24)" identifier = (call_expression "FUN_000accc0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (if_statement "if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(param_3 != (code *)0x0)" ( (binary_expression "param_3 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" { (if_statement "if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }" { (if_statement "if (!bVar8) goto LAB_000adf10;" if (parenthesized_expression "(!bVar8)" ( (unary_expression "!bVar8" ! identifier) )) (goto_statement "goto LAB_000adf10;" goto statement_identifier ;)) (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" identifier = identifier) ;) (if_statement "if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" { (labeled_statement "LAB_000ade0b:\n            iVar7 = 0;" statement_identifier : (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;)) (do_statement "do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);" do (compound_statement "{\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "iVar4 = FUN_0004d370(local_24,iVar7);" (assignment_expression "iVar4 = FUN_0004d370(local_24,iVar7)" identifier = (call_expression "FUN_0004d370(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) ;) (expression_statement "local_3c[iVar7] = iVar4;" (assignment_expression "local_3c[iVar7] = iVar4" (subscript_expression "local_3c[iVar7]" identifier [ identifier ]) = identifier) ;) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" if (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5))" ( (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" ( (comma_expression "iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5" (assignment_expression "iVar4 = FUN_00038670(local_24,iVar7)" identifier = (call_expression "FUN_00038670(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) , (binary_expression "iVar4 != 5" identifier != number_literal)) ))) )) (compound_statement "{\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" { (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }" if (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                  FUN_00026b70();\n                }" { (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar3 = 100;" (assignment_expression "uVar3 = 100" identifier = number_literal) ;) (goto_statement "goto joined_r0x000ade75;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) ;) (expression_statement "puVar6 = local_3c + iVar7;" (assignment_expression "puVar6 = local_3c + iVar7" identifier = (binary_expression "local_3c + iVar7" identifier + identifier)) ;) })) (labeled_statement "LAB_000adfe7:\n          *puVar6 = 0;" statement_identifier : (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;)) (expression_statement "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);" (assignment_expression "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44)" identifier = (call_expression "(*param_3)(param_4,iVar2,local_3c,local_44)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_4,iVar2,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n            bVar8 = true;\n            goto LAB_000add40;\n          }" { (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;) (goto_statement "goto LAB_000add40;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" else (compound_statement "{\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" { (if_statement "if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;" if (parenthesized_expression "(((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0))" ( (binary_expression "((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)" (parenthesized_expression "((uVar3 != 0x65) || (bVar8))" ( (binary_expression "(uVar3 != 0x65) || (bVar8)" (parenthesized_expression "(uVar3 != 0x65)" ( (binary_expression "uVar3 != 0x65" identifier != number_literal) )) || (parenthesized_expression "(bVar8)" ( identifier ))) )) || (parenthesized_expression "((*(byte *)(param_1 + 0x1d) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1d) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1d) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1d) & 1" (pointer_expression "*(byte *)(param_1 + 0x1d)" * (cast_expression "(byte *)(param_1 + 0x1d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);" statement_identifier : (expression_statement "iVar2 = FUN_0001bb40(local_24);" (assignment_expression "iVar2 = FUN_0001bb40(local_24)" identifier = (call_expression "FUN_0001bb40(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (expression_statement "local_44 = FUN_00026bd0();" (assignment_expression "local_44 = FUN_00026bd0()" identifier = (call_expression "FUN_00026bd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" if (parenthesized_expression "(local_44 == 0)" ( (binary_expression "local_44 == 0" identifier == number_literal) )) (compound_statement "{\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" { (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (if_statement "if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }" { (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" identifier = identifier) ;) (if_statement "if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" { (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" identifier = identifier) ;) (goto_statement "goto LAB_000adfe7;" goto statement_identifier ;) })) }) (else_clause "else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" else (compound_statement "{\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);" do (compound_statement "{\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "uVar5 = FUN_0003ac60(local_24,iVar7);" (assignment_expression "uVar5 = FUN_0003ac60(local_24,iVar7)" identifier = (call_expression "FUN_0003ac60(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5" (pointer_expression "*(undefined4 *)(local_44 + iVar7 * 4)" * (cast_expression "(undefined4 *)(local_44 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar7 * 4)" ( (binary_expression "local_44 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) )) ;) (if_statement "if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" { (expression_statement "local_3c = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "local_3c = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (goto_statement "goto LAB_000ade0b;" goto statement_identifier ;) })) }))) (expression_statement "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);" (assignment_expression "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44)" identifier = (call_expression "(*param_3)(param_4,iVar7,local_3c,local_44)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_4,iVar7,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "joined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }" statement_identifier : (if_statement "if (local_24 != 0) {\n          FUN_00089bd0();\n        }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_00089bd0();\n        }" { (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (local_44 != 0) {\n          FUN_00024d80();\n        }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_00024d80();\n        }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) }) while (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) ;)) (expression_statement "uVar3 = FUN_00089bd0();" (assignment_expression "uVar3 = FUN_00089bd0()" identifier = (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "bVar1 = (&DAT_00102800)[*local_28];" (assignment_expression "bVar1 = (&DAT_00102800)[*local_28]" identifier = (subscript_expression "(&DAT_00102800)[*local_28]" (parenthesized_expression "(&DAT_00102800)" ( (pointer_expression "&DAT_00102800" & identifier) )) [ (pointer_expression "*local_28" * identifier) ])) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (while_statement "while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" while (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (&DAT_00102800)[*param_2];" (assignment_expression "bVar1 = (&DAT_00102800)[*param_2]" identifier = (subscript_expression "(&DAT_00102800)[*param_2]" (parenthesized_expression "(&DAT_00102800)" ( (pointer_expression "&DAT_00102800" & identifier) )) [ (pointer_expression "*param_2" * identifier) ])) ;) })) (if_statement "if (local_44 != 0) {\n      FUN_00024d80();\n    }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00024d80();\n    }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;" statement_identifier : (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;)) (labeled_statement "LAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" statement_identifier : (if_statement "if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }" { (labeled_statement "LAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" if (parenthesized_expression "(*(char *)(param_1 + 0x4d) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x4d) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" * (cast_expression "(char *)(param_1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4d)" ( (binary_expression "param_1 + 0x4d" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (labeled_statement "LAB_000adead:\n    if (bVar8) goto LAB_000ae04c;" statement_identifier : (if_statement "if (bVar8) goto LAB_000ae04c;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (expression_statement "uVar3 = uVar3 & *(uint *)(param_1 + 0x40);" (assignment_expression "uVar3 = uVar3 & *(uint *)(param_1 + 0x40)" identifier = (binary_expression "uVar3 & *(uint *)(param_1 + 0x40)" identifier & (pointer_expression "*(uint *)(param_1 + 0x40)" * (cast_expression "(uint *)(param_1 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" else (compound_statement "{\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" { (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;" if (parenthesized_expression "(*(char *)(param_1 + 0x4d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x4d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" * (cast_expression "(char *)(param_1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4d)" ( (binary_expression "param_1 + 0x4d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000adead;" goto statement_identifier ;)) (labeled_statement "LAB_000ae04c:\n    uVar3 = FUN_000383b0();" statement_identifier : (expression_statement "uVar3 = FUN_000383b0();" (assignment_expression "uVar3 = FUN_000383b0()" identifier = (call_expression "FUN_000383b0()" identifier (argument_list "()" ( )))) ;)) })))) (if_statement "if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" if (parenthesized_expression "((uVar3 == 0) || (param_5 == (int *)0x0))" ( (binary_expression "(uVar3 == 0) || (param_5 == (int *)0x0)" (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_5 == (int *)0x0)" ( (binary_expression "param_5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }" { (if_statement "if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }" if (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_5 = 0;\n    }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) }) (else_clause "else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" else (compound_statement "{\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" { (expression_statement "FUN_00055cc0(param_1);" (call_expression "FUN_00055cc0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_00027060();" (assignment_expression "iVar2 = FUN_00027060()" identifier = (call_expression "FUN_00027060()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_5 = iVar2;" (assignment_expression "*param_5 = iVar2" (pointer_expression "*param_5" * identifier) = identifier) ;) (if_statement "if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) })) }))) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (labeled_statement "LAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }" { comment (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint sqlite3_exec(sqlite3 *db,char *zSql,sqlite3_callback xCallback,void *pArg,char **pzErrMsg)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  uchar *puVar4;\n  int iVar5;\n  char **ppcVar6;\n  char *pcVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  sqlite3_stmt *psVar10;\n  int in_stack_ffffffa8;\n  char **local_44;\n  char **local_3c;\n  char *zLeftover;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pStmt = (sqlite3_stmt *)0x0;\n  iVar2 = sqlite3SafetyCheckOk(db);\n  if (iVar2 == 0) {\n    uVar3 = sqlite3MisuseError(0x1cf92);\n    goto LAB_000adef0;\n  }\n  if (zSql == (char *)0x0) {\n    zSql = &DAT_000f50ff;\n  }\n  sqlite3_mutex_enter(db->mutex);\n  db->errCode = 0;\n  if (db->pErr != (sqlite3_value *)0x0) {\n    sqlite3ErrorFinish(db,0);\n  }\n  do {\n    if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (char **)0x0;\n    bVar9 = false;\n    local_44 = (char **)0x0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    bVar1 = ""[(byte)*zLeftover];\n    zSql = zLeftover;\n    while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }\n    if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar9 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (pStmt == (sqlite3_stmt *)0x0) {\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }\n  else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }\n  if ((uVar3 == 0) || (pzErrMsg == (char **)0x0)) {\n    if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }\n  }\n  else {\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }\n  sqlite3_mutex_leave(db->mutex);\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar3;\n}\n\n" comment (function_definition "int sqlite3_exec(sqlite3 *db,char *zSql,sqlite3_callback xCallback,void *pArg,char **pzErrMsg)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  uchar *puVar4;\n  int iVar5;\n  char **ppcVar6;\n  char *pcVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  sqlite3_stmt *psVar10;\n  int in_stack_ffffffa8;\n  char **local_44;\n  char **local_3c;\n  char *zLeftover;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pStmt = (sqlite3_stmt *)0x0;\n  iVar2 = sqlite3SafetyCheckOk(db);\n  if (iVar2 == 0) {\n    uVar3 = sqlite3MisuseError(0x1cf92);\n    goto LAB_000adef0;\n  }\n  if (zSql == (char *)0x0) {\n    zSql = &DAT_000f50ff;\n  }\n  sqlite3_mutex_enter(db->mutex);\n  db->errCode = 0;\n  if (db->pErr != (sqlite3_value *)0x0) {\n    sqlite3ErrorFinish(db,0);\n  }\n  do {\n    if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (char **)0x0;\n    bVar9 = false;\n    local_44 = (char **)0x0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    bVar1 = ""[(byte)*zLeftover];\n    zSql = zLeftover;\n    while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }\n    if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar9 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (pStmt == (sqlite3_stmt *)0x0) {\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }\n  else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }\n  if ((uVar3 == 0) || (pzErrMsg == (char **)0x0)) {\n    if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }\n  }\n  else {\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }\n  sqlite3_mutex_leave(db->mutex);\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar3;\n}" primitive_type (function_declarator "sqlite3_exec(sqlite3 *db,char *zSql,sqlite3_callback xCallback,void *pArg,char **pzErrMsg)" identifier (parameter_list "(sqlite3 *db,char *zSql,sqlite3_callback xCallback,void *pArg,char **pzErrMsg)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zSql" primitive_type (pointer_declarator "*zSql" * identifier)) , (parameter_declaration "sqlite3_callback xCallback" type_identifier identifier) , (parameter_declaration "void *pArg" primitive_type (pointer_declarator "*pArg" * identifier)) , (parameter_declaration "char **pzErrMsg" primitive_type (pointer_declarator "**pzErrMsg" * (pointer_declarator "*pzErrMsg" * identifier))) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  uchar *puVar4;\n  int iVar5;\n  char **ppcVar6;\n  char *pcVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  sqlite3_stmt *psVar10;\n  int in_stack_ffffffa8;\n  char **local_44;\n  char **local_3c;\n  char *zLeftover;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pStmt = (sqlite3_stmt *)0x0;\n  iVar2 = sqlite3SafetyCheckOk(db);\n  if (iVar2 == 0) {\n    uVar3 = sqlite3MisuseError(0x1cf92);\n    goto LAB_000adef0;\n  }\n  if (zSql == (char *)0x0) {\n    zSql = &DAT_000f50ff;\n  }\n  sqlite3_mutex_enter(db->mutex);\n  db->errCode = 0;\n  if (db->pErr != (sqlite3_value *)0x0) {\n    sqlite3ErrorFinish(db,0);\n  }\n  do {\n    if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (char **)0x0;\n    bVar9 = false;\n    local_44 = (char **)0x0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    bVar1 = ""[(byte)*zLeftover];\n    zSql = zLeftover;\n    while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }\n    if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar9 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (pStmt == (sqlite3_stmt *)0x0) {\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }\n  else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }\n  if ((uVar3 == 0) || (pzErrMsg == (char **)0x0)) {\n    if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }\n  }\n  else {\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }\n  sqlite3_mutex_leave(db->mutex);\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return uVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char **ppcVar6;" primitive_type (pointer_declarator "**ppcVar6" * (pointer_declarator "*ppcVar6" * identifier)) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "sqlite3_stmt *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "int in_stack_ffffffa8;" primitive_type identifier ;) (declaration "char **local_44;" primitive_type (pointer_declarator "**local_44" * (pointer_declarator "*local_44" * identifier)) ;) (declaration "char **local_3c;" primitive_type (pointer_declarator "**local_3c" * (pointer_declarator "*local_3c" * identifier)) ;) (declaration "char *zLeftover;" primitive_type (pointer_declarator "*zLeftover" * identifier) ;) (declaration "sqlite3_stmt *pStmt;" type_identifier (pointer_declarator "*pStmt" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xadc59;" (assignment_expression "uStack_14 = 0xadc59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = sqlite3SafetyCheckOk(db);" (assignment_expression "iVar2 = sqlite3SafetyCheckOk(db)" identifier = (call_expression "sqlite3SafetyCheckOk(db)" identifier (argument_list "(db)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar3 = sqlite3MisuseError(0x1cf92);\n    goto LAB_000adef0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = sqlite3MisuseError(0x1cf92);\n    goto LAB_000adef0;\n  }" { (expression_statement "uVar3 = sqlite3MisuseError(0x1cf92);" (assignment_expression "uVar3 = sqlite3MisuseError(0x1cf92)" identifier = (call_expression "sqlite3MisuseError(0x1cf92)" identifier (argument_list "(0x1cf92)" ( number_literal )))) ;) (goto_statement "goto LAB_000adef0;" goto statement_identifier ;) })) (if_statement "if (zSql == (char *)0x0) {\n    zSql = &DAT_000f50ff;\n  }" if (parenthesized_expression "(zSql == (char *)0x0)" ( (binary_expression "zSql == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    zSql = &DAT_000f50ff;\n  }" { (expression_statement "zSql = &DAT_000f50ff;" (assignment_expression "zSql = &DAT_000f50ff" identifier = (pointer_expression "&DAT_000f50ff" & identifier)) ;) })) (expression_statement "sqlite3_mutex_enter(db->mutex);" (call_expression "sqlite3_mutex_enter(db->mutex)" identifier (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;) (expression_statement "db->errCode = 0;" (assignment_expression "db->errCode = 0" (field_expression "db->errCode" identifier -> field_identifier) = number_literal) ;) (if_statement "if (db->pErr != (sqlite3_value *)0x0) {\n    sqlite3ErrorFinish(db,0);\n  }" if (parenthesized_expression "(db->pErr != (sqlite3_value *)0x0)" ( (binary_expression "db->pErr != (sqlite3_value *)0x0" (field_expression "db->pErr" identifier -> field_identifier) != (cast_expression "(sqlite3_value *)0x0" ( (type_descriptor "sqlite3_value *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ErrorFinish(db,0);\n  }" { (expression_statement "sqlite3ErrorFinish(db,0);" (call_expression "sqlite3ErrorFinish(db,0)" identifier (argument_list "(db,0)" ( identifier , number_literal ))) ;) })) (do_statement "do {\n    if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (char **)0x0;\n    bVar9 = false;\n    local_44 = (char **)0x0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    bVar1 = ""[(byte)*zLeftover];\n    zSql = zLeftover;\n    while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }\n    if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }\n  } while (uVar3 == 0);" do (compound_statement "{\n    if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (char **)0x0;\n    bVar9 = false;\n    local_44 = (char **)0x0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    bVar1 = ""[(byte)*zLeftover];\n    zSql = zLeftover;\n    while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }\n    if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }\n  }" { (if_statement "if (*zSql == 0) {\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" if (parenthesized_expression "(*zSql == 0)" ( (binary_expression "*zSql == 0" (pointer_expression "*zSql" * identifier) == number_literal) )) (compound_statement "{\n      bVar9 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" { (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pStmt = (sqlite3_stmt *)0x0;\n      uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (pStmt != (sqlite3_stmt *)0x0) break;\n      zSql = zLeftover;\n      if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover);" (assignment_expression "uVar3 = sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover)" identifier = (call_expression "sqlite3_prepare_v2(db,zSql,-1,&pStmt,&zLeftover)" identifier (argument_list "(db,zSql,-1,&pStmt,&zLeftover)" ( identifier , identifier , number_literal , (pointer_expression "&pStmt" & identifier) , (pointer_expression "&zLeftover" & identifier) )))) ;) (if_statement "if (uVar3 != 0) goto LAB_000ae01a;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000ae01a;" goto statement_identifier ;)) (if_statement "if (pStmt != (sqlite3_stmt *)0x0) break;" if (parenthesized_expression "(pStmt != (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt != (sqlite3_stmt *)0x0" identifier != (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "zSql = zLeftover;" (assignment_expression "zSql = zLeftover" identifier = identifier) ;) (if_statement "if (*zLeftover == '\0') {\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(*zLeftover == '\0')" ( (binary_expression "*zLeftover == '\0'" (pointer_expression "*zLeftover" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        bVar9 = false;\n        goto LAB_000ade9f;\n      }" { (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) })) (expression_statement "local_3c = (char **)0x0;" (assignment_expression "local_3c = (char **)0x0" identifier = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "local_44 = (char **)0x0;" (assignment_expression "local_44 = (char **)0x0" identifier = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000add40:\n    do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" statement_identifier : (do_statement "do {\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" do (compound_statement "{\n      uVar3 = sqlite3_step(pStmt);\n      if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "uVar3 = sqlite3_step(pStmt);" (assignment_expression "uVar3 = sqlite3_step(pStmt)" identifier = (call_expression "sqlite3_step(pStmt)" identifier (argument_list "(pStmt)" ( identifier )))) ;) (if_statement "if (xCallback != (sqlite3_callback)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(xCallback != (sqlite3_callback)0x0)" ( (binary_expression "xCallback != (sqlite3_callback)0x0" identifier != (cast_expression "(sqlite3_callback)0x0" ( (type_descriptor "sqlite3_callback" type_identifier) ) number_literal)) )) (compound_statement "{\n        if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        sqlite3VdbeFinalize((Vdbe *)pStmt);\n        pStmt = (sqlite3_stmt *)0x0;\n        db->errCode = 4;\n        sqlite3ErrorFinish(db,4);\n        uVar3 = 4;\njoined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }\n        bVar9 = false;\n        if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }\n        goto LAB_000ade9f;\n      }" { (if_statement "if (uVar3 == 100) {\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n          if (!bVar9) goto LAB_000adf10;\n          ppcVar6 = local_44 + iVar2;\n          local_3c = ppcVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }\nLAB_000adfe7:\n          *ppcVar6 = (char *)0x0;\n          in_stack_ffffffa8 = iVar2;\n          iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);\n          if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }\n        }" { (if_statement "if (!bVar9) goto LAB_000adf10;" if (parenthesized_expression "(!bVar9)" ( (unary_expression "!bVar9" ! identifier) )) (goto_statement "goto LAB_000adf10;" goto statement_identifier ;)) (expression_statement "ppcVar6 = local_44 + iVar2;" (assignment_expression "ppcVar6 = local_44 + iVar2" identifier = (binary_expression "local_44 + iVar2" identifier + identifier)) ;) (expression_statement "local_3c = ppcVar6;" (assignment_expression "local_3c = ppcVar6" identifier = identifier) ;) (if_statement "if (0 < iVar2) {\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\nLAB_000ade0b:\n            iVar8 = 0;\n            do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);\n            ppcVar6 = local_3c + iVar8;\n          }" { (labeled_statement "LAB_000ade0b:\n            iVar8 = 0;" statement_identifier : (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;)) (do_statement "do {\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            } while (iVar8 < iVar2);" do (compound_statement "{\n              puVar4 = sqlite3_column_text(pStmt,iVar8);\n              local_3c[iVar8] = (char *)puVar4;\n              if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar8 = iVar8 + 1;\n            }" { (expression_statement "puVar4 = sqlite3_column_text(pStmt,iVar8);" (assignment_expression "puVar4 = sqlite3_column_text(pStmt,iVar8)" identifier = (call_expression "sqlite3_column_text(pStmt,iVar8)" identifier (argument_list "(pStmt,iVar8)" ( identifier , identifier )))) ;) (expression_statement "local_3c[iVar8] = (char *)puVar4;" (assignment_expression "local_3c[iVar8] = (char *)puVar4" (subscript_expression "local_3c[iVar8]" identifier [ identifier ]) = (cast_expression "(char *)puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 ) {\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" if (parenthesized_expression "((puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)\n                 )" ( (binary_expression "(puVar4 == (uchar *)0x0) && (iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)" (parenthesized_expression "(puVar4 == (uchar *)0x0)" ( (binary_expression "puVar4 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5)" ( (comma_expression "iVar5 = sqlite3_column_type(pStmt,iVar8), iVar5 != 5" (assignment_expression "iVar5 = sqlite3_column_type(pStmt,iVar8)" identifier = (call_expression "sqlite3_column_type(pStmt,iVar8)" identifier (argument_list "(pStmt,iVar8)" ( identifier , identifier )))) , (binary_expression "iVar5 != 5" identifier != number_literal)) ))) )) (compound_statement "{\n                uVar3._0_1_ = db->temp_store;\n                uVar3._1_1_ = db->mallocFailed;\n                uVar3._2_1_ = db->bBenignMalloc;\n                uVar3._3_1_ = db->dfltLockMode;\n                if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" { (expression_statement "uVar3._0_1_ = db->temp_store;" (assignment_expression "uVar3._0_1_ = db->temp_store" (field_expression "uVar3._0_1_" identifier . field_identifier) = (field_expression "db->temp_store" identifier -> field_identifier)) ;) (expression_statement "uVar3._1_1_ = db->mallocFailed;" (assignment_expression "uVar3._1_1_ = db->mallocFailed" (field_expression "uVar3._1_1_" identifier . field_identifier) = (field_expression "db->mallocFailed" identifier -> field_identifier)) ;) (expression_statement "uVar3._2_1_ = db->bBenignMalloc;" (assignment_expression "uVar3._2_1_ = db->bBenignMalloc" (field_expression "uVar3._2_1_" identifier . field_identifier) = (field_expression "db->bBenignMalloc" identifier -> field_identifier)) ;) (expression_statement "uVar3._3_1_ = db->dfltLockMode;" (assignment_expression "uVar3._3_1_ = db->dfltLockMode" (field_expression "uVar3._3_1_" identifier . field_identifier) = (field_expression "db->dfltLockMode" identifier -> field_identifier)) ;) (if_statement "if ((uVar3 & 0xffff00) == 0) {\n                  sqlite3OomFault(db);\n                }" if (parenthesized_expression "((uVar3 & 0xffff00) == 0)" ( (binary_expression "(uVar3 & 0xffff00) == 0" (parenthesized_expression "(uVar3 & 0xffff00)" ( (binary_expression "uVar3 & 0xffff00" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                  sqlite3OomFault(db);\n                }" { (expression_statement "sqlite3OomFault(db);" (call_expression "sqlite3OomFault(db)" identifier (argument_list "(db)" ( identifier ))) ;) })) (expression_statement "uVar3 = 100;" (assignment_expression "uVar3 = 100" identifier = number_literal) ;) (goto_statement "goto joined_r0x000ade75;" goto statement_identifier ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < iVar2)" ( (binary_expression "iVar8 < iVar2" identifier < identifier) )) ;) (expression_statement "ppcVar6 = local_3c + iVar8;" (assignment_expression "ppcVar6 = local_3c + iVar8" identifier = (binary_expression "local_3c + iVar8" identifier + identifier)) ;) })) (labeled_statement "LAB_000adfe7:\n          *ppcVar6 = (char *)0x0;" statement_identifier : (expression_statement "*ppcVar6 = (char *)0x0;" (assignment_expression "*ppcVar6 = (char *)0x0" (pointer_expression "*ppcVar6" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "in_stack_ffffffa8 = iVar2;" (assignment_expression "in_stack_ffffffa8 = iVar2" identifier = identifier) ;) (expression_statement "iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44);" (assignment_expression "iVar8 = (*xCallback)(pArg,iVar2,local_3c,local_44)" identifier = (call_expression "(*xCallback)(pArg,iVar2,local_3c,local_44)" (parenthesized_expression "(*xCallback)" ( (pointer_expression "*xCallback" * identifier) )) (argument_list "(pArg,iVar2,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            bVar9 = true;\n            goto LAB_000add40;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            bVar9 = true;\n            goto LAB_000add40;\n          }" { (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) (goto_statement "goto LAB_000add40;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" else (compound_statement "{\n          if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;\nLAB_000adf10:\n          psVar10 = pStmt;\n          iVar2 = sqlite3_column_count(pStmt);\n          local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));\n          if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" { (if_statement "if (((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;" if (parenthesized_expression "(((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0))" ( (binary_expression "((uVar3 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)" (parenthesized_expression "((uVar3 != 0x65) || (bVar9))" ( (binary_expression "(uVar3 != 0x65) || (bVar9)" (parenthesized_expression "(uVar3 != 0x65)" ( (binary_expression "uVar3 != 0x65" identifier != number_literal) )) || (parenthesized_expression "(bVar9)" ( identifier ))) )) || (parenthesized_expression "((db->flags & 0x100) == 0)" ( (binary_expression "(db->flags & 0x100) == 0" (parenthesized_expression "(db->flags & 0x100)" ( (binary_expression "db->flags & 0x100" (field_expression "db->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_000adf10:\n          psVar10 = pStmt;" statement_identifier : (expression_statement "psVar10 = pStmt;" (assignment_expression "psVar10 = pStmt" identifier = identifier) ;)) (expression_statement "iVar2 = sqlite3_column_count(pStmt);" (assignment_expression "iVar2 = sqlite3_column_count(pStmt)" identifier = (call_expression "sqlite3_column_count(pStmt)" identifier (argument_list "(pStmt)" ( identifier )))) ;) (expression_statement "local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10));" (assignment_expression "local_44 = (char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10))" identifier = (cast_expression "(char **)sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10))" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "sqlite3DbMallocRaw(db,CONCAT44(in_stack_ffffffa8,psVar10))" identifier (argument_list "(db,CONCAT44(in_stack_ffffffa8,psVar10))" ( identifier , (call_expression "CONCAT44(in_stack_ffffffa8,psVar10)" identifier (argument_list "(in_stack_ffffffa8,psVar10)" ( identifier , identifier ))) ))))) ;) (if_statement "if (local_44 == (char **)0x0) {\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" if (parenthesized_expression "(local_44 == (char **)0x0)" ( (binary_expression "local_44 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n            bVar9 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" { (expression_statement "bVar9 = uVar3 == 0xc0a;" (assignment_expression "bVar9 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (if_statement "if (iVar2 < 1) {\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n            in_stack_ffffffa8 = iVar2;\n            if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }\n          }" { (expression_statement "in_stack_ffffffa8 = iVar2;" (assignment_expression "in_stack_ffffffa8 = iVar2" identifier = identifier) ;) (if_statement "if (uVar3 == 100) {\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              ppcVar6 = local_44 + iVar2;\n              local_3c = ppcVar6;\n              goto LAB_000adfe7;\n            }" { (expression_statement "ppcVar6 = local_44 + iVar2;" (assignment_expression "ppcVar6 = local_44 + iVar2" identifier = (binary_expression "local_44 + iVar2" identifier + identifier)) ;) (expression_statement "local_3c = ppcVar6;" (assignment_expression "local_3c = ppcVar6" identifier = identifier) ;) (goto_statement "goto LAB_000adfe7;" goto statement_identifier ;) })) }) (else_clause "else {\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }" else (compound_statement "{\n            in_stack_ffffffa8 = 0;\n            do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);\n            if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }\n          }" { (expression_statement "in_stack_ffffffa8 = 0;" (assignment_expression "in_stack_ffffffa8 = 0" identifier = number_literal) ;) (do_statement "do {\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            } while (iVar2 != in_stack_ffffffa8);" do (compound_statement "{\n              pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);\n              local_44[in_stack_ffffffa8] = pcVar7;\n              in_stack_ffffffa8 = in_stack_ffffffa8 + 1;\n            }" { (expression_statement "pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8);" (assignment_expression "pcVar7 = sqlite3_column_name(pStmt,in_stack_ffffffa8)" identifier = (call_expression "sqlite3_column_name(pStmt,in_stack_ffffffa8)" identifier (argument_list "(pStmt,in_stack_ffffffa8)" ( identifier , identifier )))) ;) (expression_statement "local_44[in_stack_ffffffa8] = pcVar7;" (assignment_expression "local_44[in_stack_ffffffa8] = pcVar7" (subscript_expression "local_44[in_stack_ffffffa8]" identifier [ identifier ]) = identifier) ;) (expression_statement "in_stack_ffffffa8 = in_stack_ffffffa8 + 1;" (assignment_expression "in_stack_ffffffa8 = in_stack_ffffffa8 + 1" identifier = (binary_expression "in_stack_ffffffa8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != in_stack_ffffffa8)" ( (binary_expression "iVar2 != in_stack_ffffffa8" identifier != identifier) )) ;) (if_statement "if (uVar3 == 100) {\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              local_3c = local_44 + iVar2;\n              goto LAB_000ade0b;\n            }" { (expression_statement "local_3c = local_44 + iVar2;" (assignment_expression "local_3c = local_44 + iVar2" identifier = (binary_expression "local_44 + iVar2" identifier + identifier)) ;) (goto_statement "goto LAB_000ade0b;" goto statement_identifier ;) })) }))) (expression_statement "iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44);" (assignment_expression "iVar2 = (*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44)" identifier = (call_expression "(*xCallback)(pArg,in_stack_ffffffa8,local_3c,local_44)" (parenthesized_expression "(*xCallback)" ( (pointer_expression "*xCallback" * identifier) )) (argument_list "(pArg,in_stack_ffffffa8,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "sqlite3VdbeFinalize((Vdbe *)pStmt);" (call_expression "sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier (argument_list "((Vdbe *)pStmt)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "db->errCode = 4;" (assignment_expression "db->errCode = 4" (field_expression "db->errCode" identifier -> field_identifier) = number_literal) ;) (expression_statement "sqlite3ErrorFinish(db,4);" (call_expression "sqlite3ErrorFinish(db,4)" identifier (argument_list "(db,4)" ( identifier , number_literal ))) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "joined_r0x000ade75:\n        if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }" statement_identifier : (if_statement "if ((Vdbe *)pStmt != (Vdbe *)0x0) {\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }" if (parenthesized_expression "((Vdbe *)pStmt != (Vdbe *)0x0)" ( (binary_expression "(Vdbe *)pStmt != (Vdbe *)0x0" (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sqlite3VdbeFinalize((Vdbe *)pStmt);\n        }" { (expression_statement "sqlite3VdbeFinalize((Vdbe *)pStmt);" (call_expression "sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier (argument_list "((Vdbe *)pStmt)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) }))) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (if_statement "if (local_44 != (char **)0x0) {\n          sqlite3DbFreeNN(db,local_44);\n        }" if (parenthesized_expression "(local_44 != (char **)0x0)" ( (binary_expression "local_44 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n          sqlite3DbFreeNN(db,local_44);\n        }" { (expression_statement "sqlite3DbFreeNN(db,local_44);" (call_expression "sqlite3DbFreeNN(db,local_44)" identifier (argument_list "(db,local_44)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) }) while (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) ;)) (expression_statement "uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt);" (assignment_expression "uVar3 = sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier = (call_expression "sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier (argument_list "((Vdbe *)pStmt)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar1 = ""[(byte)*zLeftover];" (assignment_expression "bVar1 = ""[(byte)*zLeftover]" identifier = (subscript_expression """[(byte)*zLeftover]" (string_literal """" " ") [ (binary_expression "(byte)*zLeftover" (parenthesized_expression "(byte)" ( identifier )) * identifier) ])) ;) (expression_statement "zSql = zLeftover;" (assignment_expression "zSql = zLeftover" identifier = identifier) ;) (while_statement "while ((bVar1 & 1) != 0) {\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }" while (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      zSql = (char *)((byte *)zSql + 1);\n      bVar1 = ""[(byte)*zSql];\n    }" { (expression_statement "zSql = (char *)((byte *)zSql + 1);" (assignment_expression "zSql = (char *)((byte *)zSql + 1)" identifier = (cast_expression "(char *)((byte *)zSql + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)zSql + 1)" ( (binary_expression "(byte *)zSql + 1" (cast_expression "(byte *)zSql" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = ""[(byte)*zSql];" (assignment_expression "bVar1 = ""[(byte)*zSql]" identifier = (subscript_expression """[(byte)*zSql]" (string_literal """" " ") [ (binary_expression "(byte)*zSql" (parenthesized_expression "(byte)" ( identifier )) * identifier) ])) ;) })) (if_statement "if (local_44 != (char **)0x0) {\n      sqlite3DbFreeNN(db,local_44);\n    }" if (parenthesized_expression "(local_44 != (char **)0x0)" ( (binary_expression "local_44 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      sqlite3DbFreeNN(db,local_44);\n    }" { (expression_statement "sqlite3DbFreeNN(db,local_44);" (call_expression "sqlite3DbFreeNN(db,local_44)" identifier (argument_list "(db,local_44)" ( identifier , identifier ))) ;) })) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000ae01a:\n  bVar9 = uVar3 == 0xc0a;" statement_identifier : (expression_statement "bVar9 = uVar3 == 0xc0a;" (assignment_expression "bVar9 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;)) (labeled_statement "LAB_000ae025:\n  if (pStmt == (sqlite3_stmt *)0x0) {\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }\n  else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }" statement_identifier : (if_statement "if (pStmt == (sqlite3_stmt *)0x0) {\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }\n  else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }" if (parenthesized_expression "(pStmt == (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt == (sqlite3_stmt *)0x0" identifier == (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar9) goto LAB_000ae04c;\n    uVar3 = uVar3 & db->errMask;\n  }" { (labeled_statement "LAB_000ade9f:\n    if (db->mallocFailed != '\0') goto LAB_000ae04c;" statement_identifier : (if_statement "if (db->mallocFailed != '\0') goto LAB_000ae04c;" if (parenthesized_expression "(db->mallocFailed != '\0')" ( (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (labeled_statement "LAB_000adead:\n    if (bVar9) goto LAB_000ae04c;" statement_identifier : (if_statement "if (bVar9) goto LAB_000ae04c;" if (parenthesized_expression "(bVar9)" ( identifier )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (expression_statement "uVar3 = uVar3 & db->errMask;" (assignment_expression "uVar3 = uVar3 & db->errMask" identifier = (binary_expression "uVar3 & db->errMask" identifier & (field_expression "db->errMask" identifier -> field_identifier))) ;) }) (else_clause "else {\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }" else (compound_statement "{\n    sqlite3VdbeFinalize((Vdbe *)pStmt);\n    if (db->mallocFailed == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = apiOomError(db);\n  }" { (expression_statement "sqlite3VdbeFinalize((Vdbe *)pStmt);" (call_expression "sqlite3VdbeFinalize((Vdbe *)pStmt)" identifier (argument_list "((Vdbe *)pStmt)" ( (cast_expression "(Vdbe *)pStmt" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (db->mallocFailed == '\0') goto LAB_000adead;" if (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000adead;" goto statement_identifier ;)) (labeled_statement "LAB_000ae04c:\n    uVar3 = apiOomError(db);" statement_identifier : (expression_statement "uVar3 = apiOomError(db);" (assignment_expression "uVar3 = apiOomError(db)" identifier = (call_expression "apiOomError(db)" identifier (argument_list "(db)" ( identifier )))) ;)) })))) (if_statement "if ((uVar3 == 0) || (pzErrMsg == (char **)0x0)) {\n    if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }\n  }\n  else {\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }" if (parenthesized_expression "((uVar3 == 0) || (pzErrMsg == (char **)0x0))" ( (binary_expression "(uVar3 == 0) || (pzErrMsg == (char **)0x0)" (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(pzErrMsg == (char **)0x0)" ( (binary_expression "pzErrMsg == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) (compound_statement "{\n    if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }\n  }" { (if_statement "if (pzErrMsg != (char **)0x0) {\n      *pzErrMsg = (char *)0x0;\n    }" if (parenthesized_expression "(pzErrMsg != (char **)0x0)" ( (binary_expression "pzErrMsg != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      *pzErrMsg = (char *)0x0;\n    }" { (expression_statement "*pzErrMsg = (char *)0x0;" (assignment_expression "*pzErrMsg = (char *)0x0" (pointer_expression "*pzErrMsg" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }) (else_clause "else {\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }" else (compound_statement "{\n    pcVar7 = sqlite3_errmsg(db);\n    pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);\n    *pzErrMsg = pcVar7;\n    if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }\n  }" { (expression_statement "pcVar7 = sqlite3_errmsg(db);" (assignment_expression "pcVar7 = sqlite3_errmsg(db)" identifier = (call_expression "sqlite3_errmsg(db)" identifier (argument_list "(db)" ( identifier )))) ;) (expression_statement "pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7);" (assignment_expression "pcVar7 = sqlite3DbStrDup((sqlite3 *)0x0,pcVar7)" identifier = (call_expression "sqlite3DbStrDup((sqlite3 *)0x0,pcVar7)" identifier (argument_list "((sqlite3 *)0x0,pcVar7)" ( (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (expression_statement "*pzErrMsg = pcVar7;" (assignment_expression "*pzErrMsg = pcVar7" (pointer_expression "*pzErrMsg" * identifier) = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar3 = 7;\n      db->errCode = 7;\n      sqlite3ErrorFinish(db,7);\n    }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (expression_statement "db->errCode = 7;" (assignment_expression "db->errCode = 7" (field_expression "db->errCode" identifier -> field_identifier) = number_literal) ;) (expression_statement "sqlite3ErrorFinish(db,7);" (call_expression "sqlite3ErrorFinish(db,7)" identifier (argument_list "(db,7)" ( identifier , number_literal ))) ;) })) }))) (expression_statement "sqlite3_mutex_leave(db->mutex);" (call_expression "sqlite3_mutex_leave(db->mutex)" identifier (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;) (labeled_statement "LAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" identifier (parameter_list "(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined4 *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xadc59;" (assignment_expression "uStack_14 = 0xadc59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_00055d90();" (assignment_expression "iVar2 = FUN_00055d90()" identifier = (call_expression "FUN_00055d90()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" { (expression_statement "uVar3 = FUN_00050c30();" (assignment_expression "uVar3 = FUN_00050c30()" identifier = (call_expression "FUN_00050c30()" identifier (argument_list "()" ( )))) ;) (goto_statement "goto LAB_000adef0;" goto statement_identifier ;) })) (if_statement "if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }" if (parenthesized_expression "(param_2 == (byte *)0x0)" ( (binary_expression "param_2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = &DAT_000f50ff;\n  }" { (expression_statement "param_2 = &DAT_000f50ff;" (assignment_expression "param_2 = &DAT_000f50ff" identifier = (pointer_expression "&DAT_000f50ff" & identifier)) ;) })) (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x108) != 0)" ( (binary_expression "*(int *)(param_1 + 0x108) != 0" (pointer_expression "*(int *)(param_1 + 0x108)" * (cast_expression "(int *)(param_1 + 0x108)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00027ae0();\n  }" { (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) })) (do_statement "do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);" do (compound_statement "{\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  }" { (if_statement "if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" { (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);" (assignment_expression "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" identifier = (call_expression "FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" identifier (argument_list "(param_1,param_2,0xffffffff,&local_24,&local_28)" ( identifier , identifier , number_literal , (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (uVar3 != 0) goto LAB_000ae01a;" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000ae01a;" goto statement_identifier ;)) (if_statement "if (local_24 != 0) break;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (if_statement "if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(*local_28 == 0)" ( (binary_expression "*local_28 == 0" (pointer_expression "*local_28" * identifier) == number_literal) )) (compound_statement "{\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" { (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) })) (expression_statement "local_3c = (undefined4 *)0x0;" (assignment_expression "local_3c = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" statement_identifier : (do_statement "do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" do (compound_statement "{\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    }" { (expression_statement "uVar3 = FUN_000accc0(local_24);" (assignment_expression "uVar3 = FUN_000accc0(local_24)" identifier = (call_expression "FUN_000accc0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (if_statement "if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" if (parenthesized_expression "(param_3 != (code *)0x0)" ( (binary_expression "param_3 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" { (if_statement "if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }" { (if_statement "if (!bVar8) goto LAB_000adf10;" if (parenthesized_expression "(!bVar8)" ( (unary_expression "!bVar8" ! identifier) )) (goto_statement "goto LAB_000adf10;" goto statement_identifier ;)) (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" identifier = identifier) ;) (if_statement "if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" { (labeled_statement "LAB_000ade0b:\n            iVar7 = 0;" statement_identifier : (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;)) (do_statement "do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);" do (compound_statement "{\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "iVar4 = FUN_0004d370(local_24,iVar7);" (assignment_expression "iVar4 = FUN_0004d370(local_24,iVar7)" identifier = (call_expression "FUN_0004d370(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) ;) (expression_statement "local_3c[iVar7] = iVar4;" (assignment_expression "local_3c[iVar7] = iVar4" (subscript_expression "local_3c[iVar7]" identifier [ identifier ]) = identifier) ;) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" if (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5))" ( (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" ( (comma_expression "iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5" (assignment_expression "iVar4 = FUN_00038670(local_24,iVar7)" identifier = (call_expression "FUN_00038670(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) , (binary_expression "iVar4 != 5" identifier != number_literal)) ))) )) (compound_statement "{\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" { (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }" if (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                  FUN_00026b70();\n                }" { (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar3 = 100;" (assignment_expression "uVar3 = 100" identifier = number_literal) ;) (goto_statement "goto joined_r0x000ade75;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) ;) (expression_statement "puVar6 = local_3c + iVar7;" (assignment_expression "puVar6 = local_3c + iVar7" identifier = (binary_expression "local_3c + iVar7" identifier + identifier)) ;) })) (labeled_statement "LAB_000adfe7:\n          *puVar6 = 0;" statement_identifier : (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;)) (expression_statement "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);" (assignment_expression "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44)" identifier = (call_expression "(*param_3)(param_4,iVar2,local_3c,local_44)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_4,iVar2,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n            bVar8 = true;\n            goto LAB_000add40;\n          }" { (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;) (goto_statement "goto LAB_000add40;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" else (compound_statement "{\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" { (if_statement "if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;" if (parenthesized_expression "(((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0))" ( (binary_expression "((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)" (parenthesized_expression "((uVar3 != 0x65) || (bVar8))" ( (binary_expression "(uVar3 != 0x65) || (bVar8)" (parenthesized_expression "(uVar3 != 0x65)" ( (binary_expression "uVar3 != 0x65" identifier != number_literal) )) || (parenthesized_expression "(bVar8)" ( identifier ))) )) || (parenthesized_expression "((*(byte *)(param_1 + 0x1d) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1d) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1d) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1d) & 1" (pointer_expression "*(byte *)(param_1 + 0x1d)" * (cast_expression "(byte *)(param_1 + 0x1d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);" statement_identifier : (expression_statement "iVar2 = FUN_0001bb40(local_24);" (assignment_expression "iVar2 = FUN_0001bb40(local_24)" identifier = (call_expression "FUN_0001bb40(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (expression_statement "local_44 = FUN_00026bd0();" (assignment_expression "local_44 = FUN_00026bd0()" identifier = (call_expression "FUN_00026bd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" if (parenthesized_expression "(local_44 == 0)" ( (binary_expression "local_44 == 0" identifier == number_literal) )) (compound_statement "{\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" { (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;) (goto_statement "goto LAB_000ae025;" goto statement_identifier ;) })) (if_statement "if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }" { (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" identifier = identifier) ;) (if_statement "if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" { (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" identifier = identifier) ;) (goto_statement "goto LAB_000adfe7;" goto statement_identifier ;) })) }) (else_clause "else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" else (compound_statement "{\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);" do (compound_statement "{\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "uVar5 = FUN_0003ac60(local_24,iVar7);" (assignment_expression "uVar5 = FUN_0003ac60(local_24,iVar7)" identifier = (call_expression "FUN_0003ac60(local_24,iVar7)" identifier (argument_list "(local_24,iVar7)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5" (pointer_expression "*(undefined4 *)(local_44 + iVar7 * 4)" * (cast_expression "(undefined4 *)(local_44 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar7 * 4)" ( (binary_expression "local_44 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) )) ;) (if_statement "if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" if (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) (compound_statement "{\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" { (expression_statement "local_3c = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "local_3c = (undefined4 *)(local_44 + iVar2 * 4)" identifier = (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + iVar2 * 4)" ( (binary_expression "local_44 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (goto_statement "goto LAB_000ade0b;" goto statement_identifier ;) })) }))) (expression_statement "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);" (assignment_expression "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44)" identifier = (call_expression "(*param_3)(param_4,iVar7,local_3c,local_44)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_4,iVar7,local_3c,local_44)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "joined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }" statement_identifier : (if_statement "if (local_24 != 0) {\n          FUN_00089bd0();\n        }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_00089bd0();\n        }" { (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (local_44 != 0) {\n          FUN_00024d80();\n        }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_00024d80();\n        }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_000ade9f;" goto statement_identifier ;) })) }) while (parenthesized_expression "(uVar3 == 100)" ( (binary_expression "uVar3 == 100" identifier == number_literal) )) ;)) (expression_statement "uVar3 = FUN_00089bd0();" (assignment_expression "uVar3 = FUN_00089bd0()" identifier = (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "bVar1 = (&DAT_00102800)[*local_28];" (assignment_expression "bVar1 = (&DAT_00102800)[*local_28]" identifier = (subscript_expression "(&DAT_00102800)[*local_28]" (parenthesized_expression "(&DAT_00102800)" ( (pointer_expression "&DAT_00102800" & identifier) )) [ (pointer_expression "*local_28" * identifier) ])) ;) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" identifier = identifier) ;) (while_statement "while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" while (parenthesized_expression "((bVar1 & 1) != 0)" ( (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" ( (binary_expression "bVar1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar1 = (&DAT_00102800)[*param_2];" (assignment_expression "bVar1 = (&DAT_00102800)[*param_2]" identifier = (subscript_expression "(&DAT_00102800)[*param_2]" (parenthesized_expression "(&DAT_00102800)" ( (pointer_expression "&DAT_00102800" & identifier) )) [ (pointer_expression "*param_2" * identifier) ])) ;) })) (if_statement "if (local_44 != 0) {\n      FUN_00024d80();\n    }" if (parenthesized_expression "(local_44 != 0)" ( (binary_expression "local_44 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00024d80();\n    }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) (labeled_statement "LAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;" statement_identifier : (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" identifier = (binary_expression "uVar3 == 0xc0a" identifier == number_literal)) ;)) (labeled_statement "LAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" statement_identifier : (if_statement "if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }" { (labeled_statement "LAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" if (parenthesized_expression "(*(char *)(param_1 + 0x4d) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x4d) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" * (cast_expression "(char *)(param_1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4d)" ( (binary_expression "param_1 + 0x4d" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (labeled_statement "LAB_000adead:\n    if (bVar8) goto LAB_000ae04c;" statement_identifier : (if_statement "if (bVar8) goto LAB_000ae04c;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_000ae04c;" goto statement_identifier ;))) (expression_statement "uVar3 = uVar3 & *(uint *)(param_1 + 0x40);" (assignment_expression "uVar3 = uVar3 & *(uint *)(param_1 + 0x40)" identifier = (binary_expression "uVar3 & *(uint *)(param_1 + 0x40)" identifier & (pointer_expression "*(uint *)(param_1 + 0x40)" * (cast_expression "(uint *)(param_1 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))))) ;) }) (else_clause "else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" else (compound_statement "{\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" { (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;" if (parenthesized_expression "(*(char *)(param_1 + 0x4d) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x4d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" * (cast_expression "(char *)(param_1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4d)" ( (binary_expression "param_1 + 0x4d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000adead;" goto statement_identifier ;)) (labeled_statement "LAB_000ae04c:\n    uVar3 = FUN_000383b0();" statement_identifier : (expression_statement "uVar3 = FUN_000383b0();" (assignment_expression "uVar3 = FUN_000383b0()" identifier = (call_expression "FUN_000383b0()" identifier (argument_list "()" ( )))) ;)) })))) (if_statement "if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" if (parenthesized_expression "((uVar3 == 0) || (param_5 == (int *)0x0))" ( (binary_expression "(uVar3 == 0) || (param_5 == (int *)0x0)" (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_5 == (int *)0x0)" ( (binary_expression "param_5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }" { (if_statement "if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }" if (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_5 = 0;\n    }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) }) (else_clause "else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" else (compound_statement "{\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" { (expression_statement "FUN_00055cc0(param_1);" (call_expression "FUN_00055cc0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "iVar2 = FUN_00027060();" (assignment_expression "iVar2 = FUN_00027060()" identifier = (call_expression "FUN_00027060()" identifier (argument_list "()" ( )))) ;) (expression_statement "*param_5 = iVar2;" (assignment_expression "*param_5 = iVar2" (pointer_expression "*param_5" * identifier) = identifier) ;) (if_statement "if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" { (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" identifier (argument_list "()" ( ))) ;) })) }))) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (labeled_statement "LAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000f4bf0();\n  }" { (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 { (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( IDENT ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (binary_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 (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( ))) ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "FUN_000adc50(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" (identifier "FUN_000adc50") (parameter_list "(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  int local_44;\n  undefined4 *local_3c;\n  byte *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xadc59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  iVar2 = FUN_00055d90();\n  if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }\n  if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x3c) = 0;\n  if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }\n  do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);\nLAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;\nLAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }\n  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\nLAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return uVar3;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "undefined4 *local_3c;" (type_identifier "undefined4") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "byte *local_28;" (type_identifier "byte") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xadc59;" (assignment_expression "uStack_14 = 0xadc59" (identifier "uStack_14") (= "=") (number_literal "0xadc59")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = FUN_00055d90();" (assignment_expression "iVar2 = FUN_00055d90()" (identifier "iVar2") (= "=") (call_expression "FUN_00055d90()" (identifier "FUN_00055d90") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = FUN_00050c30();\n    goto LAB_000adef0;\n  }" ({ "{") (expression_statement "uVar3 = FUN_00050c30();" (assignment_expression "uVar3 = FUN_00050c30()" (identifier "uVar3") (= "=") (call_expression "FUN_00050c30()" (identifier "FUN_00050c30") (argument_list "()" (( "(") () ")")))) (; ";")) (goto_statement "goto LAB_000adef0;" (goto "goto") (statement_identifier "LAB_000adef0") (; ";")) (} "}"))) (if_statement "if (param_2 == (byte *)0x0) {\n    param_2 = &DAT_000f50ff;\n  }" (if "if") (parenthesized_expression "(param_2 == (byte *)0x0)" (( "(") (binary_expression "param_2 == (byte *)0x0" (identifier "param_2") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = &DAT_000f50ff;\n  }" ({ "{") (expression_statement "param_2 = &DAT_000f50ff;" (assignment_expression "param_2 = &DAT_000f50ff" (identifier "param_2") (= "=") (pointer_expression "&DAT_000f50ff" (& "&") (identifier "DAT_000f50ff"))) (; ";")) (} "}"))) (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_000197c0") (argument_list "(*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x108) != 0) {\n    FUN_00027ae0();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x108) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x108) != 0" (pointer_expression "*(int *)(param_1 + 0x108)" (* "*") (cast_expression "(int *)(param_1 + 0x108)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00027ae0();\n  }" ({ "{") (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" (identifier "FUN_00027ae0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (do_statement "do {\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  } while (uVar3 == 0);" (do "do") (compound_statement "{\n    if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }\n    while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }\n    local_3c = (undefined4 *)0x0;\n    bVar8 = false;\n    local_44 = 0;\n    iVar2 = 0;\nLAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);\n    uVar3 = FUN_00089bd0();\n    local_24 = 0;\n    bVar1 = (&DAT_00102800)[*local_28];\n    param_2 = local_28;\n    while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }\n    if (local_44 != 0) {\n      FUN_00024d80();\n    }\n  }" ({ "{") (if_statement "if (*param_2 == 0) {\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" (if "if") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      bVar8 = false;\n      uVar3 = 0;\n      goto LAB_000ae025;\n    }" ({ "{") (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000ae025;" (goto "goto") (statement_identifier "LAB_000ae025") (; ";")) (} "}"))) (while_statement "while( true ) {\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      local_24 = 0;\n      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);\n      if (uVar3 != 0) goto LAB_000ae01a;\n      if (local_24 != 0) break;\n      param_2 = local_28;\n      if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }\n    }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);" (assignment_expression "uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" (identifier "uVar3") (= "=") (call_expression "FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28)" (identifier "FUN_000c21a0") (argument_list "(param_1,param_2,0xffffffff,&local_24,&local_28)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (; ";")) (if_statement "if (uVar3 != 0) goto LAB_000ae01a;" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ae01a;" (goto "goto") (statement_identifier "LAB_000ae01a") (; ";"))) (if_statement "if (local_24 != 0) break;" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" (identifier "param_2") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (*local_28 == 0) {\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" (if "if") (parenthesized_expression "(*local_28 == 0)" (( "(") (binary_expression "*local_28 == 0" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar8 = false;\n        goto LAB_000ade9f;\n      }" ({ "{") (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (goto_statement "goto LAB_000ade9f;" (goto "goto") (statement_identifier "LAB_000ade9f") (; ";")) (} "}"))) (} "}"))) (expression_statement "local_3c = (undefined4 *)0x0;" (assignment_expression "local_3c = (undefined4 *)0x0" (identifier "local_3c") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000add40:\n    do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" (statement_identifier "LAB_000add40") (: ":") (do_statement "do {\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    } while (uVar3 == 100);" (do "do") (compound_statement "{\n      uVar3 = FUN_000accc0(local_24);\n      if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }\n    }" ({ "{") (expression_statement "uVar3 = FUN_000accc0(local_24);" (assignment_expression "uVar3 = FUN_000accc0(local_24)" (identifier "uVar3") (= "=") (call_expression "FUN_000accc0(local_24)" (identifier "FUN_000accc0") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";")) (if_statement "if (param_3 != (code *)0x0) {\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" (if "if") (parenthesized_expression "(param_3 != (code *)0x0)" (( "(") (binary_expression "param_3 != (code *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }\n        FUN_00089bd0();\n        local_24 = 0;\n        *(undefined4 *)(param_1 + 0x3c) = 4;\n        FUN_00027ae0();\n        uVar3 = 4;\njoined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }\n        bVar8 = false;\n        if (local_44 != 0) {\n          FUN_00024d80();\n        }\n        goto LAB_000ade9f;\n      }" ({ "{") (if_statement "if (uVar3 == 100) {\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }\n        else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" (if "if") (parenthesized_expression "(uVar3 == 100)" (( "(") (binary_expression "uVar3 == 100" (identifier "uVar3") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n          if (!bVar8) goto LAB_000adf10;\n          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n          local_3c = puVar6;\n          if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }\nLAB_000adfe7:\n          *puVar6 = 0;\n          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);\n          if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }\n        }" ({ "{") (if_statement "if (!bVar8) goto LAB_000adf10;" (if "if") (parenthesized_expression "(!bVar8)" (( "(") (unary_expression "!bVar8" (! "!") (identifier "bVar8")) () ")")) (goto_statement "goto LAB_000adf10;" (goto "goto") (statement_identifier "LAB_000adf10") (; ";"))) (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + iVar2 * 4)" (( "(") (binary_expression "local_44 + iVar2 * 4" (identifier "local_44") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" (identifier "local_3c") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if (0 < iVar2) {\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\nLAB_000ade0b:\n            iVar7 = 0;\n            do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);\n            puVar6 = local_3c + iVar7;\n          }" ({ "{") (labeled_statement "LAB_000ade0b:\n            iVar7 = 0;" (statement_identifier "LAB_000ade0b") (: ":") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";"))) (do_statement "do {\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < iVar2);" (do "do") (compound_statement "{\n              iVar4 = FUN_0004d370(local_24,iVar7);\n              local_3c[iVar7] = iVar4;\n              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }\n              iVar7 = iVar7 + 1;\n            }" ({ "{") (expression_statement "iVar4 = FUN_0004d370(local_24,iVar7);" (assignment_expression "iVar4 = FUN_0004d370(local_24,iVar7)" (identifier "iVar4") (= "=") (call_expression "FUN_0004d370(local_24,iVar7)" (identifier "FUN_0004d370") (argument_list "(local_24,iVar7)" (( "(") (identifier "local_24") (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "local_3c[iVar7] = iVar4;" (assignment_expression "local_3c[iVar7] = iVar4" (subscript_expression "local_3c[iVar7]" (identifier "local_3c") ([ "[") (identifier "iVar7") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" (if "if") (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5))" (( "(") (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)" (( "(") (comma_expression "iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5" (assignment_expression "iVar4 = FUN_00038670(local_24,iVar7)" (identifier "iVar4") (= "=") (call_expression "FUN_00038670(local_24,iVar7)" (identifier "FUN_00038670") (argument_list "(local_24,iVar7)" (( "(") (identifier "local_24") (, ",") (identifier "iVar7") () ")")))) (, ",") (binary_expression "iVar4 != 5" (identifier "iVar4") (!= "!=") (number_literal "5"))) () ")"))) () ")")) (compound_statement "{\n                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }\n                uVar3 = 100;\n                goto joined_r0x000ade75;\n              }" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {\n                  FUN_00026b70();\n                }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" (( "(") (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" (* "*") (cast_expression "(uint *)(param_1 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (& "&") (number_literal "0xffff00")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  FUN_00026b70();\n                }" ({ "{") (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" (identifier "FUN_00026b70") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = 100;" (assignment_expression "uVar3 = 100" (identifier "uVar3") (= "=") (number_literal "100")) (; ";")) (goto_statement "goto joined_r0x000ade75;" (goto "goto") (statement_identifier "joined_r0x000ade75") (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 < iVar2)" (( "(") (binary_expression "iVar7 < iVar2" (identifier "iVar7") (< "<") (identifier "iVar2")) () ")")) (; ";")) (expression_statement "puVar6 = local_3c + iVar7;" (assignment_expression "puVar6 = local_3c + iVar7" (identifier "puVar6") (= "=") (binary_expression "local_3c + iVar7" (identifier "local_3c") (+ "+") (identifier "iVar7"))) (; ";")) (} "}"))) (labeled_statement "LAB_000adfe7:\n          *puVar6 = 0;" (statement_identifier "LAB_000adfe7") (: ":") (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);" (assignment_expression "iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44)" (identifier "iVar7") (= "=") (call_expression "(*param_3)(param_4,iVar2,local_3c,local_44)" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(param_4,iVar2,local_3c,local_44)" (( "(") (identifier "param_4") (, ",") (identifier "iVar2") (, ",") (identifier "local_3c") (, ",") (identifier "local_44") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n            bVar8 = true;\n            goto LAB_000add40;\n          }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            bVar8 = true;\n            goto LAB_000add40;\n          }" ({ "{") (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" (identifier "bVar8") (= "=") (true "true")) (; ";")) (goto_statement "goto LAB_000add40;" (goto "goto") (statement_identifier "LAB_000add40") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" (else "else") (compound_statement "{\n          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;\nLAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);\n          local_44 = FUN_00026bd0();\n          if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }\n          if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }\n          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);\n          if (iVar2 == 0) break;\n        }" ({ "{") (if_statement "if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;" (if "if") (parenthesized_expression "(((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0))" (( "(") (binary_expression "((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)" (parenthesized_expression "((uVar3 != 0x65) || (bVar8))" (( "(") (binary_expression "(uVar3 != 0x65) || (bVar8)" (parenthesized_expression "(uVar3 != 0x65)" (( "(") (binary_expression "uVar3 != 0x65" (identifier "uVar3") (!= "!=") (number_literal "0x65")) () ")")) (|| "||") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(param_1 + 0x1d) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1d) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1d) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1d) & 1" (pointer_expression "*(byte *)(param_1 + 0x1d)" (* "*") (cast_expression "(byte *)(param_1 + 0x1d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_000adf10:\n          iVar2 = FUN_0001bb40(local_24);" (statement_identifier "LAB_000adf10") (: ":") (expression_statement "iVar2 = FUN_0001bb40(local_24);" (assignment_expression "iVar2 = FUN_0001bb40(local_24)" (identifier "iVar2") (= "=") (call_expression "FUN_0001bb40(local_24)" (identifier "FUN_0001bb40") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";"))) (expression_statement "local_44 = FUN_00026bd0();" (assignment_expression "local_44 = FUN_00026bd0()" (identifier "local_44") (= "=") (call_expression "FUN_00026bd0()" (identifier "FUN_00026bd0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (local_44 == 0) {\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" (if "if") (parenthesized_expression "(local_44 == 0)" (( "(") (binary_expression "local_44 == 0" (identifier "local_44") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            bVar8 = uVar3 == 0xc0a;\n            goto LAB_000ae025;\n          }" ({ "{") (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" (identifier "bVar8") (= "=") (binary_expression "uVar3 == 0xc0a" (identifier "uVar3") (== "==") (number_literal "0xc0a"))) (; ";")) (goto_statement "goto LAB_000ae025;" (goto "goto") (statement_identifier "LAB_000ae025") (; ";")) (} "}"))) (if_statement "if (iVar2 < 1) {\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }\n          else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" (if "if") (parenthesized_expression "(iVar2 < 1)" (( "(") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            iVar7 = iVar2;\n            if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }\n          }" ({ "{") (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" (identifier "iVar7") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (uVar3 == 100) {\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" (if "if") (parenthesized_expression "(uVar3 == 100)" (( "(") (binary_expression "uVar3 == 100" (identifier "uVar3") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);\n              local_3c = puVar6;\n              goto LAB_000adfe7;\n            }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(local_44 + iVar2 * 4)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + iVar2 * 4)" (( "(") (binary_expression "local_44 + iVar2 * 4" (identifier "local_44") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "local_3c = puVar6;" (assignment_expression "local_3c = puVar6" (identifier "local_3c") (= "=") (identifier "puVar6")) (; ";")) (goto_statement "goto LAB_000adfe7;" (goto "goto") (statement_identifier "LAB_000adfe7") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" (else "else") (compound_statement "{\n            iVar7 = 0;\n            do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);\n            if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }\n          }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            } while (iVar2 != iVar7);" (do "do") (compound_statement "{\n              uVar5 = FUN_0003ac60(local_24,iVar7);\n              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;\n              iVar7 = iVar7 + 1;\n            }" ({ "{") (expression_statement "uVar5 = FUN_0003ac60(local_24,iVar7);" (assignment_expression "uVar5 = FUN_0003ac60(local_24,iVar7)" (identifier "uVar5") (= "=") (call_expression "FUN_0003ac60(local_24,iVar7)" (identifier "FUN_0003ac60") (argument_list "(local_24,iVar7)" (( "(") (identifier "local_24") (, ",") (identifier "iVar7") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(local_44 + iVar7 * 4) = uVar5" (pointer_expression "*(undefined4 *)(local_44 + iVar7 * 4)" (* "*") (cast_expression "(undefined4 *)(local_44 + iVar7 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + iVar7 * 4)" (( "(") (binary_expression "local_44 + iVar7 * 4" (identifier "local_44") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != iVar7)" (( "(") (binary_expression "iVar2 != iVar7" (identifier "iVar2") (!= "!=") (identifier "iVar7")) () ")")) (; ";")) (if_statement "if (uVar3 == 100) {\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" (if "if") (parenthesized_expression "(uVar3 == 100)" (( "(") (binary_expression "uVar3 == 100" (identifier "uVar3") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n              local_3c = (undefined4 *)(local_44 + iVar2 * 4);\n              goto LAB_000ade0b;\n            }" ({ "{") (expression_statement "local_3c = (undefined4 *)(local_44 + iVar2 * 4);" (assignment_expression "local_3c = (undefined4 *)(local_44 + iVar2 * 4)" (identifier "local_3c") (= "=") (cast_expression "(undefined4 *)(local_44 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + iVar2 * 4)" (( "(") (binary_expression "local_44 + iVar2 * 4" (identifier "local_44") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (goto_statement "goto LAB_000ade0b;" (goto "goto") (statement_identifier "LAB_000ade0b") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);" (assignment_expression "iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44)" (identifier "iVar2") (= "=") (call_expression "(*param_3)(param_4,iVar7,local_3c,local_44)" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(param_4,iVar7,local_3c,local_44)" (( "(") (identifier "param_4") (, ",") (identifier "iVar7") (, ",") (identifier "local_3c") (, ",") (identifier "local_44") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" (identifier "FUN_00089bd0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" (identifier "FUN_00027ae0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (labeled_statement "joined_r0x000ade75:\n        if (local_24 != 0) {\n          FUN_00089bd0();\n        }" (statement_identifier "joined_r0x000ade75") (: ":") (if_statement "if (local_24 != 0) {\n          FUN_00089bd0();\n        }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00089bd0();\n        }" ({ "{") (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" (identifier "FUN_00089bd0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (if_statement "if (local_44 != 0) {\n          FUN_00024d80();\n        }" (if "if") (parenthesized_expression "(local_44 != 0)" (( "(") (binary_expression "local_44 != 0" (identifier "local_44") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00024d80();\n        }" ({ "{") (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" (identifier "FUN_00024d80") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_000ade9f;" (goto "goto") (statement_identifier "LAB_000ade9f") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(uVar3 == 100)" (( "(") (binary_expression "uVar3 == 100" (identifier "uVar3") (== "==") (number_literal "100")) () ")")) (; ";"))) (expression_statement "uVar3 = FUN_00089bd0();" (assignment_expression "uVar3 = FUN_00089bd0()" (identifier "uVar3") (= "=") (call_expression "FUN_00089bd0()" (identifier "FUN_00089bd0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar1 = (&DAT_00102800)[*local_28];" (assignment_expression "bVar1 = (&DAT_00102800)[*local_28]" (identifier "bVar1") (= "=") (subscript_expression "(&DAT_00102800)[*local_28]" (parenthesized_expression "(&DAT_00102800)" (( "(") (pointer_expression "&DAT_00102800" (& "&") (identifier "DAT_00102800")) () ")")) ([ "[") (pointer_expression "*local_28" (* "*") (identifier "local_28")) (] "]"))) (; ";")) (expression_statement "param_2 = local_28;" (assignment_expression "param_2 = local_28" (identifier "param_2") (= "=") (identifier "local_28")) (; ";")) (while_statement "while ((bVar1 & 1) != 0) {\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" (while "while") (parenthesized_expression "((bVar1 & 1) != 0)" (( "(") (binary_expression "(bVar1 & 1) != 0" (parenthesized_expression "(bVar1 & 1)" (( "(") (binary_expression "bVar1 & 1" (identifier "bVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar1 = (&DAT_00102800)[*param_2];\n    }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar1 = (&DAT_00102800)[*param_2];" (assignment_expression "bVar1 = (&DAT_00102800)[*param_2]" (identifier "bVar1") (= "=") (subscript_expression "(&DAT_00102800)[*param_2]" (parenthesized_expression "(&DAT_00102800)" (( "(") (pointer_expression "&DAT_00102800" (& "&") (identifier "DAT_00102800")) () ")")) ([ "[") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (] "]"))) (; ";")) (} "}"))) (if_statement "if (local_44 != 0) {\n      FUN_00024d80();\n    }" (if "if") (parenthesized_expression "(local_44 != 0)" (( "(") (binary_expression "local_44 != 0" (identifier "local_44") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00024d80();\n    }" ({ "{") (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" (identifier "FUN_00024d80") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_000ae01a:\n  bVar8 = uVar3 == 0xc0a;" (statement_identifier "LAB_000ae01a") (: ":") (expression_statement "bVar8 = uVar3 == 0xc0a;" (assignment_expression "bVar8 = uVar3 == 0xc0a" (identifier "bVar8") (= "=") (binary_expression "uVar3 == 0xc0a" (identifier "uVar3") (== "==") (number_literal "0xc0a"))) (; ";"))) (labeled_statement "LAB_000ae025:\n  if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" (statement_identifier "LAB_000ae025") (: ":") (if_statement "if (local_24 == 0) {\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;\nLAB_000adead:\n    if (bVar8) goto LAB_000ae04c;\n    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);\n  }" ({ "{") (labeled_statement "LAB_000ade9f:\n    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" (statement_identifier "LAB_000ade9f") (: ":") (if_statement "if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x4d) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x4d) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" (* "*") (cast_expression "(char *)(param_1 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4d)" (( "(") (binary_expression "param_1 + 0x4d" (identifier "param_1") (+ "+") (number_literal "0x4d")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000ae04c;" (goto "goto") (statement_identifier "LAB_000ae04c") (; ";")))) (labeled_statement "LAB_000adead:\n    if (bVar8) goto LAB_000ae04c;" (statement_identifier "LAB_000adead") (: ":") (if_statement "if (bVar8) goto LAB_000ae04c;" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (goto_statement "goto LAB_000ae04c;" (goto "goto") (statement_identifier "LAB_000ae04c") (; ";")))) (expression_statement "uVar3 = uVar3 & *(uint *)(param_1 + 0x40);" (assignment_expression "uVar3 = uVar3 & *(uint *)(param_1 + 0x40)" (identifier "uVar3") (= "=") (binary_expression "uVar3 & *(uint *)(param_1 + 0x40)" (identifier "uVar3") (& "&") (pointer_expression "*(uint *)(param_1 + 0x40)" (* "*") (cast_expression "(uint *)(param_1 + 0x40)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" (else "else") (compound_statement "{\n    FUN_00089bd0();\n    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;\nLAB_000ae04c:\n    uVar3 = FUN_000383b0();\n  }" ({ "{") (expression_statement "FUN_00089bd0();" (call_expression "FUN_00089bd0()" (identifier "FUN_00089bd0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x4d) == '\0'" (pointer_expression "*(char *)(param_1 + 0x4d)" (* "*") (cast_expression "(char *)(param_1 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4d)" (( "(") (binary_expression "param_1 + 0x4d" (identifier "param_1") (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000adead;" (goto "goto") (statement_identifier "LAB_000adead") (; ";"))) (labeled_statement "LAB_000ae04c:\n    uVar3 = FUN_000383b0();" (statement_identifier "LAB_000ae04c") (: ":") (expression_statement "uVar3 = FUN_000383b0();" (assignment_expression "uVar3 = FUN_000383b0()" (identifier "uVar3") (= "=") (call_expression "FUN_000383b0()" (identifier "FUN_000383b0") (argument_list "()" (( "(") () ")")))) (; ";"))) (} "}"))))) (if_statement "if ((uVar3 == 0) || (param_5 == (int *)0x0)) {\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }\n  else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" (if "if") (parenthesized_expression "((uVar3 == 0) || (param_5 == (int *)0x0))" (( "(") (binary_expression "(uVar3 == 0) || (param_5 == (int *)0x0)" (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_5 == (int *)0x0)" (( "(") (binary_expression "param_5 == (int *)0x0" (identifier "param_5") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }\n  }" ({ "{") (if_statement "if (param_5 != (int *)0x0) {\n      *param_5 = 0;\n    }" (if "if") (parenthesized_expression "(param_5 != (int *)0x0)" (( "(") (binary_expression "param_5 != (int *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_5 = 0;\n    }" ({ "{") (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" (else "else") (compound_statement "{\n    FUN_00055cc0(param_1);\n    iVar2 = FUN_00027060();\n    *param_5 = iVar2;\n    if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }\n  }" ({ "{") (expression_statement "FUN_00055cc0(param_1);" (call_expression "FUN_00055cc0(param_1)" (identifier "FUN_00055cc0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_00027060();" (assignment_expression "iVar2 = FUN_00027060()" (identifier "iVar2") (= "=") (call_expression "FUN_00027060()" (identifier "FUN_00027060") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_5 = iVar2;" (assignment_expression "*param_5 = iVar2" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 == 0) {\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = 7;\n      *(undefined4 *)(param_1 + 0x3c) = 7;\n      FUN_00027ae0();\n    }" ({ "{") (expression_statement "uVar3 = 7;" (assignment_expression "uVar3 = 7" (identifier "uVar3") (= "=") (number_literal "7")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 7;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 7" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "7")) (; ";")) (expression_statement "FUN_00027ae0();" (call_expression "FUN_00027ae0()" (identifier "FUN_00027ae0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_000197f0") (argument_list "(*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (labeled_statement "LAB_000adef0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" (statement_identifier "LAB_000adef0") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000f4bf0();\n  }" ({ "{") (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" (identifier "FUN_000f4bf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int function_1(type_1 *db,char *var_5,type_2 var_12,void *pArg,char **var_31)

{
  type_3 var_29;
  int var_3;
  type_4 var_9;
  type_5 *var_15;
  int var_17;
  char **ppcVar6;
  char *var_34;
  int var_19;
  int var_1;
  bool bVar9;
  type_6 *psVar10;
  int var_25;
  char **var_13;
  char **var_20;
  char *var_28;
  type_6 *var_10;
  int var_36;
  type_7 uStack_14;
  
  uStack_14 = 0xadc59;
  var_36 = *(int *)(var_1 + 0x14);
  var_10 = (type_6 *)0x0;
  var_3 = var_2(db);
  if (var_3 == 0) {
    var_9 = var_4(0x1cf92);
    goto LAB_000adef0;
  }
  if (var_5 == (char *)0x0) {
    var_5 = &DAT_000f50ff;
  }
  var_6(db->mutex);
  db->errCode = 0;
  if (db->pErr != (type_8 *)0x0) {
    var_7(db,0);
  }
  do {
    if (*var_5 == 0) {
      bVar9 = false;
      var_9 = 0;
      goto LAB_000ae025;
    }
    while( true ) {
      var_10 = (type_6 *)0x0;
      var_9 = var_8(db,var_5,-1,&var_10,&var_28);
      if (var_9 != 0) goto LAB_000ae01a;
      if (var_10 != (type_6 *)0x0) break;
      var_5 = var_28;
      if (*var_28 == '\0') {
        bVar9 = false;
        goto LAB_000ade9f;
      }
    }
    var_20 = (char **)0x0;
    bVar9 = false;
    var_13 = (char **)0x0;
    var_3 = 0;
LAB_000add40:
    do {
      var_9 = var_11(var_10);
      if (var_12 != (type_2)0x0) {
        if (var_9 == 100) {
          if (!bVar9) goto LAB_000adf10;
          ppcVar6 = var_13 + var_3;
          var_20 = ppcVar6;
          if (0 < var_3) {
LAB_000ade0b:
            var_19 = 0;
            do {
              var_15 = var_14(var_10,var_19);
              var_20[var_19] = (char *)var_15;
              if ((var_15 == (type_5 *)0x0) && (var_17 = var_16(var_10,var_19), var_17 != 5)
                 ) {
                var_9._0_1_ = db->temp_store;
                var_9._1_1_ = db->mallocFailed;
                var_9._2_1_ = db->bBenignMalloc;
                var_9._3_1_ = db->dfltLockMode;
                if ((var_9 & 0xffff00) == 0) {
                  var_18(db);
                }
                var_9 = 100;
                goto joined_r0x000ade75;
              }
              var_19 = var_19 + 1;
            } while (var_19 < var_3);
            ppcVar6 = var_20 + var_19;
          }
LAB_000adfe7:
          *ppcVar6 = (char *)0x0;
          var_25 = var_3;
          var_19 = (*var_12)(pArg,var_3,var_20,var_13);
          if (var_19 == 0) {
            bVar9 = true;
            goto LAB_000add40;
          }
        }
        else {
          if (((var_9 != 0x65) || (bVar9)) || ((db->flags & 0x100) == 0)) break;
LAB_000adf10:
          psVar10 = var_10;
          var_3 = var_21(var_10);
          var_13 = (char **)var_22(db,var_23(var_25,psVar10));
          if (var_13 == (char **)0x0) {
            bVar9 = var_9 == 0xc0a;
            goto LAB_000ae025;
          }
          if (var_3 < 1) {
            var_25 = var_3;
            if (var_9 == 100) {
              ppcVar6 = var_13 + var_3;
              var_20 = ppcVar6;
              goto LAB_000adfe7;
            }
          }
          else {
            var_25 = 0;
            do {
              var_34 = var_24(var_10,var_25);
              var_13[var_25] = var_34;
              var_25 = var_25 + 1;
            } while (var_3 != var_25);
            if (var_9 == 100) {
              var_20 = var_13 + var_3;
              goto LAB_000ade0b;
            }
          }
          var_3 = (*var_12)(pArg,var_25,var_20,var_13);
          if (var_3 == 0) break;
        }
        var_26((type_9 *)var_10);
        var_10 = (type_6 *)0x0;
        db->errCode = 4;
        var_7(db,4);
        var_9 = 4;
joined_r0x000ade75:
        if ((type_9 *)var_10 != (type_9 *)0x0) {
          var_26((type_9 *)var_10);
        }
        bVar9 = false;
        if (var_13 != (char **)0x0) {
          var_27(db,var_13);
        }
        goto LAB_000ade9f;
      }
    } while (var_9 == 100);
    var_9 = var_26((type_9 *)var_10);
    var_10 = (type_6 *)0x0;
    var_29 = ""[(type_3)*var_28];
    var_5 = var_28;
    while ((var_29 & 1) != 0) {
      var_5 = (char *)((type_3 *)var_5 + 1);
      var_29 = ""[(type_3)*var_5];
    }
    if (var_13 != (char **)0x0) {
      var_27(db,var_13);
    }
  } while (var_9 == 0);
LAB_000ae01a:
  bVar9 = var_9 == 0xc0a;
LAB_000ae025:
  if (var_10 == (type_6 *)0x0) {
LAB_000ade9f:
    if (db->mallocFailed != '\0') goto LAB_000ae04c;
LAB_000adead:
    if (bVar9) goto LAB_000ae04c;
    var_9 = var_9 & db->errMask;
  }
  else {
    var_26((type_9 *)var_10);
    if (db->mallocFailed == '\0') goto LAB_000adead;
LAB_000ae04c:
    var_9 = var_30(db);
  }
  if ((var_9 == 0) || (var_31 == (char **)0x0)) {
    if (var_31 != (char **)0x0) {
      *var_31 = (char *)0x0;
    }
  }
  else {
    var_34 = var_32(db);
    var_34 = var_33((type_1 *)0x0,var_34);
    *var_31 = var_34;
    if (var_34 == (char *)0x0) {
      var_9 = 7;
      db->errCode = 7;
      var_7(db,7);
    }
  }
  var_35(db->mutex);
LAB_000adef0:
  if (var_36 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_37();
  }
  return var_9;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint MASKED(int param_1,byte *param_2,code *param_3,undefined4 param_4,int *param_5)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  int iVar7;
  int in_GS_OFFSET;
  bool bVar8;
  int local_44;
  undefined4 *local_3c;
  byte *local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xadc59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_24 = 0;
  iVar2 = FUN_00055d90();
  if (iVar2 == 0) {
    uVar3 = FUN_00050c30();
    goto LAB_000adef0;
  }
  if (param_2 == (byte *)0x0) {
    param_2 = &DAT_000f50ff;
  }
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  *(undefined4 *)(param_1 + 0x3c) = 0;
  if (*(int *)(param_1 + 0x108) != 0) {
    FUN_00027ae0();
  }
  do {
    if (*param_2 == 0) {
      bVar8 = false;
      uVar3 = 0;
      goto LAB_000ae025;
    }
    while( true ) {
      local_24 = 0;
      uVar3 = FUN_000c21a0(param_1,param_2,0xffffffff,&local_24,&local_28);
      if (uVar3 != 0) goto LAB_000ae01a;
      if (local_24 != 0) break;
      param_2 = local_28;
      if (*local_28 == 0) {
        bVar8 = false;
        goto LAB_000ade9f;
      }
    }
    local_3c = (undefined4 *)0x0;
    bVar8 = false;
    local_44 = 0;
    iVar2 = 0;
LAB_000add40:
    do {
      uVar3 = FUN_000accc0(local_24);
      if (param_3 != (code *)0x0) {
        if (uVar3 == 100) {
          if (!bVar8) goto LAB_000adf10;
          puVar6 = (undefined4 *)(local_44 + iVar2 * 4);
          local_3c = puVar6;
          if (0 < iVar2) {
LAB_000ade0b:
            iVar7 = 0;
            do {
              iVar4 = FUN_0004d370(local_24,iVar7);
              local_3c[iVar7] = iVar4;
              if ((iVar4 == 0) && (iVar4 = FUN_00038670(local_24,iVar7), iVar4 != 5)) {
                if ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0) {
                  FUN_00026b70();
                }
                uVar3 = 100;
                goto joined_r0x000ade75;
              }
              iVar7 = iVar7 + 1;
            } while (iVar7 < iVar2);
            puVar6 = local_3c + iVar7;
          }
LAB_000adfe7:
          *puVar6 = 0;
          iVar7 = (*param_3)(param_4,iVar2,local_3c,local_44);
          if (iVar7 == 0) {
            bVar8 = true;
            goto LAB_000add40;
          }
        }
        else {
          if (((uVar3 != 0x65) || (bVar8)) || ((*(byte *)(param_1 + 0x1d) & 1) == 0)) break;
LAB_000adf10:
          iVar2 = FUN_0001bb40(local_24);
          local_44 = FUN_00026bd0();
          if (local_44 == 0) {
            bVar8 = uVar3 == 0xc0a;
            goto LAB_000ae025;
          }
          if (iVar2 < 1) {
            iVar7 = iVar2;
            if (uVar3 == 100) {
              puVar6 = (undefined4 *)(local_44 + iVar2 * 4);
              local_3c = puVar6;
              goto LAB_000adfe7;
            }
          }
          else {
            iVar7 = 0;
            do {
              uVar5 = FUN_0003ac60(local_24,iVar7);
              *(undefined4 *)(local_44 + iVar7 * 4) = uVar5;
              iVar7 = iVar7 + 1;
            } while (iVar2 != iVar7);
            if (uVar3 == 100) {
              local_3c = (undefined4 *)(local_44 + iVar2 * 4);
              goto LAB_000ade0b;
            }
          }
          iVar2 = (*param_3)(param_4,iVar7,local_3c,local_44);
          if (iVar2 == 0) break;
        }
        FUN_00089bd0();
        local_24 = 0;
        *(undefined4 *)(param_1 + 0x3c) = 4;
        FUN_00027ae0();
        uVar3 = 4;
joined_r0x000ade75:
        if (local_24 != 0) {
          FUN_00089bd0();
        }
        bVar8 = false;
        if (local_44 != 0) {
          FUN_00024d80();
        }
        goto LAB_000ade9f;
      }
    } while (uVar3 == 100);
    uVar3 = FUN_00089bd0();
    local_24 = 0;
    bVar1 = (&DAT_00102800)[*local_28];
    param_2 = local_28;
    while ((bVar1 & 1) != 0) {
      param_2 = param_2 + 1;
      bVar1 = (&DAT_00102800)[*param_2];
    }
    if (local_44 != 0) {
      FUN_00024d80();
    }
  } while (uVar3 == 0);
LAB_000ae01a:
  bVar8 = uVar3 == 0xc0a;
LAB_000ae025:
  if (local_24 == 0) {
LAB_000ade9f:
    if (*(char *)(param_1 + 0x4d) != '\0') goto LAB_000ae04c;
LAB_000adead:
    if (bVar8) goto LAB_000ae04c;
    uVar3 = uVar3 & *(uint *)(param_1 + 0x40);
  }
  else {
    FUN_00089bd0();
    if (*(char *)(param_1 + 0x4d) == '\0') goto LAB_000adead;
LAB_000ae04c:
    uVar3 = FUN_000383b0();
  }
  if ((uVar3 == 0) || (param_5 == (int *)0x0)) {
    if (param_5 != (int *)0x0) {
      *param_5 = 0;
    }
  }
  else {
    FUN_00055cc0(param_1);
    iVar2 = FUN_00027060();
    *param_5 = iVar2;
    if (iVar2 == 0) {
      uVar3 = 7;
      *(undefined4 *)(param_1 + 0x3c) = 7;
      FUN_00027ae0();
    }
  }
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
LAB_000adef0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f4bf0();
  }
  return uVar3;
}

