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

int sqlite3_table_column_metadata
              (sqlite3 *db,char *zDbName,char *zTableName,char *zColumnName,char **pzDataType,
              char **pzCollSeq,int *pNotNull,int *pPrimaryKey,int *pAutoinc)

{
  byte *pbVar1;
  int iVar2;
  Column *pCol;
  Column *pCol_1;
  Column *extraout_ECX;
  uint uVar3;
  char *pcVar4;
  char *extraout_EDX;
  char *pcVar5;
  uint uVar6;
  uint uVar7;
  int in_GS_OFFSET;
  bool bVar8;
  uint local_68;
  int local_60;
  Table *local_5c;
  Column *local_58;
  char *local_54;
  Column *local_34;
  char *zErrMsg;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xc93d9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  zErrMsg = (char *)0x0;
  sqlite3_mutex_enter(db->mutex);
  if (db->noSharedCache == '\0') {
    btreeEnterAll(db);
  }
  local_68 = sqlite3Init(db,&zErrMsg);
  if (((local_68 != 0) ||
      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||
     (local_5c->pSelect != (Select *)0x0)) {
LAB_000c9486:
    local_54 = (char *)0x0;
    uVar3 = 0;
    uVar7 = 0;
    uVar6 = 0;
    local_5c = (Table *)0x0;
    pcVar5 = (char *)0x0;
    goto LAB_000c949e;
  }
  if (zColumnName == (char *)0x0) {
LAB_000c97b3:
    uVar3 = 0;
    uVar6 = 0;
    uVar7 = 1;
    pcVar5 = "BINARY";
    local_54 = "INTEGER";
    goto LAB_000c949e;
  }
  iVar2 = (int)local_5c->nCol;
  local_54 = (char *)0x0;
  if (iVar2 < 1) {
    if (iVar2 != 0) goto LAB_000c97b3;
  }
  else {
    local_60 = 0;
    local_58 = local_5c->aCol;
    pcVar4 = extraout_EDX;
    do {
      pCol = (Column *)local_58->zName;
      local_34 = local_58;
      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;
      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {
        if (*(byte *)&pCol->zName == 0) {
LAB_000c9794:
          uVar7 = (uint)local_58->colFlags;
          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;
          goto LAB_000c970a;
        }
        pcVar4 = (char *)0x1;
        while( true ) {
          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);
          pCol_1 = (Column *)(uint)*pbVar1;
          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;
          pcVar4 = pcVar4 + 1;
          if (*pbVar1 == 0) goto LAB_000c9794;
        }
      }
      local_60 = local_60 + 1;
      local_58 = local_58 + 1;
    } while (local_60 != iVar2);
  }
  pcVar4 = (char *)local_5c->tabFlags;
  if ((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))
  goto LAB_000c9486;
  local_60 = (int)local_5c->iPKey;
  if ((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))
  goto LAB_000c97b3;
  pCol = (Column *)local_34->zName;
  uVar7 = (uint)local_34->colFlags;
  pCol_1 = extraout_ECX;
  if ((local_34->colFlags & 4) == 0) {
    pcVar5 = local_34->zColl;
    uVar7 = uVar7 & 1;
    uVar6 = (uint)(local_34->notNull != '\0');
LAB_000c97e0:
    uVar3 = (uint)pcVar4 >> 3 & 1;
  }
  else {
LAB_000c970a:
    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);
LAB_000c9713:
    pcVar5 = local_34->zColl;
    uVar7 = uVar7 & 1;
    uVar3 = 0;
    uVar6 = (uint)(local_34->notNull != '\0');
    if (local_5c->iPKey == local_60) {
      pcVar4 = (char *)local_5c->tabFlags;
      goto LAB_000c97e0;
    }
  }
  if (pcVar5 == (char *)0x0) {
    pcVar5 = "BINARY";
  }
LAB_000c949e:
  if (db->noSharedCache == '\0') {
    btreeLeaveAll(db);
  }
  if (pzDataType != (char **)0x0) {
    *pzDataType = local_54;
  }
  if (pzCollSeq != (char **)0x0) {
    *pzCollSeq = pcVar5;
  }
  if (pNotNull != (int *)0x0) {
    *pNotNull = uVar6;
  }
  if (pPrimaryKey != (int *)0x0) {
    *pPrimaryKey = uVar7;
  }
  if (pAutoinc != (int *)0x0) {
    *pAutoinc = uVar3;
  }
  if (local_5c == (Table *)0x0 && local_68 == 0) {
    if (zErrMsg != (char *)0x0) {
      sqlite3DbFreeNN(db,zErrMsg);
    }
    bVar8 = false;
    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);
    local_68 = 1;
  }
  else {
    bVar8 = local_68 == 0xc0a;
  }
  pcVar4 = "%s";
  if (zErrMsg == (char *)0x0) {
    pcVar4 = (char *)0x0;
  }
  sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg);
  if (zErrMsg != (char *)0x0) {
    sqlite3DbFreeNN(db,zErrMsg);
  }
  if ((db->mallocFailed != '\0') || (bVar8)) {
    local_68 = apiOomError(db);
  }
  else {
    local_68 = local_68 & db->errMask;
  }
  sqlite3_mutex_leave(db->mutex);
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return local_68;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x000c9594) */

uint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,
                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  undefined *puVar6;
  int iVar7;
  char *pcVar8;
  uint uVar9;
  uint uVar10;
  int in_GS_OFFSET;
  uint local_68;
  int local_60;
  int local_5c;
  undefined4 *local_58;
  char *local_54;
  undefined4 *local_34;
  int local_24;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  local_24 = 0;
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  if (*(char *)(param_1 + 0x55) == '\0') {
    FUN_0002b350();
  }
  uVar3 = FUN_000ae720();
  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||
     (*(int *)(local_5c + 0xc) != 0)) {
LAB_000c9486:
    local_54 = (char *)0x0;
    uVar5 = 0;
    uVar10 = 0;
    uVar9 = 0;
    local_5c = 0;
    pcVar8 = (char *)0x0;
    goto LAB_000c949e;
  }
  if (param_4 == (byte *)0x0) {
LAB_000c97b3:
    uVar5 = 0;
    uVar9 = 0;
    uVar10 = 1;
    pcVar8 = "BINARY";
    local_54 = "INTEGER";
    goto LAB_000c949e;
  }
  iVar4 = (int)*(short *)(local_5c + 0x2a);
  local_54 = (char *)0x0;
  if (iVar4 < 1) {
    if (iVar4 != 0) goto LAB_000c97b3;
  }
  else {
    local_60 = 0;
    local_58 = *(undefined4 **)(local_5c + 4);
    do {
      local_34 = local_58;
      bVar1 = *(byte *)*local_58;
      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {
        if (bVar1 == 0) {
LAB_000c9794:
          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);
          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;
          goto LAB_000c970a;
        }
        iVar7 = 1;
        while (bVar1 = ((byte *)*local_58)[iVar7],
              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {
          iVar7 = iVar7 + 1;
          if (bVar1 == 0) goto LAB_000c9794;
        }
      }
      local_60 = local_60 + 1;
      local_58 = local_58 + 4;
    } while (local_60 != iVar4);
  }
  uVar5 = *(uint *)(local_5c + 0x24);
  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;
  local_60 = (int)*(short *)(local_5c + 0x28);
  if ((local_60 < 0) ||
     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),
     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;
  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);
  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {
    pcVar8 = (char *)local_34[2];
    uVar10 = uVar10 & 1;
    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');
LAB_000c97e0:
    uVar5 = uVar5 >> 3 & 1;
  }
  else {
LAB_000c970a:
    local_54 = (char *)FUN_00035d70();
LAB_000c9713:
    pcVar8 = (char *)local_34[2];
    uVar10 = uVar10 & 1;
    uVar5 = 0;
    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');
    if (*(short *)(local_5c + 0x28) == local_60) {
      uVar5 = *(uint *)(local_5c + 0x24);
      goto LAB_000c97e0;
    }
  }
  if (pcVar8 == (char *)0x0) {
    pcVar8 = "BINARY";
  }
LAB_000c949e:
  if (*(char *)(param_1 + 0x55) == '\0') {
    FUN_0002b3d0();
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = local_54;
  }
  if (param_6 != (undefined4 *)0x0) {
    *param_6 = pcVar8;
  }
  if (param_7 != (uint *)0x0) {
    *param_7 = uVar9;
  }
  if (param_8 != (uint *)0x0) {
    *param_8 = uVar10;
  }
  if (param_9 != (uint *)0x0) {
    *param_9 = uVar5;
  }
  local_68 = uVar3;
  if (local_5c == 0 && uVar3 == 0) {
    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);
    local_68 = 1;
  }
  puVar6 = &DAT_000f6ce3;
  if (local_24 == 0) {
    puVar6 = (undefined *)0x0;
  }
  FUN_00056af0(param_1,local_68,puVar6,local_24);
  if (local_24 != 0) {
    FUN_00024d80();
  }
  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {
    local_68 = local_68 & *(uint *)(param_1 + 0x40);
  }
  else {
    local_68 = FUN_000383b0();
  }
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return local_68;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x7fafb
SUB ESP,0x78
MOV EDI,dword ptr [ESP + 0x94]
MOV ECX,dword ptr [ESP + 0xa0]
MOV EAX,dword ptr [ESP + 0x8c]
MOV ESI,dword ptr [ESP + 0x90]
MOV dword ptr [ESP + 0x4c],EDI
MOV EDI,dword ptr [ESP + 0x9c]
MOV dword ptr [ESP + 0x3c],ECX
MOV ECX,dword ptr [ESP + 0xa8]
MOV dword ptr [ESP + 0x38],EDI
MOV EDI,dword ptr [ESP + 0xa4]
MOV dword ptr [ESP + 0x24],EBX
MOV EBP,dword ptr [ESP + 0x98]
MOV dword ptr [ESP + 0x40],EDI
MOV EDI,dword ptr [ESP + 0xac]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x44],ECX
MOV dword ptr [ESP + 0x48],EDI
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x68],EDI
XOR EDI,EDI
MOV dword ptr [ESP + 0x64],0x0
MOV EDI,EAX
PUSH dword ptr [EAX + 0xc]
CALL 0x000197c0
ADD ESP,0x10
CMP byte ptr [EDI + 0x55],0x0
JZ 0x000c9780
MOV EAX,dword ptr [ESP + 0x10]
LEA EDX,[ESP + 0x58]
CALL 0x000ae720
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JZ 0x000c95d0
MOV dword ptr [ESP + 0x28],0x0
XOR EDX,EDX
XOR EDI,EDI
XOR ESI,ESI
MOV dword ptr [ESP + 0x20],0x0
XOR EBX,EBX
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x55],0x0
JZ 0x000c9768
MOV EAX,dword ptr [ESP + 0x2c]
TEST EAX,EAX
JZ 0x000c94ba
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0x30]
TEST EAX,EAX
JZ 0x000c94c4
MOV dword ptr [EAX],EBX
MOV EAX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x000c94ce
MOV dword ptr [EAX],ESI
MOV EAX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JZ 0x000c94d8
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ESP + 0x3c]
TEST EAX,EAX
JZ 0x000c94e2
MOV dword ptr [EAX],EDX
MOV EBX,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x58]
OR EBX,ESI
JZ 0x000c9590
CMP ESI,0xc0a
SETZ BL
MOV ESI,dword ptr [ESP + 0x18]
TEST EAX,EAX
MOV ECX,0x0
PUSH EAX
LEA EDX,[ESI + 0xfffade0f]
CMOVZ EDX,ECX
PUSH EDX
PUSH dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x00056af0
MOV EDX,dword ptr [ESP + 0x68]
ADD ESP,0x10
TEST EDX,EDX
JZ 0x000c9535
MOV EAX,ESI
CALL 0x00024d80
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x4d],0x0
MOV EAX,dword ptr [ESP + 0x10]
JNZ 0x000c9758
TEST BL,BL
JNZ 0x000c9758
MOV ESI,dword ptr [ESP + 0x14]
AND ESI,dword ptr [EAX + 0x40]
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0xc]
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x000197f0
ADD ESP,0x10
MOV EAX,ESI
MOV EBX,dword ptr [ESP + 0x5c]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x000c9807
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JZ 0x000c959f
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00024d80
PUSH EBP
XOR EBX,EBX
PUSH dword ptr [ESP + 0x44]
MOV EAX,dword ptr [ESP + 0x20]
LEA EAX,[EAX + 0xfffaf2eb]
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0005e630
MOV dword ptr [ESP + 0x68],EAX
ADD ESP,0x10
MOV dword ptr [ESP + 0x14],0x1
JMP 0x000c94ff
MOV EDX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,ESI
CALL 0x00027be0
MOV dword ptr [ESP + 0x20],EAX
TEST EAX,EAX
JZ 0x000c9486
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x28],EAX
TEST EAX,EAX
JNZ 0x000c9486
TEST EBP,EBP
JZ 0x000c97b3
MOV EAX,dword ptr [ESP + 0x20]
MOVSX EAX,word ptr [EAX + 0x2a]
MOV dword ptr [ESP + 0x4c],EAX
TEST EAX,EAX
JLE 0x000c97ad
MOV ESI,dword ptr [ESP + 0x18]
MOVZX EAX,byte ptr [EBP]
MOV dword ptr [ESP + 0x1c],0x0
MOVZX EAX,byte ptr [ESI + EAX*0x1 + 0xfffb9a2c]
LEA EBX,[ESI + 0xfffb9a2c]
MOV byte ptr [ESP + 0x47],AL
MOV EAX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x24],EAX
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [EAX]
MOV dword ptr [ESP + 0x48],EAX
MOVZX EAX,byte ptr [ESP + 0x47]
MOVZX ECX,byte ptr [ESI]
CMP AL,byte ptr [EBX + ECX*0x1]
JNZ 0x000c969b
TEST CL,CL
JZ 0x000c97d5
MOV EDX,0x1
MOV dword ptr [ESP + 0xc],ESI
JMP 0x000c9683
ADD EDX,0x1
TEST CL,CL
JZ 0x000c9790
MOV EAX,dword ptr [ESP + 0xc]
MOVZX ESI,byte ptr [EBP + EDX*0x1]
MOVZX EDI,byte ptr [EAX + EDX*0x1]
MOVZX EAX,byte ptr [EBX + ESI*0x1]
MOV ECX,EDI
CMP byte ptr [EBX + EDI*0x1],AL
JZ 0x000c9678
ADD dword ptr [ESP + 0x1c],0x1
MOV EAX,dword ptr [ESP + 0x1c]
ADD dword ptr [ESP + 0x24],0x10
CMP EAX,dword ptr [ESP + 0x4c]
JNZ 0x000c9648
MOV ESI,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESI + 0x24]
TEST DL,0x20
MOV dword ptr [ESP + 0xc],EDX
JNZ 0x000c9486
MOV EAX,EBP
CALL 0x0002dc00
TEST EAX,EAX
JZ 0x000c9486
MOVSX EAX,word ptr [ESI + 0x28]
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JS 0x000c97b3
SHL EAX,0x4
ADD EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x48],EAX
JZ 0x000c97b3
MOV EBX,EAX
MOV EAX,dword ptr [EAX]
MOVZX EDI,byte ptr [EBX + 0xf]
TEST EDI,0x4
JZ 0x000c97ef
CALL 0x00035d70
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x48]
CMP byte ptr [EAX + 0xc],0x0
MOV EBX,dword ptr [EAX + 0x8]
SETNZ AL
AND EDI,0x1
XOR EDX,EDX
MOVZX EAX,AL
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x20]
MOVSX EAX,word ptr [EAX + 0x28]
CMP EAX,dword ptr [ESP + 0x1c]
JZ 0x000c97d9
TEST EBX,EBX
JNZ 0x000c949e
MOV EAX,dword ptr [ESP + 0x18]
LEA EBX,[EAX + 0xfffb985c]
JMP 0x000c949e
CALL 0x000383b0
MOV ESI,EAX
JMP 0x000c9556
MOV dword ptr [ESP + 0xc],EDX
CALL 0x0002b3d0
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x000c94ac
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0002b350
JMP 0x000c946d
MOV EAX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x24]
MOVZX EDI,byte ptr [ESI + 0xf]
TEST EDI,0x4
JNZ 0x000c970a
JMP 0x000c9713
JZ 0x000c96af
MOV EAX,dword ptr [ESP + 0x18]
XOR EDX,EDX
XOR ESI,ESI
MOV EDI,0x1
LEA EBX,[EAX + 0xfffb985c]
LEA EAX,[EAX + 0xfffad86a]
MOV dword ptr [ESP + 0x28],EAX
JMP 0x000c949e
MOV EAX,ESI
JMP 0x000c9794
MOV EAX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EAX + 0x24]
MOV EAX,EDX
SHR EAX,0x3
AND EAX,0x1
MOV EDX,EAX
JMP 0x000c973d
MOV EAX,dword ptr [ESP + 0x48]
CMP byte ptr [EAX + 0xc],0x0
MOV EBX,dword ptr [EAX + 0x8]
SETNZ AL
AND EDI,0x1
MOVZX EAX,AL
MOV ESI,EAX
JMP 0x000c97e0
CALL 0x000f4bf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x000c9594) */\n\nuint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}\n\n" comment comment (function_definition "uint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}" type_identifier (function_declarator "FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "uint *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\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 "uint uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_68;" type_identifier identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "undefined4 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(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 "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) )))) ))) ;) (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" * (cast_expression "(char *)(param_1 + 0x55)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x55)" ( (binary_expression "param_1 + 0x55" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0002b350();\n  }" { (expression_statement "FUN_0002b350();" (call_expression "FUN_0002b350()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar3 = FUN_000ae720();" (assignment_expression "uVar3 = FUN_000ae720()" identifier = (call_expression "FUN_000ae720()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0))" ( (binary_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)" (parenthesized_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0))" ( (binary_expression "(uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_5c = FUN_00027be0(), local_5c == 0)" ( (comma_expression "local_5c = FUN_00027be0(), local_5c == 0" (assignment_expression "local_5c = FUN_00027be0()" identifier = (call_expression "FUN_00027be0()" identifier (argument_list "()" ( )))) , (binary_expression "local_5c == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(*(int *)(local_5c + 0xc) != 0)" ( (binary_expression "*(int *)(local_5c + 0xc) != 0" (pointer_expression "*(int *)(local_5c + 0xc)" * (cast_expression "(int *)(local_5c + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0xc)" ( (binary_expression "local_5c + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c9486:\n    local_54 = (char *)0x0;" statement_identifier : (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (if_statement "if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(param_4 == (byte *)0x0)" ( (binary_expression "param_4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c97b3:\n    uVar5 = 0;" statement_identifier : (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;)) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) (expression_statement "local_54 = "INTEGER";" (assignment_expression "local_54 = "INTEGER"" identifier = (string_literal ""INTEGER"" " string_content ")) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (expression_statement "iVar4 = (int)*(short *)(local_5c + 0x2a);" (assignment_expression "iVar4 = (int)*(short *)(local_5c + 0x2a)" identifier = (cast_expression "(int)*(short *)(local_5c + 0x2a)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(local_5c + 0x2a)" * (cast_expression "(short *)(local_5c + 0x2a)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x2a)" ( (binary_expression "local_5c + 0x2a" identifier + number_literal) )))))) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }" { (if_statement "if (iVar4 != 0) goto LAB_000c97b3;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) }) (else_clause "else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" else (compound_statement "{\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" { (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_58 = *(undefined4 **)(local_5c + 4);" (assignment_expression "local_58 = *(undefined4 **)(local_5c + 4)" identifier = (pointer_expression "*(undefined4 **)(local_5c + 4)" * (cast_expression "(undefined4 **)(local_5c + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_5c + 4)" ( (binary_expression "local_5c + 4" identifier + number_literal) ))))) ;) (do_statement "do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);" do (compound_statement "{\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    }" { (expression_statement "local_34 = local_58;" (assignment_expression "local_34 = local_58" identifier = identifier) ;) (expression_statement "bVar1 = *(byte *)*local_58;" (assignment_expression "bVar1 = *(byte *)*local_58" identifier = (pointer_expression "*(byte *)*local_58" * (cast_expression "(byte *)*local_58" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_58" * identifier)))) ;) (if_statement "if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" if (parenthesized_expression "((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1])" ( (binary_expression "(&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]" (subscript_expression "(&DAT_00102900)[*param_4]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ (pointer_expression "*param_4" * identifier) ]) == (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ identifier ])) )) (compound_statement "{\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" { (if_statement "if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" { (labeled_statement "LAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" statement_identifier : (expression_statement "uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_58 + 0xf)" identifier = (binary_expression "(uint)*(byte *)((int)local_58 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)local_58 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_58 + 0xf)" ( (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) (if_statement "if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;" if (parenthesized_expression "((*(byte *)((int)local_58 + 0xf) & 4) == 0)" ( (binary_expression "(*(byte *)((int)local_58 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_58 + 0xf) & 4)" ( (binary_expression "*(byte *)((int)local_58 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_58 + 0xf)" * (cast_expression "(byte *)((int)local_58 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_58 + 0xf)" ( (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000c9713;" goto statement_identifier ;)) (goto_statement "goto LAB_000c970a;" goto statement_identifier ;) })) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (while_statement "while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" while (parenthesized_expression "(bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]])" ( (comma_expression "bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (assignment_expression "bVar1 = ((byte *)*local_58)[iVar7]" identifier = (subscript_expression "((byte *)*local_58)[iVar7]" (parenthesized_expression "((byte *)*local_58)" ( (cast_expression "(byte *)*local_58" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_58" * identifier)) )) [ identifier ])) , (binary_expression "(&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ identifier ]) == (subscript_expression "(&DAT_00102900)[param_4[iVar7]]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ (subscript_expression "param_4[iVar7]" identifier [ identifier ]) ]))) )) (compound_statement "{\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == 0) goto LAB_000c9794;" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000c9794;" goto statement_identifier ;)) })) })) (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = local_58 + 4;" (assignment_expression "local_58 = local_58 + 4" identifier = (binary_expression "local_58 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_60 != iVar4)" ( (binary_expression "local_60 != iVar4" identifier != identifier) )) ;) }))) (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" identifier = (pointer_expression "*(uint *)(local_5c + 0x24)" * (cast_expression "(uint *)(local_5c + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x24)" ( (binary_expression "local_5c + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;" if (parenthesized_expression "(((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0))" ( (binary_expression "((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)" (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar4 = FUN_0002dc00(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0002dc00(), iVar4 == 0" (assignment_expression "iVar4 = FUN_0002dc00()" identifier = (call_expression "FUN_0002dc00()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000c9486;" goto statement_identifier ;)) (expression_statement "local_60 = (int)*(short *)(local_5c + 0x28);" (assignment_expression "local_60 = (int)*(short *)(local_5c + 0x28)" identifier = (cast_expression "(int)*(short *)(local_5c + 0x28)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(local_5c + 0x28)" * (cast_expression "(short *)(local_5c + 0x28)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x28)" ( (binary_expression "local_5c + 0x28" identifier + number_literal) )))))) ;) (if_statement "if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;" if (parenthesized_expression "((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0))" ( (binary_expression "(local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" (parenthesized_expression "(local_60 < 0)" ( (binary_expression "local_60 < 0" identifier < number_literal) )) || (parenthesized_expression "(local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" ( (comma_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0" (assignment_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" identifier = (cast_expression "(undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_60 * 0x10 + *(int *)(local_5c + 4))" ( (binary_expression "local_60 * 0x10 + *(int *)(local_5c + 4)" (binary_expression "local_60 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(local_5c + 4)" * (cast_expression "(int *)(local_5c + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 4)" ( (binary_expression "local_5c + 4" identifier + number_literal) ))))) )))) , (binary_expression "local_34 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) (expression_statement "uVar10 = (uint)*(byte *)((int)local_34 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_34 + 0xf)" identifier = (binary_expression "(uint)*(byte *)((int)local_34 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)local_34 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_34 + 0xf)" ( (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" if (parenthesized_expression "((*(byte *)((int)local_34 + 0xf) & 4) == 0)" ( (binary_expression "(*(byte *)((int)local_34 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_34 + 0xf) & 4)" ( (binary_expression "*(byte *)((int)local_34 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_34 + 0xf)" * (cast_expression "(byte *)((int)local_34 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_34 + 0xf)" ( (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }" { (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" identifier = (cast_expression "(char *)local_34[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" identifier = (binary_expression "uVar10 & 1" identifier & number_literal)) ;) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" identifier = (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(local_34 + 3) != '\0')" ( (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" * (cast_expression "(char *)(local_34 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 3)" ( (binary_expression "local_34 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (labeled_statement "LAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;" statement_identifier : (expression_statement "uVar5 = uVar5 >> 3 & 1;" (assignment_expression "uVar5 = uVar5 >> 3 & 1" identifier = (binary_expression "uVar5 >> 3 & 1" (binary_expression "uVar5 >> 3" identifier >> number_literal) & number_literal)) ;)) }) (else_clause "else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" else (compound_statement "{\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" { (labeled_statement "LAB_000c970a:\n    local_54 = (char *)FUN_00035d70();" statement_identifier : (expression_statement "local_54 = (char *)FUN_00035d70();" (assignment_expression "local_54 = (char *)FUN_00035d70()" identifier = (cast_expression "(char *)FUN_00035d70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d70()" identifier (argument_list "()" ( ))))) ;)) (labeled_statement "LAB_000c9713:\n    pcVar8 = (char *)local_34[2];" statement_identifier : (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" identifier = (cast_expression "(char *)local_34[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;)) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" identifier = (binary_expression "uVar10 & 1" identifier & number_literal)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" identifier = (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(local_34 + 3) != '\0')" ( (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" * (cast_expression "(char *)(local_34 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 3)" ( (binary_expression "local_34 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" if (parenthesized_expression "(*(short *)(local_5c + 0x28) == local_60)" ( (binary_expression "*(short *)(local_5c + 0x28) == local_60" (pointer_expression "*(short *)(local_5c + 0x28)" * (cast_expression "(short *)(local_5c + 0x28)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x28)" ( (binary_expression "local_5c + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" { (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" identifier = (pointer_expression "*(uint *)(local_5c + 0x24)" * (cast_expression "(uint *)(local_5c + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x24)" ( (binary_expression "local_5c + 0x24" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000c97e0;" goto statement_identifier ;) })) }))) (if_statement "if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar8 = "BINARY";\n  }" { (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) })) (labeled_statement "LAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" * (cast_expression "(char *)(param_1 + 0x55)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x55)" ( (binary_expression "param_1 + 0x55" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0002b3d0();\n  }" { (expression_statement "FUN_0002b3d0();" (call_expression "FUN_0002b3d0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = local_54;\n  }" { (expression_statement "*param_5 = local_54;" (assignment_expression "*param_5 = local_54" (pointer_expression "*param_5" * identifier) = identifier) ;) })) (if_statement "if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }" if (parenthesized_expression "(param_6 != (undefined4 *)0x0)" ( (binary_expression "param_6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = pcVar8;\n  }" { (expression_statement "*param_6 = pcVar8;" (assignment_expression "*param_6 = pcVar8" (pointer_expression "*param_6" * identifier) = identifier) ;) })) (if_statement "if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }" if (parenthesized_expression "(param_7 != (uint *)0x0)" ( (binary_expression "param_7 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_7 = uVar9;\n  }" { (expression_statement "*param_7 = uVar9;" (assignment_expression "*param_7 = uVar9" (pointer_expression "*param_7" * identifier) = identifier) ;) })) (if_statement "if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }" if (parenthesized_expression "(param_8 != (uint *)0x0)" ( (binary_expression "param_8 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_8 = uVar10;\n  }" { (expression_statement "*param_8 = uVar10;" (assignment_expression "*param_8 = uVar10" (pointer_expression "*param_8" * identifier) = identifier) ;) })) (if_statement "if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }" if (parenthesized_expression "(param_9 != (uint *)0x0)" ( (binary_expression "param_9 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_9 = uVar5;\n  }" { (expression_statement "*param_9 = uVar5;" (assignment_expression "*param_9 = uVar5" (pointer_expression "*param_9" * identifier) = identifier) ;) })) (expression_statement "local_68 = uVar3;" (assignment_expression "local_68 = uVar3" identifier = identifier) ;) (if_statement "if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" if (parenthesized_expression "(local_5c == 0 && uVar3 == 0)" ( (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" identifier == number_literal) && (binary_expression "uVar3 == 0" identifier == number_literal)) )) (compound_statement "{\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" { (expression_statement "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);" (assignment_expression "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" identifier = (call_expression "FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" identifier (argument_list "(param_1,"no such table column: %s.%s",param_3,param_4)" ( identifier , (string_literal ""no such table column: %s.%s"" " string_content ") , identifier , identifier )))) ;) (expression_statement "local_68 = 1;" (assignment_expression "local_68 = 1" identifier = number_literal) ;) })) (expression_statement "puVar6 = &DAT_000f6ce3;" (assignment_expression "puVar6 = &DAT_000f6ce3" identifier = (pointer_expression "&DAT_000f6ce3" & identifier)) ;) (if_statement "if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar6 = (undefined *)0x0;\n  }" { (expression_statement "puVar6 = (undefined *)0x0;" (assignment_expression "puVar6 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "FUN_00056af0(param_1,local_68,puVar6,local_24);" (call_expression "FUN_00056af0(param_1,local_68,puVar6,local_24)" identifier (argument_list "(param_1,local_68,puVar6,local_24)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_24 != 0) {\n    FUN_00024d80();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00024d80();\n  }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a))" ( (binary_expression "(*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" (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 ')) )) && (parenthesized_expression "(local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" ( (binary_expression "local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a" (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" identifier == number_literal) && (binary_expression "uVar3 == 0" identifier == number_literal)) || (binary_expression "uVar3 != 0xc0a" identifier != number_literal)) ))) )) (compound_statement "{\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }" { (expression_statement "local_68 = local_68 & *(uint *)(param_1 + 0x40);" (assignment_expression "local_68 = local_68 & *(uint *)(param_1 + 0x40)" identifier = (binary_expression "local_68 & *(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    local_68 = FUN_000383b0();\n  }" else (compound_statement "{\n    local_68 = FUN_000383b0();\n  }" { (expression_statement "local_68 = FUN_000383b0();" (assignment_expression "local_68 = FUN_000383b0()" identifier = (call_expression "FUN_000383b0()" 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) )))) ))) ;) (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(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    return local_68;\n  }" { (return_statement "return local_68;" return identifier ;) })) comment (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint sqlite3_table_column_metadata\n              (sqlite3 *db,char *zDbName,char *zTableName,char *zColumnName,char **pzDataType,\n              char **pzCollSeq,int *pNotNull,int *pPrimaryKey,int *pAutoinc)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  Column *pCol;\n  Column *pCol_1;\n  Column *extraout_ECX;\n  uint uVar3;\n  char *pcVar4;\n  char *extraout_EDX;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  uint local_68;\n  int local_60;\n  Table *local_5c;\n  Column *local_58;\n  char *local_54;\n  Column *local_34;\n  char *zErrMsg;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc93d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  zErrMsg = (char *)0x0;\n  sqlite3_mutex_enter(db->mutex);\n  if (db->noSharedCache == '\0') {\n    btreeEnterAll(db);\n  }\n  local_68 = sqlite3Init(db,&zErrMsg);\n  if (((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar3 = 0;\n    uVar7 = 0;\n    uVar6 = 0;\n    local_5c = (Table *)0x0;\n    pcVar5 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (zColumnName == (char *)0x0) {\nLAB_000c97b3:\n    uVar3 = 0;\n    uVar6 = 0;\n    uVar7 = 1;\n    pcVar5 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar2 = (int)local_5c->nCol;\n  local_54 = (char *)0x0;\n  if (iVar2 < 1) {\n    if (iVar2 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }\n  pcVar4 = (char *)local_5c->tabFlags;\n  if ((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))\n  goto LAB_000c9486;\n  local_60 = (int)local_5c->iPKey;\n  if ((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))\n  goto LAB_000c97b3;\n  pCol = (Column *)local_34->zName;\n  uVar7 = (uint)local_34->colFlags;\n  pCol_1 = extraout_ECX;\n  if ((local_34->colFlags & 4) == 0) {\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar6 = (uint)(local_34->notNull != '\0');\nLAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar5 == (char *)0x0) {\n    pcVar5 = "BINARY";\n  }\nLAB_000c949e:\n  if (db->noSharedCache == '\0') {\n    btreeLeaveAll(db);\n  }\n  if (pzDataType != (char **)0x0) {\n    *pzDataType = local_54;\n  }\n  if (pzCollSeq != (char **)0x0) {\n    *pzCollSeq = pcVar5;\n  }\n  if (pNotNull != (int *)0x0) {\n    *pNotNull = uVar6;\n  }\n  if (pPrimaryKey != (int *)0x0) {\n    *pPrimaryKey = uVar7;\n  }\n  if (pAutoinc != (int *)0x0) {\n    *pAutoinc = uVar3;\n  }\n  if (local_5c == (Table *)0x0 && local_68 == 0) {\n    if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }\n    bVar8 = false;\n    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);\n    local_68 = 1;\n  }\n  else {\n    bVar8 = local_68 == 0xc0a;\n  }\n  pcVar4 = "%s";\n  if (zErrMsg == (char *)0x0) {\n    pcVar4 = (char *)0x0;\n  }\n  sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg);\n  if (zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(db,zErrMsg);\n  }\n  if ((db->mallocFailed != '\0') || (bVar8)) {\n    local_68 = apiOomError(db);\n  }\n  else {\n    local_68 = local_68 & db->errMask;\n  }\n  sqlite3_mutex_leave(db->mutex);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_68;\n}\n\n" comment comment (function_definition "int sqlite3_table_column_metadata\n              (sqlite3 *db,char *zDbName,char *zTableName,char *zColumnName,char **pzDataType,\n              char **pzCollSeq,int *pNotNull,int *pPrimaryKey,int *pAutoinc)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  Column *pCol;\n  Column *pCol_1;\n  Column *extraout_ECX;\n  uint uVar3;\n  char *pcVar4;\n  char *extraout_EDX;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  uint local_68;\n  int local_60;\n  Table *local_5c;\n  Column *local_58;\n  char *local_54;\n  Column *local_34;\n  char *zErrMsg;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc93d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  zErrMsg = (char *)0x0;\n  sqlite3_mutex_enter(db->mutex);\n  if (db->noSharedCache == '\0') {\n    btreeEnterAll(db);\n  }\n  local_68 = sqlite3Init(db,&zErrMsg);\n  if (((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar3 = 0;\n    uVar7 = 0;\n    uVar6 = 0;\n    local_5c = (Table *)0x0;\n    pcVar5 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (zColumnName == (char *)0x0) {\nLAB_000c97b3:\n    uVar3 = 0;\n    uVar6 = 0;\n    uVar7 = 1;\n    pcVar5 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar2 = (int)local_5c->nCol;\n  local_54 = (char *)0x0;\n  if (iVar2 < 1) {\n    if (iVar2 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }\n  pcVar4 = (char *)local_5c->tabFlags;\n  if ((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))\n  goto LAB_000c9486;\n  local_60 = (int)local_5c->iPKey;\n  if ((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))\n  goto LAB_000c97b3;\n  pCol = (Column *)local_34->zName;\n  uVar7 = (uint)local_34->colFlags;\n  pCol_1 = extraout_ECX;\n  if ((local_34->colFlags & 4) == 0) {\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar6 = (uint)(local_34->notNull != '\0');\nLAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar5 == (char *)0x0) {\n    pcVar5 = "BINARY";\n  }\nLAB_000c949e:\n  if (db->noSharedCache == '\0') {\n    btreeLeaveAll(db);\n  }\n  if (pzDataType != (char **)0x0) {\n    *pzDataType = local_54;\n  }\n  if (pzCollSeq != (char **)0x0) {\n    *pzCollSeq = pcVar5;\n  }\n  if (pNotNull != (int *)0x0) {\n    *pNotNull = uVar6;\n  }\n  if (pPrimaryKey != (int *)0x0) {\n    *pPrimaryKey = uVar7;\n  }\n  if (pAutoinc != (int *)0x0) {\n    *pAutoinc = uVar3;\n  }\n  if (local_5c == (Table *)0x0 && local_68 == 0) {\n    if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }\n    bVar8 = false;\n    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);\n    local_68 = 1;\n  }\n  else {\n    bVar8 = local_68 == 0xc0a;\n  }\n  pcVar4 = "%s";\n  if (zErrMsg == (char *)0x0) {\n    pcVar4 = (char *)0x0;\n  }\n  sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg);\n  if (zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(db,zErrMsg);\n  }\n  if ((db->mallocFailed != '\0') || (bVar8)) {\n    local_68 = apiOomError(db);\n  }\n  else {\n    local_68 = local_68 & db->errMask;\n  }\n  sqlite3_mutex_leave(db->mutex);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_68;\n}" primitive_type (function_declarator "sqlite3_table_column_metadata\n              (sqlite3 *db,char *zDbName,char *zTableName,char *zColumnName,char **pzDataType,\n              char **pzCollSeq,int *pNotNull,int *pPrimaryKey,int *pAutoinc)" identifier (parameter_list "(sqlite3 *db,char *zDbName,char *zTableName,char *zColumnName,char **pzDataType,\n              char **pzCollSeq,int *pNotNull,int *pPrimaryKey,int *pAutoinc)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zDbName" primitive_type (pointer_declarator "*zDbName" * identifier)) , (parameter_declaration "char *zTableName" primitive_type (pointer_declarator "*zTableName" * identifier)) , (parameter_declaration "char *zColumnName" primitive_type (pointer_declarator "*zColumnName" * identifier)) , (parameter_declaration "char **pzDataType" primitive_type (pointer_declarator "**pzDataType" * (pointer_declarator "*pzDataType" * identifier))) , (parameter_declaration "char **pzCollSeq" primitive_type (pointer_declarator "**pzCollSeq" * (pointer_declarator "*pzCollSeq" * identifier))) , (parameter_declaration "int *pNotNull" primitive_type (pointer_declarator "*pNotNull" * identifier)) , (parameter_declaration "int *pPrimaryKey" primitive_type (pointer_declarator "*pPrimaryKey" * identifier)) , (parameter_declaration "int *pAutoinc" primitive_type (pointer_declarator "*pAutoinc" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  Column *pCol;\n  Column *pCol_1;\n  Column *extraout_ECX;\n  uint uVar3;\n  char *pcVar4;\n  char *extraout_EDX;\n  char *pcVar5;\n  uint uVar6;\n  uint uVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  uint local_68;\n  int local_60;\n  Table *local_5c;\n  Column *local_58;\n  char *local_54;\n  Column *local_34;\n  char *zErrMsg;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xc93d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  zErrMsg = (char *)0x0;\n  sqlite3_mutex_enter(db->mutex);\n  if (db->noSharedCache == '\0') {\n    btreeEnterAll(db);\n  }\n  local_68 = sqlite3Init(db,&zErrMsg);\n  if (((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar3 = 0;\n    uVar7 = 0;\n    uVar6 = 0;\n    local_5c = (Table *)0x0;\n    pcVar5 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (zColumnName == (char *)0x0) {\nLAB_000c97b3:\n    uVar3 = 0;\n    uVar6 = 0;\n    uVar7 = 1;\n    pcVar5 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar2 = (int)local_5c->nCol;\n  local_54 = (char *)0x0;\n  if (iVar2 < 1) {\n    if (iVar2 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }\n  pcVar4 = (char *)local_5c->tabFlags;\n  if ((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))\n  goto LAB_000c9486;\n  local_60 = (int)local_5c->iPKey;\n  if ((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))\n  goto LAB_000c97b3;\n  pCol = (Column *)local_34->zName;\n  uVar7 = (uint)local_34->colFlags;\n  pCol_1 = extraout_ECX;\n  if ((local_34->colFlags & 4) == 0) {\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar6 = (uint)(local_34->notNull != '\0');\nLAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar5 == (char *)0x0) {\n    pcVar5 = "BINARY";\n  }\nLAB_000c949e:\n  if (db->noSharedCache == '\0') {\n    btreeLeaveAll(db);\n  }\n  if (pzDataType != (char **)0x0) {\n    *pzDataType = local_54;\n  }\n  if (pzCollSeq != (char **)0x0) {\n    *pzCollSeq = pcVar5;\n  }\n  if (pNotNull != (int *)0x0) {\n    *pNotNull = uVar6;\n  }\n  if (pPrimaryKey != (int *)0x0) {\n    *pPrimaryKey = uVar7;\n  }\n  if (pAutoinc != (int *)0x0) {\n    *pAutoinc = uVar3;\n  }\n  if (local_5c == (Table *)0x0 && local_68 == 0) {\n    if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }\n    bVar8 = false;\n    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);\n    local_68 = 1;\n  }\n  else {\n    bVar8 = local_68 == 0xc0a;\n  }\n  pcVar4 = "%s";\n  if (zErrMsg == (char *)0x0) {\n    pcVar4 = (char *)0x0;\n  }\n  sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg);\n  if (zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(db,zErrMsg);\n  }\n  if ((db->mallocFailed != '\0') || (bVar8)) {\n    local_68 = apiOomError(db);\n  }\n  else {\n    local_68 = local_68 & db->errMask;\n  }\n  sqlite3_mutex_leave(db->mutex);\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return local_68;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Column *pCol;" type_identifier (pointer_declarator "*pCol" * identifier) ;) (declaration "Column *pCol_1;" type_identifier (pointer_declarator "*pCol_1" * identifier) ;) (declaration "Column *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *extraout_EDX;" primitive_type (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "uint local_68;" type_identifier identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "Table *local_5c;" type_identifier (pointer_declarator "*local_5c" * identifier) ;) (declaration "Column *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "Column *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "char *zErrMsg;" primitive_type (pointer_declarator "*zErrMsg" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xc93d9;" (assignment_expression "uStack_14 = 0xc93d9" 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 "zErrMsg = (char *)0x0;" (assignment_expression "zErrMsg = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (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) ))) ;) (if_statement "if (db->noSharedCache == '\0') {\n    btreeEnterAll(db);\n  }" if (parenthesized_expression "(db->noSharedCache == '\0')" ( (binary_expression "db->noSharedCache == '\0'" (field_expression "db->noSharedCache" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    btreeEnterAll(db);\n  }" { (expression_statement "btreeEnterAll(db);" (call_expression "btreeEnterAll(db)" identifier (argument_list "(db)" ( identifier ))) ;) })) (expression_statement "local_68 = sqlite3Init(db,&zErrMsg);" (assignment_expression "local_68 = sqlite3Init(db,&zErrMsg)" identifier = (call_expression "sqlite3Init(db,&zErrMsg)" identifier (argument_list "(db,&zErrMsg)" ( identifier , (pointer_expression "&zErrMsg" & identifier) )))) ;) (if_statement "if (((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar3 = 0;\n    uVar7 = 0;\n    uVar6 = 0;\n    local_5c = (Table *)0x0;\n    pcVar5 = (char *)0x0;\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0))" ( (binary_expression "((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)) ||\n     (local_5c->pSelect != (Select *)0x0)" (parenthesized_expression "((local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0))" ( (binary_expression "(local_68 != 0) ||\n      (local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)" (parenthesized_expression "(local_68 != 0)" ( (binary_expression "local_68 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0)" ( (comma_expression "local_5c = sqlite3FindTable(db,zTableName,zDbName), local_5c == (Table *)0x0" (assignment_expression "local_5c = sqlite3FindTable(db,zTableName,zDbName)" identifier = (call_expression "sqlite3FindTable(db,zTableName,zDbName)" identifier (argument_list "(db,zTableName,zDbName)" ( identifier , identifier , identifier )))) , (binary_expression "local_5c == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) || (parenthesized_expression "(local_5c->pSelect != (Select *)0x0)" ( (binary_expression "local_5c->pSelect != (Select *)0x0" (field_expression "local_5c->pSelect" identifier -> field_identifier) != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar3 = 0;\n    uVar7 = 0;\n    uVar6 = 0;\n    local_5c = (Table *)0x0;\n    pcVar5 = (char *)0x0;\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c9486:\n    local_54 = (char *)0x0;" statement_identifier : (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "local_5c = (Table *)0x0;" (assignment_expression "local_5c = (Table *)0x0" identifier = (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (if_statement "if (zColumnName == (char *)0x0) {\nLAB_000c97b3:\n    uVar3 = 0;\n    uVar6 = 0;\n    uVar7 = 1;\n    pcVar5 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(zColumnName == (char *)0x0)" ( (binary_expression "zColumnName == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000c97b3:\n    uVar3 = 0;\n    uVar6 = 0;\n    uVar7 = 1;\n    pcVar5 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c97b3:\n    uVar3 = 0;" statement_identifier : (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;)) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (expression_statement "pcVar5 = "BINARY";" (assignment_expression "pcVar5 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) (expression_statement "local_54 = "INTEGER";" (assignment_expression "local_54 = "INTEGER"" identifier = (string_literal ""INTEGER"" " string_content ")) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (expression_statement "iVar2 = (int)local_5c->nCol;" (assignment_expression "iVar2 = (int)local_5c->nCol" identifier = (cast_expression "(int)local_5c->nCol" ( (type_descriptor "int" primitive_type) ) (field_expression "local_5c->nCol" identifier -> field_identifier))) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar2 < 1) {\n    if (iVar2 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n    if (iVar2 != 0) goto LAB_000c97b3;\n  }" { (if_statement "if (iVar2 != 0) goto LAB_000c97b3;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) }) (else_clause "else {\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }" else (compound_statement "{\n    local_60 = 0;\n    local_58 = local_5c->aCol;\n    pcVar4 = extraout_EDX;\n    do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);\n  }" { (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_58 = local_5c->aCol;" (assignment_expression "local_58 = local_5c->aCol" identifier = (field_expression "local_5c->aCol" identifier -> field_identifier)) ;) (expression_statement "pcVar4 = extraout_EDX;" (assignment_expression "pcVar4 = extraout_EDX" identifier = identifier) ;) (do_statement "do {\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    } while (local_60 != iVar2);" do (compound_statement "{\n      pCol = (Column *)local_58->zName;\n      local_34 = local_58;\n      pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;\n      if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 1;\n    }" { (expression_statement "pCol = (Column *)local_58->zName;" (assignment_expression "pCol = (Column *)local_58->zName" identifier = (cast_expression "(Column *)local_58->zName" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_58->zName" identifier -> field_identifier))) ;) (expression_statement "local_34 = local_58;" (assignment_expression "local_34 = local_58" identifier = identifier) ;) (expression_statement "pCol_1 = (Column *)(uint)*(byte *)&pCol->zName;" (assignment_expression "pCol_1 = (Column *)(uint)*(byte *)&pCol->zName" identifier = (binary_expression "(Column *)(uint)*(byte *)&pCol->zName" (cast_expression "(Column *)(uint)" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)&pCol->zName" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCol->zName" & (field_expression "pCol->zName" identifier -> field_identifier))))) ;) (if_statement "if (""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName) {\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }" if (parenthesized_expression "(""[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName)" ( (binary_expression """[(byte)*zColumnName] == *(uchar *)&pCol_1[0x10290].zName" (subscript_expression """[(byte)*zColumnName]" (string_literal """" " ") [ (binary_expression "(byte)*zColumnName" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) == (pointer_expression "*(uchar *)&pCol_1[0x10290].zName" * (cast_expression "(uchar *)&pCol_1[0x10290].zName" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCol_1[0x10290].zName" & (field_expression "pCol_1[0x10290].zName" (subscript_expression "pCol_1[0x10290]" identifier [ number_literal ]) . field_identifier))))) )) (compound_statement "{\n        if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        pcVar4 = (char *)0x1;\n        while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }\n      }" { (if_statement "if (*(byte *)&pCol->zName == 0) {\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" if (parenthesized_expression "(*(byte *)&pCol->zName == 0)" ( (binary_expression "*(byte *)&pCol->zName == 0" (pointer_expression "*(byte *)&pCol->zName" * (cast_expression "(byte *)&pCol->zName" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCol->zName" & (field_expression "pCol->zName" identifier -> field_identifier)))) == number_literal) )) (compound_statement "{\nLAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;\n          if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" { (labeled_statement "LAB_000c9794:\n          uVar7 = (uint)local_58->colFlags;" statement_identifier : (expression_statement "uVar7 = (uint)local_58->colFlags;" (assignment_expression "uVar7 = (uint)local_58->colFlags" identifier = (cast_expression "(uint)local_58->colFlags" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_58->colFlags" identifier -> field_identifier))) ;)) (if_statement "if ((local_58->colFlags & 4) == 0) goto LAB_000c9713;" if (parenthesized_expression "((local_58->colFlags & 4) == 0)" ( (binary_expression "(local_58->colFlags & 4) == 0" (parenthesized_expression "(local_58->colFlags & 4)" ( (binary_expression "local_58->colFlags & 4" (field_expression "local_58->colFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000c9713;" goto statement_identifier ;)) (goto_statement "goto LAB_000c970a;" goto statement_identifier ;) })) (expression_statement "pcVar4 = (char *)0x1;" (assignment_expression "pcVar4 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);\n          pCol_1 = (Column *)(uint)*pbVar1;\n          if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;\n          pcVar4 = pcVar4 + 1;\n          if (*pbVar1 == 0) goto LAB_000c9794;\n        }" { (expression_statement "pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName);" (assignment_expression "pbVar1 = (byte *)(pcVar4 + (int)&pCol->zName)" identifier = (cast_expression "(byte *)(pcVar4 + (int)&pCol->zName)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + (int)&pCol->zName)" ( (binary_expression "pcVar4 + (int)&pCol->zName" identifier + (cast_expression "(int)&pCol->zName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pCol->zName" & (field_expression "pCol->zName" identifier -> field_identifier)))) )))) ;) (expression_statement "pCol_1 = (Column *)(uint)*pbVar1;" (assignment_expression "pCol_1 = (Column *)(uint)*pbVar1" identifier = (binary_expression "(Column *)(uint)*pbVar1" (cast_expression "(Column *)(uint)" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier)) ;) (if_statement "if (*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]) break;" if (parenthesized_expression "(*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]])" ( (binary_expression "*(uchar *)&pCol_1[0x10290].zName != ""[(byte)zColumnName[(int)pcVar4]]" (pointer_expression "*(uchar *)&pCol_1[0x10290].zName" * (cast_expression "(uchar *)&pCol_1[0x10290].zName" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCol_1[0x10290].zName" & (field_expression "pCol_1[0x10290].zName" (subscript_expression "pCol_1[0x10290]" identifier [ number_literal ]) . field_identifier)))) != (subscript_expression """[(byte)zColumnName[(int)pcVar4]]" (string_literal """" " ") [ (cast_expression "(byte)zColumnName[(int)pcVar4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "zColumnName[(int)pcVar4]" identifier [ (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier) ])) ])) )) (break_statement "break;" break ;)) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar1 == 0) goto LAB_000c9794;" if (parenthesized_expression "(*pbVar1 == 0)" ( (binary_expression "*pbVar1 == 0" (pointer_expression "*pbVar1" * identifier) == number_literal) )) (goto_statement "goto LAB_000c9794;" goto statement_identifier ;)) })) })) (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = local_58 + 1;" (assignment_expression "local_58 = local_58 + 1" identifier = (binary_expression "local_58 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_60 != iVar2)" ( (binary_expression "local_60 != iVar2" identifier != identifier) )) ;) }))) (expression_statement "pcVar4 = (char *)local_5c->tabFlags;" (assignment_expression "pcVar4 = (char *)local_5c->tabFlags" identifier = (cast_expression "(char *)local_5c->tabFlags" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "local_5c->tabFlags" identifier -> field_identifier))) ;) (if_statement "if ((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))\n  goto LAB_000c9486;" if (parenthesized_expression "((((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0))" ( (binary_expression "(((uint)pcVar4 & 0x20) != 0) || (iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0)" (parenthesized_expression "(((uint)pcVar4 & 0x20) != 0)" ( (binary_expression "((uint)pcVar4 & 0x20) != 0" (parenthesized_expression "((uint)pcVar4 & 0x20)" ( (binary_expression "(uint)pcVar4 & 0x20" (cast_expression "(uint)pcVar4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0)" ( (comma_expression "iVar2 = sqlite3IsRowid(zColumnName), iVar2 == 0" (assignment_expression "iVar2 = sqlite3IsRowid(zColumnName)" identifier = (call_expression "sqlite3IsRowid(zColumnName)" identifier (argument_list "(zColumnName)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000c9486;" goto statement_identifier ;)) (expression_statement "local_60 = (int)local_5c->iPKey;" (assignment_expression "local_60 = (int)local_5c->iPKey" identifier = (cast_expression "(int)local_5c->iPKey" ( (type_descriptor "int" primitive_type) ) (field_expression "local_5c->iPKey" identifier -> field_identifier))) ;) (if_statement "if ((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))\n  goto LAB_000c97b3;" if (parenthesized_expression "((local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0))" ( (binary_expression "(local_60 < 0) || (local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0)" (parenthesized_expression "(local_60 < 0)" ( (binary_expression "local_60 < 0" identifier < number_literal) )) || (parenthesized_expression "(local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0)" ( (comma_expression "local_34 = local_5c->aCol + local_60, local_34 == (Column *)0x0" (assignment_expression "local_34 = local_5c->aCol + local_60" identifier = (binary_expression "local_5c->aCol + local_60" (field_expression "local_5c->aCol" identifier -> field_identifier) + identifier)) , (binary_expression "local_34 == (Column *)0x0" identifier == (cast_expression "(Column *)0x0" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) (expression_statement "pCol = (Column *)local_34->zName;" (assignment_expression "pCol = (Column *)local_34->zName" identifier = (cast_expression "(Column *)local_34->zName" ( (type_descriptor "Column *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_34->zName" identifier -> field_identifier))) ;) (expression_statement "uVar7 = (uint)local_34->colFlags;" (assignment_expression "uVar7 = (uint)local_34->colFlags" identifier = (cast_expression "(uint)local_34->colFlags" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_34->colFlags" identifier -> field_identifier))) ;) (expression_statement "pCol_1 = extraout_ECX;" (assignment_expression "pCol_1 = extraout_ECX" identifier = identifier) ;) (if_statement "if ((local_34->colFlags & 4) == 0) {\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar6 = (uint)(local_34->notNull != '\0');\nLAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }" if (parenthesized_expression "((local_34->colFlags & 4) == 0)" ( (binary_expression "(local_34->colFlags & 4) == 0" (parenthesized_expression "(local_34->colFlags & 4)" ( (binary_expression "local_34->colFlags & 4" (field_expression "local_34->colFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar6 = (uint)(local_34->notNull != '\0');\nLAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;\n  }" { (expression_statement "pcVar5 = local_34->zColl;" (assignment_expression "pcVar5 = local_34->zColl" identifier = (field_expression "local_34->zColl" identifier -> field_identifier)) ;) (expression_statement "uVar7 = uVar7 & 1;" (assignment_expression "uVar7 = uVar7 & 1" identifier = (binary_expression "uVar7 & 1" identifier & number_literal)) ;) (expression_statement "uVar6 = (uint)(local_34->notNull != '\0');" (assignment_expression "uVar6 = (uint)(local_34->notNull != '\0')" identifier = (call_expression "(uint)(local_34->notNull != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_34->notNull != '\0')" ( (binary_expression "local_34->notNull != '\0'" (field_expression "local_34->notNull" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (labeled_statement "LAB_000c97e0:\n    uVar3 = (uint)pcVar4 >> 3 & 1;" statement_identifier : (expression_statement "uVar3 = (uint)pcVar4 >> 3 & 1;" (assignment_expression "uVar3 = (uint)pcVar4 >> 3 & 1" identifier = (binary_expression "(uint)pcVar4 >> 3 & 1" (binary_expression "(uint)pcVar4 >> 3" (cast_expression "(uint)pcVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) & number_literal)) ;)) }) (else_clause "else {\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }" else (compound_statement "{\nLAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);\nLAB_000c9713:\n    pcVar5 = local_34->zColl;\n    uVar7 = uVar7 & 1;\n    uVar3 = 0;\n    uVar6 = (uint)(local_34->notNull != '\0');\n    if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }\n  }" { (labeled_statement "LAB_000c970a:\n    local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);" statement_identifier : (expression_statement "local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1);" (assignment_expression "local_54 = sqlite3ColumnType(pCol,pcVar4,pCol_1)" identifier = (call_expression "sqlite3ColumnType(pCol,pcVar4,pCol_1)" identifier (argument_list "(pCol,pcVar4,pCol_1)" ( identifier , identifier , identifier )))) ;)) (labeled_statement "LAB_000c9713:\n    pcVar5 = local_34->zColl;" statement_identifier : (expression_statement "pcVar5 = local_34->zColl;" (assignment_expression "pcVar5 = local_34->zColl" identifier = (field_expression "local_34->zColl" identifier -> field_identifier)) ;)) (expression_statement "uVar7 = uVar7 & 1;" (assignment_expression "uVar7 = uVar7 & 1" identifier = (binary_expression "uVar7 & 1" identifier & number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = (uint)(local_34->notNull != '\0');" (assignment_expression "uVar6 = (uint)(local_34->notNull != '\0')" identifier = (call_expression "(uint)(local_34->notNull != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_34->notNull != '\0')" ( (binary_expression "local_34->notNull != '\0'" (field_expression "local_34->notNull" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (local_5c->iPKey == local_60) {\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }" if (parenthesized_expression "(local_5c->iPKey == local_60)" ( (binary_expression "local_5c->iPKey == local_60" (field_expression "local_5c->iPKey" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      pcVar4 = (char *)local_5c->tabFlags;\n      goto LAB_000c97e0;\n    }" { (expression_statement "pcVar4 = (char *)local_5c->tabFlags;" (assignment_expression "pcVar4 = (char *)local_5c->tabFlags" identifier = (cast_expression "(char *)local_5c->tabFlags" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "local_5c->tabFlags" identifier -> field_identifier))) ;) (goto_statement "goto LAB_000c97e0;" goto statement_identifier ;) })) }))) (if_statement "if (pcVar5 == (char *)0x0) {\n    pcVar5 = "BINARY";\n  }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar5 = "BINARY";\n  }" { (expression_statement "pcVar5 = "BINARY";" (assignment_expression "pcVar5 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) })) (labeled_statement "LAB_000c949e:\n  if (db->noSharedCache == '\0') {\n    btreeLeaveAll(db);\n  }" statement_identifier : (if_statement "if (db->noSharedCache == '\0') {\n    btreeLeaveAll(db);\n  }" if (parenthesized_expression "(db->noSharedCache == '\0')" ( (binary_expression "db->noSharedCache == '\0'" (field_expression "db->noSharedCache" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    btreeLeaveAll(db);\n  }" { (expression_statement "btreeLeaveAll(db);" (call_expression "btreeLeaveAll(db)" identifier (argument_list "(db)" ( identifier ))) ;) }))) (if_statement "if (pzDataType != (char **)0x0) {\n    *pzDataType = local_54;\n  }" if (parenthesized_expression "(pzDataType != (char **)0x0)" ( (binary_expression "pzDataType != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *pzDataType = local_54;\n  }" { (expression_statement "*pzDataType = local_54;" (assignment_expression "*pzDataType = local_54" (pointer_expression "*pzDataType" * identifier) = identifier) ;) })) (if_statement "if (pzCollSeq != (char **)0x0) {\n    *pzCollSeq = pcVar5;\n  }" if (parenthesized_expression "(pzCollSeq != (char **)0x0)" ( (binary_expression "pzCollSeq != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *pzCollSeq = pcVar5;\n  }" { (expression_statement "*pzCollSeq = pcVar5;" (assignment_expression "*pzCollSeq = pcVar5" (pointer_expression "*pzCollSeq" * identifier) = identifier) ;) })) (if_statement "if (pNotNull != (int *)0x0) {\n    *pNotNull = uVar6;\n  }" if (parenthesized_expression "(pNotNull != (int *)0x0)" ( (binary_expression "pNotNull != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *pNotNull = uVar6;\n  }" { (expression_statement "*pNotNull = uVar6;" (assignment_expression "*pNotNull = uVar6" (pointer_expression "*pNotNull" * identifier) = identifier) ;) })) (if_statement "if (pPrimaryKey != (int *)0x0) {\n    *pPrimaryKey = uVar7;\n  }" if (parenthesized_expression "(pPrimaryKey != (int *)0x0)" ( (binary_expression "pPrimaryKey != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *pPrimaryKey = uVar7;\n  }" { (expression_statement "*pPrimaryKey = uVar7;" (assignment_expression "*pPrimaryKey = uVar7" (pointer_expression "*pPrimaryKey" * identifier) = identifier) ;) })) (if_statement "if (pAutoinc != (int *)0x0) {\n    *pAutoinc = uVar3;\n  }" if (parenthesized_expression "(pAutoinc != (int *)0x0)" ( (binary_expression "pAutoinc != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *pAutoinc = uVar3;\n  }" { (expression_statement "*pAutoinc = uVar3;" (assignment_expression "*pAutoinc = uVar3" (pointer_expression "*pAutoinc" * identifier) = identifier) ;) })) (if_statement "if (local_5c == (Table *)0x0 && local_68 == 0) {\n    if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }\n    bVar8 = false;\n    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);\n    local_68 = 1;\n  }\n  else {\n    bVar8 = local_68 == 0xc0a;\n  }" if (parenthesized_expression "(local_5c == (Table *)0x0 && local_68 == 0)" ( (binary_expression "local_5c == (Table *)0x0 && local_68 == 0" (binary_expression "local_5c == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "local_68 == 0" identifier == number_literal)) )) (compound_statement "{\n    if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }\n    bVar8 = false;\n    zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);\n    local_68 = 1;\n  }" { (if_statement "if (zErrMsg != (char *)0x0) {\n      sqlite3DbFreeNN(db,zErrMsg);\n    }" if (parenthesized_expression "(zErrMsg != (char *)0x0)" ( (binary_expression "zErrMsg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sqlite3DbFreeNN(db,zErrMsg);\n    }" { (expression_statement "sqlite3DbFreeNN(db,zErrMsg);" (call_expression "sqlite3DbFreeNN(db,zErrMsg)" identifier (argument_list "(db,zErrMsg)" ( identifier , identifier ))) ;) })) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (expression_statement "zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName);" (assignment_expression "zErrMsg = sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName)" identifier = (call_expression "sqlite3MPrintf(db,"no such table column: %s.%s",zTableName,zColumnName)" identifier (argument_list "(db,"no such table column: %s.%s",zTableName,zColumnName)" ( identifier , (string_literal ""no such table column: %s.%s"" " string_content ") , identifier , identifier )))) ;) (expression_statement "local_68 = 1;" (assignment_expression "local_68 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    bVar8 = local_68 == 0xc0a;\n  }" else (compound_statement "{\n    bVar8 = local_68 == 0xc0a;\n  }" { (expression_statement "bVar8 = local_68 == 0xc0a;" (assignment_expression "bVar8 = local_68 == 0xc0a" identifier = (binary_expression "local_68 == 0xc0a" identifier == number_literal)) ;) }))) (expression_statement "pcVar4 = "%s";" (assignment_expression "pcVar4 = "%s"" identifier = (string_literal ""%s"" " string_content ")) ;) (if_statement "if (zErrMsg == (char *)0x0) {\n    pcVar4 = (char *)0x0;\n  }" if (parenthesized_expression "(zErrMsg == (char *)0x0)" ( (binary_expression "zErrMsg == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar4 = (char *)0x0;\n  }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg);" (call_expression "sqlite3ErrorWithMsg(db,local_68,pcVar4,zErrMsg)" identifier (argument_list "(db,local_68,pcVar4,zErrMsg)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(db,zErrMsg);\n  }" if (parenthesized_expression "(zErrMsg != (char *)0x0)" ( (binary_expression "zErrMsg != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3DbFreeNN(db,zErrMsg);\n  }" { (expression_statement "sqlite3DbFreeNN(db,zErrMsg);" (call_expression "sqlite3DbFreeNN(db,zErrMsg)" identifier (argument_list "(db,zErrMsg)" ( identifier , identifier ))) ;) })) (if_statement "if ((db->mallocFailed != '\0') || (bVar8)) {\n    local_68 = apiOomError(db);\n  }\n  else {\n    local_68 = local_68 & db->errMask;\n  }" if (parenthesized_expression "((db->mallocFailed != '\0') || (bVar8))" ( (binary_expression "(db->mallocFailed != '\0') || (bVar8)" (parenthesized_expression "(db->mallocFailed != '\0')" ( (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(bVar8)" ( identifier ))) )) (compound_statement "{\n    local_68 = apiOomError(db);\n  }" { (expression_statement "local_68 = apiOomError(db);" (assignment_expression "local_68 = apiOomError(db)" identifier = (call_expression "apiOomError(db)" identifier (argument_list "(db)" ( identifier )))) ;) }) (else_clause "else {\n    local_68 = local_68 & db->errMask;\n  }" else (compound_statement "{\n    local_68 = local_68 & db->errMask;\n  }" { (expression_statement "local_68 = local_68 & db->errMask;" (assignment_expression "local_68 = local_68 & db->errMask" identifier = (binary_expression "local_68 & db->errMask" identifier & (field_expression "db->errMask" identifier -> field_identifier))) ;) }))) (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) ))) ;) (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 local_68;" return identifier ;) })))
(translation_unit "uint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    \n  FUN_000f4bf0();\n}\n\n" (function_definition "uint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    \n  FUN_000f4bf0();\n}" type_identifier (function_declarator "FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "byte *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "uint *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "uint *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    \n  FUN_000f4bf0();\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 "uint uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_68;" type_identifier identifier ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "undefined4 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(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 "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) )))) ))) ;) (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" * (cast_expression "(char *)(param_1 + 0x55)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x55)" ( (binary_expression "param_1 + 0x55" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0002b350();\n  }" { (expression_statement "FUN_0002b350();" (call_expression "FUN_0002b350()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar3 = FUN_000ae720();" (assignment_expression "uVar3 = FUN_000ae720()" identifier = (call_expression "FUN_000ae720()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0))" ( (binary_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)" (parenthesized_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0))" ( (binary_expression "(uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_5c = FUN_00027be0(), local_5c == 0)" ( (comma_expression "local_5c = FUN_00027be0(), local_5c == 0" (assignment_expression "local_5c = FUN_00027be0()" identifier = (call_expression "FUN_00027be0()" identifier (argument_list "()" ( )))) , (binary_expression "local_5c == 0" identifier == number_literal)) ))) )) || (parenthesized_expression "(*(int *)(local_5c + 0xc) != 0)" ( (binary_expression "*(int *)(local_5c + 0xc) != 0" (pointer_expression "*(int *)(local_5c + 0xc)" * (cast_expression "(int *)(local_5c + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0xc)" ( (binary_expression "local_5c + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c9486:\n    local_54 = (char *)0x0;" statement_identifier : (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (if_statement "if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" if (parenthesized_expression "(param_4 == (byte *)0x0)" ( (binary_expression "param_4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" { (labeled_statement "LAB_000c97b3:\n    uVar5 = 0;" statement_identifier : (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;)) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) (expression_statement "local_54 = "INTEGER";" (assignment_expression "local_54 = "INTEGER"" identifier = (string_literal ""INTEGER"" " string_content ")) ;) (goto_statement "goto LAB_000c949e;" goto statement_identifier ;) })) (expression_statement "iVar4 = (int)*(short *)(local_5c + 0x2a);" (assignment_expression "iVar4 = (int)*(short *)(local_5c + 0x2a)" identifier = (cast_expression "(int)*(short *)(local_5c + 0x2a)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(local_5c + 0x2a)" * (cast_expression "(short *)(local_5c + 0x2a)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x2a)" ( (binary_expression "local_5c + 0x2a" identifier + number_literal) )))))) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }" { (if_statement "if (iVar4 != 0) goto LAB_000c97b3;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) }) (else_clause "else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" else (compound_statement "{\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" { (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_58 = *(undefined4 **)(local_5c + 4);" (assignment_expression "local_58 = *(undefined4 **)(local_5c + 4)" identifier = (pointer_expression "*(undefined4 **)(local_5c + 4)" * (cast_expression "(undefined4 **)(local_5c + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_5c + 4)" ( (binary_expression "local_5c + 4" identifier + number_literal) ))))) ;) (do_statement "do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);" do (compound_statement "{\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    }" { (expression_statement "local_34 = local_58;" (assignment_expression "local_34 = local_58" identifier = identifier) ;) (expression_statement "bVar1 = *(byte *)*local_58;" (assignment_expression "bVar1 = *(byte *)*local_58" identifier = (pointer_expression "*(byte *)*local_58" * (cast_expression "(byte *)*local_58" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_58" * identifier)))) ;) (if_statement "if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" if (parenthesized_expression "((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1])" ( (binary_expression "(&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]" (subscript_expression "(&DAT_00102900)[*param_4]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ (pointer_expression "*param_4" * identifier) ]) == (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ identifier ])) )) (compound_statement "{\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" { (if_statement "if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" { (labeled_statement "LAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" statement_identifier : (expression_statement "uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_58 + 0xf)" identifier = (binary_expression "(uint)*(byte *)((int)local_58 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)local_58 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_58 + 0xf)" ( (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) (if_statement "if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;" if (parenthesized_expression "((*(byte *)((int)local_58 + 0xf) & 4) == 0)" ( (binary_expression "(*(byte *)((int)local_58 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_58 + 0xf) & 4)" ( (binary_expression "*(byte *)((int)local_58 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_58 + 0xf)" * (cast_expression "(byte *)((int)local_58 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_58 + 0xf)" ( (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000c9713;" goto statement_identifier ;)) (goto_statement "goto LAB_000c970a;" goto statement_identifier ;) })) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (while_statement "while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" while (parenthesized_expression "(bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]])" ( (comma_expression "bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (assignment_expression "bVar1 = ((byte *)*local_58)[iVar7]" identifier = (subscript_expression "((byte *)*local_58)[iVar7]" (parenthesized_expression "((byte *)*local_58)" ( (cast_expression "(byte *)*local_58" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_58" * identifier)) )) [ identifier ])) , (binary_expression "(&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ identifier ]) == (subscript_expression "(&DAT_00102900)[param_4[iVar7]]" (parenthesized_expression "(&DAT_00102900)" ( (pointer_expression "&DAT_00102900" & identifier) )) [ (subscript_expression "param_4[iVar7]" identifier [ identifier ]) ]))) )) (compound_statement "{\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == 0) goto LAB_000c9794;" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000c9794;" goto statement_identifier ;)) })) })) (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = local_58 + 4;" (assignment_expression "local_58 = local_58 + 4" identifier = (binary_expression "local_58 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_60 != iVar4)" ( (binary_expression "local_60 != iVar4" identifier != identifier) )) ;) }))) (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" identifier = (pointer_expression "*(uint *)(local_5c + 0x24)" * (cast_expression "(uint *)(local_5c + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x24)" ( (binary_expression "local_5c + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;" if (parenthesized_expression "(((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0))" ( (binary_expression "((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)" (parenthesized_expression "((uVar5 & 0x20) != 0)" ( (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" ( (binary_expression "uVar5 & 0x20" identifier & number_literal) )) != number_literal) )) || (parenthesized_expression "(iVar4 = FUN_0002dc00(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0002dc00(), iVar4 == 0" (assignment_expression "iVar4 = FUN_0002dc00()" identifier = (call_expression "FUN_0002dc00()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_000c9486;" goto statement_identifier ;)) (expression_statement "local_60 = (int)*(short *)(local_5c + 0x28);" (assignment_expression "local_60 = (int)*(short *)(local_5c + 0x28)" identifier = (cast_expression "(int)*(short *)(local_5c + 0x28)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(local_5c + 0x28)" * (cast_expression "(short *)(local_5c + 0x28)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x28)" ( (binary_expression "local_5c + 0x28" identifier + number_literal) )))))) ;) (if_statement "if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;" if (parenthesized_expression "((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0))" ( (binary_expression "(local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" (parenthesized_expression "(local_60 < 0)" ( (binary_expression "local_60 < 0" identifier < number_literal) )) || (parenthesized_expression "(local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" ( (comma_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0" (assignment_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" identifier = (cast_expression "(undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_60 * 0x10 + *(int *)(local_5c + 4))" ( (binary_expression "local_60 * 0x10 + *(int *)(local_5c + 4)" (binary_expression "local_60 * 0x10" identifier * number_literal) + (pointer_expression "*(int *)(local_5c + 4)" * (cast_expression "(int *)(local_5c + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 4)" ( (binary_expression "local_5c + 4" identifier + number_literal) ))))) )))) , (binary_expression "local_34 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_000c97b3;" goto statement_identifier ;)) (expression_statement "uVar10 = (uint)*(byte *)((int)local_34 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_34 + 0xf)" identifier = (binary_expression "(uint)*(byte *)((int)local_34 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)local_34 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_34 + 0xf)" ( (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" if (parenthesized_expression "((*(byte *)((int)local_34 + 0xf) & 4) == 0)" ( (binary_expression "(*(byte *)((int)local_34 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_34 + 0xf) & 4)" ( (binary_expression "*(byte *)((int)local_34 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_34 + 0xf)" * (cast_expression "(byte *)((int)local_34 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_34 + 0xf)" ( (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }" { (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" identifier = (cast_expression "(char *)local_34[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" identifier = (binary_expression "uVar10 & 1" identifier & number_literal)) ;) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" identifier = (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(local_34 + 3) != '\0')" ( (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" * (cast_expression "(char *)(local_34 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 3)" ( (binary_expression "local_34 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (labeled_statement "LAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;" statement_identifier : (expression_statement "uVar5 = uVar5 >> 3 & 1;" (assignment_expression "uVar5 = uVar5 >> 3 & 1" identifier = (binary_expression "uVar5 >> 3 & 1" (binary_expression "uVar5 >> 3" identifier >> number_literal) & number_literal)) ;)) }) (else_clause "else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" else (compound_statement "{\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" { (labeled_statement "LAB_000c970a:\n    local_54 = (char *)FUN_00035d70();" statement_identifier : (expression_statement "local_54 = (char *)FUN_00035d70();" (assignment_expression "local_54 = (char *)FUN_00035d70()" identifier = (cast_expression "(char *)FUN_00035d70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00035d70()" identifier (argument_list "()" ( ))))) ;)) (labeled_statement "LAB_000c9713:\n    pcVar8 = (char *)local_34[2];" statement_identifier : (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" identifier = (cast_expression "(char *)local_34[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;)) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" identifier = (binary_expression "uVar10 & 1" identifier & number_literal)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" identifier = (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(local_34 + 3) != '\0')" ( (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" * (cast_expression "(char *)(local_34 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_34 + 3)" ( (binary_expression "local_34 + 3" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" if (parenthesized_expression "(*(short *)(local_5c + 0x28) == local_60)" ( (binary_expression "*(short *)(local_5c + 0x28) == local_60" (pointer_expression "*(short *)(local_5c + 0x28)" * (cast_expression "(short *)(local_5c + 0x28)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x28)" ( (binary_expression "local_5c + 0x28" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" { (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" identifier = (pointer_expression "*(uint *)(local_5c + 0x24)" * (cast_expression "(uint *)(local_5c + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_5c + 0x24)" ( (binary_expression "local_5c + 0x24" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000c97e0;" goto statement_identifier ;) })) }))) (if_statement "if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar8 = "BINARY";\n  }" { (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" identifier = (string_literal ""BINARY"" " string_content ")) ;) })) (labeled_statement "LAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" * (cast_expression "(char *)(param_1 + 0x55)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x55)" ( (binary_expression "param_1 + 0x55" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_0002b3d0();\n  }" { (expression_statement "FUN_0002b3d0();" (call_expression "FUN_0002b3d0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = local_54;\n  }" { (expression_statement "*param_5 = local_54;" (assignment_expression "*param_5 = local_54" (pointer_expression "*param_5" * identifier) = identifier) ;) })) (if_statement "if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }" if (parenthesized_expression "(param_6 != (undefined4 *)0x0)" ( (binary_expression "param_6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_6 = pcVar8;\n  }" { (expression_statement "*param_6 = pcVar8;" (assignment_expression "*param_6 = pcVar8" (pointer_expression "*param_6" * identifier) = identifier) ;) })) (if_statement "if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }" if (parenthesized_expression "(param_7 != (uint *)0x0)" ( (binary_expression "param_7 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_7 = uVar9;\n  }" { (expression_statement "*param_7 = uVar9;" (assignment_expression "*param_7 = uVar9" (pointer_expression "*param_7" * identifier) = identifier) ;) })) (if_statement "if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }" if (parenthesized_expression "(param_8 != (uint *)0x0)" ( (binary_expression "param_8 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_8 = uVar10;\n  }" { (expression_statement "*param_8 = uVar10;" (assignment_expression "*param_8 = uVar10" (pointer_expression "*param_8" * identifier) = identifier) ;) })) (if_statement "if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }" if (parenthesized_expression "(param_9 != (uint *)0x0)" ( (binary_expression "param_9 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_9 = uVar5;\n  }" { (expression_statement "*param_9 = uVar5;" (assignment_expression "*param_9 = uVar5" (pointer_expression "*param_9" * identifier) = identifier) ;) })) (expression_statement "local_68 = uVar3;" (assignment_expression "local_68 = uVar3" identifier = identifier) ;) (if_statement "if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" if (parenthesized_expression "(local_5c == 0 && uVar3 == 0)" ( (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" identifier == number_literal) && (binary_expression "uVar3 == 0" identifier == number_literal)) )) (compound_statement "{\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" { (expression_statement "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);" (assignment_expression "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" identifier = (call_expression "FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" identifier (argument_list "(param_1,"no such table column: %s.%s",param_3,param_4)" ( identifier , (string_literal ""no such table column: %s.%s"" " string_content ") , identifier , identifier )))) ;) (expression_statement "local_68 = 1;" (assignment_expression "local_68 = 1" identifier = number_literal) ;) })) (expression_statement "puVar6 = &DAT_000f6ce3;" (assignment_expression "puVar6 = &DAT_000f6ce3" identifier = (pointer_expression "&DAT_000f6ce3" & identifier)) ;) (if_statement "if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar6 = (undefined *)0x0;\n  }" { (expression_statement "puVar6 = (undefined *)0x0;" (assignment_expression "puVar6 = (undefined *)0x0" identifier = (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "FUN_00056af0(param_1,local_68,puVar6,local_24);" (call_expression "FUN_00056af0(param_1,local_68,puVar6,local_24)" identifier (argument_list "(param_1,local_68,puVar6,local_24)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_24 != 0) {\n    FUN_00024d80();\n  }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00024d80();\n  }" { (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a))" ( (binary_expression "(*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" (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 ')) )) && (parenthesized_expression "(local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" ( (binary_expression "local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a" (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" identifier == number_literal) && (binary_expression "uVar3 == 0" identifier == number_literal)) || (binary_expression "uVar3 != 0xc0a" identifier != number_literal)) ))) )) (compound_statement "{\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }" { (expression_statement "local_68 = local_68 & *(uint *)(param_1 + 0x40);" (assignment_expression "local_68 = local_68 & *(uint *)(param_1 + 0x40)" identifier = (binary_expression "local_68 & *(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    local_68 = FUN_000383b0();\n  }" else (compound_statement "{\n    local_68 = FUN_000383b0();\n  }" { (expression_statement "local_68 = FUN_000383b0();" (assignment_expression "local_68 = FUN_000383b0()" identifier = (call_expression "FUN_000383b0()" 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) )))) ))) ;) (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(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    return local_68;\n  }" { (return_statement "return local_68;" return identifier ;) })) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (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 ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) == (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ IDENT ])) , (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (subscript_expression IDENT [ IDENT ]) ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 = (string_literal " string_content ")) ;) })) (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 ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (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) = IDENT) ;) })) (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) = IDENT) ;) })) (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) = IDENT) ;) })) (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) = IDENT) ;) })) (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) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & 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 *)) ) LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) || (binary_expression IDENT != LIT)) ))) )) (compound_statement { (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 (assignment_expression IDENT = (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) )))) ))) ;) (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 { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    \n  FUN_000f4bf0();\n}" (type_identifier "uint") (function_declarator "FUN_000c93d0(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" (identifier "FUN_000c93d0") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,\n                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "byte *param_4" (type_identifier "byte") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "uint *param_7" (type_identifier "uint") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "uint *param_8" (type_identifier "uint") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "uint *param_9" (type_identifier "uint") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  undefined *puVar6;\n  int iVar7;\n  char *pcVar8;\n  uint uVar9;\n  uint uVar10;\n  int in_GS_OFFSET;\n  uint local_68;\n  int local_60;\n  int local_5c;\n  undefined4 *local_58;\n  char *local_54;\n  undefined4 *local_34;\n  int local_24;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  local_24 = 0;\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }\n  uVar3 = FUN_000ae720();\n  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }\n  if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }\n  iVar4 = (int)*(short *)(local_5c + 0x2a);\n  local_54 = (char *)0x0;\n  if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }\n  uVar5 = *(uint *)(local_5c + 0x24);\n  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;\n  local_60 = (int)*(short *)(local_5c + 0x28);\n  if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;\n  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);\n  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }\n  if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }\nLAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }\n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }\n  if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }\n  if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }\n  if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }\n  if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }\n  local_68 = uVar3;\n  if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }\n  puVar6 = &DAT_000f6ce3;\n  if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }\n  FUN_00056af0(param_1,local_68,puVar6,local_24);\n  if (local_24 != 0) {\n    FUN_00024d80();\n  }\n  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }\n                    \n  FUN_000f4bf0();\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 "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint local_68;" (type_identifier "uint") (identifier "local_68") (; ";")) (declaration "int local_60;" (primitive_type "int") (identifier "local_60") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "undefined4 *local_58;" (type_identifier "undefined4") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "char *local_54;" (primitive_type "char") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "undefined4 *local_34;" (type_identifier "undefined4") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (= "=") (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 "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")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b350();\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" (* "*") (cast_expression "(char *)(param_1 + 0x55)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x55)" (( "(") (binary_expression "param_1 + 0x55" (identifier "param_1") (+ "+") (number_literal "0x55")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_0002b350();\n  }" ({ "{") (expression_statement "FUN_0002b350();" (call_expression "FUN_0002b350()" (identifier "FUN_0002b350") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = FUN_000ae720();" (assignment_expression "uVar3 = FUN_000ae720()" (identifier "uVar3") (= "=") (call_expression "FUN_000ae720()" (identifier "FUN_000ae720") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)) {\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" (if "if") (parenthesized_expression "(((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0))" (( "(") (binary_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||\n     (*(int *)(local_5c + 0xc) != 0)" (parenthesized_expression "((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0))" (( "(") (binary_expression "(uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)" (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_5c = FUN_00027be0(), local_5c == 0)" (( "(") (comma_expression "local_5c = FUN_00027be0(), local_5c == 0" (assignment_expression "local_5c = FUN_00027be0()" (identifier "local_5c") (= "=") (call_expression "FUN_00027be0()" (identifier "FUN_00027be0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(local_5c + 0xc) != 0)" (( "(") (binary_expression "*(int *)(local_5c + 0xc) != 0" (pointer_expression "*(int *)(local_5c + 0xc)" (* "*") (cast_expression "(int *)(local_5c + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0xc)" (( "(") (binary_expression "local_5c + 0xc" (identifier "local_5c") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_000c9486:\n    local_54 = (char *)0x0;\n    uVar5 = 0;\n    uVar10 = 0;\n    uVar9 = 0;\n    local_5c = 0;\n    pcVar8 = (char *)0x0;\n    goto LAB_000c949e;\n  }" ({ "{") (labeled_statement "LAB_000c9486:\n    local_54 = (char *)0x0;" (statement_identifier "LAB_000c9486") (: ":") (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" (identifier "local_54") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" (identifier "pcVar8") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_000c949e;" (goto "goto") (statement_identifier "LAB_000c949e") (; ";")) (} "}"))) (if_statement "if (param_4 == (byte *)0x0) {\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" (if "if") (parenthesized_expression "(param_4 == (byte *)0x0)" (( "(") (binary_expression "param_4 == (byte *)0x0" (identifier "param_4") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000c97b3:\n    uVar5 = 0;\n    uVar9 = 0;\n    uVar10 = 1;\n    pcVar8 = "BINARY";\n    local_54 = "INTEGER";\n    goto LAB_000c949e;\n  }" ({ "{") (labeled_statement "LAB_000c97b3:\n    uVar5 = 0;" (statement_identifier "LAB_000c97b3") (: ":") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" (identifier "pcVar8") (= "=") (string_literal ""BINARY"" (" """) (string_content "BINARY") (" """))) (; ";")) (expression_statement "local_54 = "INTEGER";" (assignment_expression "local_54 = "INTEGER"" (identifier "local_54") (= "=") (string_literal ""INTEGER"" (" """) (string_content "INTEGER") (" """))) (; ";")) (goto_statement "goto LAB_000c949e;" (goto "goto") (statement_identifier "LAB_000c949e") (; ";")) (} "}"))) (expression_statement "iVar4 = (int)*(short *)(local_5c + 0x2a);" (assignment_expression "iVar4 = (int)*(short *)(local_5c + 0x2a)" (identifier "iVar4") (= "=") (cast_expression "(int)*(short *)(local_5c + 0x2a)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(local_5c + 0x2a)" (* "*") (cast_expression "(short *)(local_5c + 0x2a)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0x2a)" (( "(") (binary_expression "local_5c + 0x2a" (identifier "local_5c") (+ "+") (number_literal "0x2a")) () ")")))))) (; ";")) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" (identifier "local_54") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar4 < 1) {\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }\n  else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" (if "if") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    if (iVar4 != 0) goto LAB_000c97b3;\n  }" ({ "{") (if_statement "if (iVar4 != 0) goto LAB_000c97b3;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000c97b3;" (goto "goto") (statement_identifier "LAB_000c97b3") (; ";"))) (} "}")) (else_clause "else {\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" (else "else") (compound_statement "{\n    local_60 = 0;\n    local_58 = *(undefined4 **)(local_5c + 4);\n    do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);\n  }" ({ "{") (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58 = *(undefined4 **)(local_5c + 4);" (assignment_expression "local_58 = *(undefined4 **)(local_5c + 4)" (identifier "local_58") (= "=") (pointer_expression "*(undefined4 **)(local_5c + 4)" (* "*") (cast_expression "(undefined4 **)(local_5c + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_5c + 4)" (( "(") (binary_expression "local_5c + 4" (identifier "local_5c") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (do_statement "do {\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    } while (local_60 != iVar4);" (do "do") (compound_statement "{\n      local_34 = local_58;\n      bVar1 = *(byte *)*local_58;\n      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }\n      local_60 = local_60 + 1;\n      local_58 = local_58 + 4;\n    }" ({ "{") (expression_statement "local_34 = local_58;" (assignment_expression "local_34 = local_58" (identifier "local_34") (= "=") (identifier "local_58")) (; ";")) (expression_statement "bVar1 = *(byte *)*local_58;" (assignment_expression "bVar1 = *(byte *)*local_58" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)*local_58" (* "*") (cast_expression "(byte *)*local_58" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_58" (* "*") (identifier "local_58"))))) (; ";")) (if_statement "if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" (if "if") (parenthesized_expression "((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1])" (( "(") (binary_expression "(&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]" (subscript_expression "(&DAT_00102900)[*param_4]" (parenthesized_expression "(&DAT_00102900)" (( "(") (pointer_expression "&DAT_00102900" (& "&") (identifier "DAT_00102900")) () ")")) ([ "[") (pointer_expression "*param_4" (* "*") (identifier "param_4")) (] "]")) (== "==") (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" (( "(") (pointer_expression "&DAT_00102900" (& "&") (identifier "DAT_00102900")) () ")")) ([ "[") (identifier "bVar1") (] "]"))) () ")")) (compound_statement "{\n        if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }\n        iVar7 = 1;\n        while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }\n      }" ({ "{") (if_statement "if (bVar1 == 0) {\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" (if "if") (parenthesized_expression "(bVar1 == 0)" (( "(") (binary_expression "bVar1 == 0" (identifier "bVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);\n          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;\n          goto LAB_000c970a;\n        }" ({ "{") (labeled_statement "LAB_000c9794:\n          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" (statement_identifier "LAB_000c9794") (: ":") (expression_statement "uVar10 = (uint)*(byte *)((int)local_58 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_58 + 0xf)" (identifier "uVar10") (= "=") (binary_expression "(uint)*(byte *)((int)local_58 + 0xf)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)local_58 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_58 + 0xf)" (( "(") (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_58")) (+ "+") (number_literal "0xf")) () ")"))))) (; ";"))) (if_statement "if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;" (if "if") (parenthesized_expression "((*(byte *)((int)local_58 + 0xf) & 4) == 0)" (( "(") (binary_expression "(*(byte *)((int)local_58 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_58 + 0xf) & 4)" (( "(") (binary_expression "*(byte *)((int)local_58 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_58 + 0xf)" (* "*") (cast_expression "(byte *)((int)local_58 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_58 + 0xf)" (( "(") (binary_expression "(int)local_58 + 0xf" (cast_expression "(int)local_58" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_58")) (+ "+") (number_literal "0xf")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000c9713;" (goto "goto") (statement_identifier "LAB_000c9713") (; ";"))) (goto_statement "goto LAB_000c970a;" (goto "goto") (statement_identifier "LAB_000c970a") (; ";")) (} "}"))) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (while_statement "while (bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" (while "while") (parenthesized_expression "(bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]])" (( "(") (comma_expression "bVar1 = ((byte *)*local_58)[iVar7],\n              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (assignment_expression "bVar1 = ((byte *)*local_58)[iVar7]" (identifier "bVar1") (= "=") (subscript_expression "((byte *)*local_58)[iVar7]" (parenthesized_expression "((byte *)*local_58)" (( "(") (cast_expression "(byte *)*local_58" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_58" (* "*") (identifier "local_58"))) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (, ",") (binary_expression "(&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]" (subscript_expression "(&DAT_00102900)[bVar1]" (parenthesized_expression "(&DAT_00102900)" (( "(") (pointer_expression "&DAT_00102900" (& "&") (identifier "DAT_00102900")) () ")")) ([ "[") (identifier "bVar1") (] "]")) (== "==") (subscript_expression "(&DAT_00102900)[param_4[iVar7]]" (parenthesized_expression "(&DAT_00102900)" (( "(") (pointer_expression "&DAT_00102900" (& "&") (identifier "DAT_00102900")) () ")")) ([ "[") (subscript_expression "param_4[iVar7]" (identifier "param_4") ([ "[") (identifier "iVar7") (] "]")) (] "]")))) () ")")) (compound_statement "{\n          iVar7 = iVar7 + 1;\n          if (bVar1 == 0) goto LAB_000c9794;\n        }" ({ "{") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1 == 0) goto LAB_000c9794;" (if "if") (parenthesized_expression "(bVar1 == 0)" (( "(") (binary_expression "bVar1 == 0" (identifier "bVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000c9794;" (goto "goto") (statement_identifier "LAB_000c9794") (; ";"))) (} "}"))) (} "}"))) (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" (identifier "local_60") (= "=") (binary_expression "local_60 + 1" (identifier "local_60") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_58 = local_58 + 4;" (assignment_expression "local_58 = local_58 + 4" (identifier "local_58") (= "=") (binary_expression "local_58 + 4" (identifier "local_58") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_60 != iVar4)" (( "(") (binary_expression "local_60 != iVar4" (identifier "local_60") (!= "!=") (identifier "iVar4")) () ")")) (; ";")) (} "}")))) (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(local_5c + 0x24)" (* "*") (cast_expression "(uint *)(local_5c + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0x24)" (( "(") (binary_expression "local_5c + 0x24" (identifier "local_5c") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;" (if "if") (parenthesized_expression "(((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0))" (( "(") (binary_expression "((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)" (parenthesized_expression "((uVar5 & 0x20) != 0)" (( "(") (binary_expression "(uVar5 & 0x20) != 0" (parenthesized_expression "(uVar5 & 0x20)" (( "(") (binary_expression "uVar5 & 0x20" (identifier "uVar5") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = FUN_0002dc00(), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_0002dc00(), iVar4 == 0" (assignment_expression "iVar4 = FUN_0002dc00()" (identifier "iVar4") (= "=") (call_expression "FUN_0002dc00()" (identifier "FUN_0002dc00") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_000c9486;" (goto "goto") (statement_identifier "LAB_000c9486") (; ";"))) (expression_statement "local_60 = (int)*(short *)(local_5c + 0x28);" (assignment_expression "local_60 = (int)*(short *)(local_5c + 0x28)" (identifier "local_60") (= "=") (cast_expression "(int)*(short *)(local_5c + 0x28)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(local_5c + 0x28)" (* "*") (cast_expression "(short *)(local_5c + 0x28)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0x28)" (( "(") (binary_expression "local_5c + 0x28" (identifier "local_5c") (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (if_statement "if ((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;" (if "if") (parenthesized_expression "((local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0))" (( "(") (binary_expression "(local_60 < 0) ||\n     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" (parenthesized_expression "(local_60 < 0)" (( "(") (binary_expression "local_60 < 0" (identifier "local_60") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0)" (( "(") (comma_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),\n     local_34 == (undefined4 *)0x0" (assignment_expression "local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" (identifier "local_34") (= "=") (cast_expression "(undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_60 * 0x10 + *(int *)(local_5c + 4))" (( "(") (binary_expression "local_60 * 0x10 + *(int *)(local_5c + 4)" (binary_expression "local_60 * 0x10" (identifier "local_60") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(local_5c + 4)" (* "*") (cast_expression "(int *)(local_5c + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 4)" (( "(") (binary_expression "local_5c + 4" (identifier "local_5c") (+ "+") (number_literal "4")) () ")"))))) () ")")))) (, ",") (binary_expression "local_34 == (undefined4 *)0x0" (identifier "local_34") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (goto_statement "goto LAB_000c97b3;" (goto "goto") (statement_identifier "LAB_000c97b3") (; ";"))) (expression_statement "uVar10 = (uint)*(byte *)((int)local_34 + 0xf);" (assignment_expression "uVar10 = (uint)*(byte *)((int)local_34 + 0xf)" (identifier "uVar10") (= "=") (binary_expression "(uint)*(byte *)((int)local_34 + 0xf)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)local_34 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_34 + 0xf)" (( "(") (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (+ "+") (number_literal "0xf")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }\n  else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)((int)local_34 + 0xf) & 4) == 0)" (( "(") (binary_expression "(*(byte *)((int)local_34 + 0xf) & 4) == 0" (parenthesized_expression "(*(byte *)((int)local_34 + 0xf) & 4)" (( "(") (binary_expression "*(byte *)((int)local_34 + 0xf) & 4" (pointer_expression "*(byte *)((int)local_34 + 0xf)" (* "*") (cast_expression "(byte *)((int)local_34 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_34 + 0xf)" (( "(") (binary_expression "(int)local_34 + 0xf" (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (+ "+") (number_literal "0xf")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\nLAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;\n  }" ({ "{") (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" (identifier "pcVar8") (= "=") (cast_expression "(char *)local_34[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 & 1" (identifier "uVar10") (& "&") (number_literal "1"))) (; ";")) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" (identifier "uVar9") (= "=") (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(char *)(local_34 + 3) != '\0')" (( "(") (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" (* "*") (cast_expression "(char *)(local_34 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 3)" (( "(") (binary_expression "local_34 + 3" (identifier "local_34") (+ "+") (number_literal "3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (; ";")) (labeled_statement "LAB_000c97e0:\n    uVar5 = uVar5 >> 3 & 1;" (statement_identifier "LAB_000c97e0") (: ":") (expression_statement "uVar5 = uVar5 >> 3 & 1;" (assignment_expression "uVar5 = uVar5 >> 3 & 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 3 & 1" (binary_expression "uVar5 >> 3" (identifier "uVar5") (>> ">>") (number_literal "3")) (& "&") (number_literal "1"))) (; ";"))) (} "}")) (else_clause "else {\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" (else "else") (compound_statement "{\nLAB_000c970a:\n    local_54 = (char *)FUN_00035d70();\nLAB_000c9713:\n    pcVar8 = (char *)local_34[2];\n    uVar10 = uVar10 & 1;\n    uVar5 = 0;\n    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');\n    if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }\n  }" ({ "{") (labeled_statement "LAB_000c970a:\n    local_54 = (char *)FUN_00035d70();" (statement_identifier "LAB_000c970a") (: ":") (expression_statement "local_54 = (char *)FUN_00035d70();" (assignment_expression "local_54 = (char *)FUN_00035d70()" (identifier "local_54") (= "=") (cast_expression "(char *)FUN_00035d70()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00035d70()" (identifier "FUN_00035d70") (argument_list "()" (( "(") () ")"))))) (; ";"))) (labeled_statement "LAB_000c9713:\n    pcVar8 = (char *)local_34[2];" (statement_identifier "LAB_000c9713") (: ":") (expression_statement "pcVar8 = (char *)local_34[2];" (assignment_expression "pcVar8 = (char *)local_34[2]" (identifier "pcVar8") (= "=") (cast_expression "(char *)local_34[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) (; ";"))) (expression_statement "uVar10 = uVar10 & 1;" (assignment_expression "uVar10 = uVar10 & 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 & 1" (identifier "uVar10") (& "&") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');" (assignment_expression "uVar9 = (uint)(*(char *)(local_34 + 3) != '\0')" (identifier "uVar9") (= "=") (call_expression "(uint)(*(char *)(local_34 + 3) != '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(char *)(local_34 + 3) != '\0')" (( "(") (binary_expression "*(char *)(local_34 + 3) != '\0'" (pointer_expression "*(char *)(local_34 + 3)" (* "*") (cast_expression "(char *)(local_34 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_34 + 3)" (( "(") (binary_expression "local_34 + 3" (identifier "local_34") (+ "+") (number_literal "3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (; ";")) (if_statement "if (*(short *)(local_5c + 0x28) == local_60) {\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" (if "if") (parenthesized_expression "(*(short *)(local_5c + 0x28) == local_60)" (( "(") (binary_expression "*(short *)(local_5c + 0x28) == local_60" (pointer_expression "*(short *)(local_5c + 0x28)" (* "*") (cast_expression "(short *)(local_5c + 0x28)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0x28)" (( "(") (binary_expression "local_5c + 0x28" (identifier "local_5c") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (identifier "local_60")) () ")")) (compound_statement "{\n      uVar5 = *(uint *)(local_5c + 0x24);\n      goto LAB_000c97e0;\n    }" ({ "{") (expression_statement "uVar5 = *(uint *)(local_5c + 0x24);" (assignment_expression "uVar5 = *(uint *)(local_5c + 0x24)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(local_5c + 0x24)" (* "*") (cast_expression "(uint *)(local_5c + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_5c + 0x24)" (( "(") (binary_expression "local_5c + 0x24" (identifier "local_5c") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (goto_statement "goto LAB_000c97e0;" (goto "goto") (statement_identifier "LAB_000c97e0") (; ";")) (} "}"))) (} "}")))) (if_statement "if (pcVar8 == (char *)0x0) {\n    pcVar8 = "BINARY";\n  }" (if "if") (parenthesized_expression "(pcVar8 == (char *)0x0)" (( "(") (binary_expression "pcVar8 == (char *)0x0" (identifier "pcVar8") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar8 = "BINARY";\n  }" ({ "{") (expression_statement "pcVar8 = "BINARY";" (assignment_expression "pcVar8 = "BINARY"" (identifier "pcVar8") (= "=") (string_literal ""BINARY"" (" """) (string_content "BINARY") (" """))) (; ";")) (} "}"))) (labeled_statement "LAB_000c949e:\n  if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" (statement_identifier "LAB_000c949e") (: ":") (if_statement "if (*(char *)(param_1 + 0x55) == '\0') {\n    FUN_0002b3d0();\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x55) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x55) == '\0'" (pointer_expression "*(char *)(param_1 + 0x55)" (* "*") (cast_expression "(char *)(param_1 + 0x55)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x55)" (( "(") (binary_expression "param_1 + 0x55" (identifier "param_1") (+ "+") (number_literal "0x55")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_0002b3d0();\n  }" ({ "{") (expression_statement "FUN_0002b3d0();" (call_expression "FUN_0002b3d0()" (identifier "FUN_0002b3d0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = local_54;\n  }" (if "if") (parenthesized_expression "(param_5 != (undefined4 *)0x0)" (( "(") (binary_expression "param_5 != (undefined4 *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = local_54;\n  }" ({ "{") (expression_statement "*param_5 = local_54;" (assignment_expression "*param_5 = local_54" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "local_54")) (; ";")) (} "}"))) (if_statement "if (param_6 != (undefined4 *)0x0) {\n    *param_6 = pcVar8;\n  }" (if "if") (parenthesized_expression "(param_6 != (undefined4 *)0x0)" (( "(") (binary_expression "param_6 != (undefined4 *)0x0" (identifier "param_6") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_6 = pcVar8;\n  }" ({ "{") (expression_statement "*param_6 = pcVar8;" (assignment_expression "*param_6 = pcVar8" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "pcVar8")) (; ";")) (} "}"))) (if_statement "if (param_7 != (uint *)0x0) {\n    *param_7 = uVar9;\n  }" (if "if") (parenthesized_expression "(param_7 != (uint *)0x0)" (( "(") (binary_expression "param_7 != (uint *)0x0" (identifier "param_7") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_7 = uVar9;\n  }" ({ "{") (expression_statement "*param_7 = uVar9;" (assignment_expression "*param_7 = uVar9" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "uVar9")) (; ";")) (} "}"))) (if_statement "if (param_8 != (uint *)0x0) {\n    *param_8 = uVar10;\n  }" (if "if") (parenthesized_expression "(param_8 != (uint *)0x0)" (( "(") (binary_expression "param_8 != (uint *)0x0" (identifier "param_8") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_8 = uVar10;\n  }" ({ "{") (expression_statement "*param_8 = uVar10;" (assignment_expression "*param_8 = uVar10" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (if_statement "if (param_9 != (uint *)0x0) {\n    *param_9 = uVar5;\n  }" (if "if") (parenthesized_expression "(param_9 != (uint *)0x0)" (( "(") (binary_expression "param_9 != (uint *)0x0" (identifier "param_9") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_9 = uVar5;\n  }" ({ "{") (expression_statement "*param_9 = uVar5;" (assignment_expression "*param_9 = uVar5" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "local_68 = uVar3;" (assignment_expression "local_68 = uVar3" (identifier "local_68") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (local_5c == 0 && uVar3 == 0) {\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" (if "if") (parenthesized_expression "(local_5c == 0 && uVar3 == 0)" (( "(") (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);\n    local_68 = 1;\n  }" ({ "{") (expression_statement "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);" (assignment_expression "local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" (identifier "local_24") (= "=") (call_expression "FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4)" (identifier "FUN_0005e630") (argument_list "(param_1,"no such table column: %s.%s",param_3,param_4)" (( "(") (identifier "param_1") (, ",") (string_literal ""no such table column: %s.%s"" (" """) (string_content "no such table column: %s.%s") (" """)) (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "local_68 = 1;" (assignment_expression "local_68 = 1" (identifier "local_68") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "puVar6 = &DAT_000f6ce3;" (assignment_expression "puVar6 = &DAT_000f6ce3" (identifier "puVar6") (= "=") (pointer_expression "&DAT_000f6ce3" (& "&") (identifier "DAT_000f6ce3"))) (; ";")) (if_statement "if (local_24 == 0) {\n    puVar6 = (undefined *)0x0;\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar6 = (undefined *)0x0;\n  }" ({ "{") (expression_statement "puVar6 = (undefined *)0x0;" (assignment_expression "puVar6 = (undefined *)0x0" (identifier "puVar6") (= "=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "FUN_00056af0(param_1,local_68,puVar6,local_24);" (call_expression "FUN_00056af0(param_1,local_68,puVar6,local_24)" (identifier "FUN_00056af0") (argument_list "(param_1,local_68,puVar6,local_24)" (( "(") (identifier "param_1") (, ",") (identifier "local_68") (, ",") (identifier "puVar6") (, ",") (identifier "local_24") () ")"))) (; ";")) (if_statement "if (local_24 != 0) {\n    FUN_00024d80();\n  }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00024d80();\n  }" ({ "{") (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" (identifier "FUN_00024d80") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }\n  else {\n    local_68 = FUN_000383b0();\n  }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a))" (( "(") (binary_expression "(*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" (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") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)" (( "(") (binary_expression "local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a" (binary_expression "local_5c == 0 && uVar3 == 0" (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0"))) (|| "||") (binary_expression "uVar3 != 0xc0a" (identifier "uVar3") (!= "!=") (number_literal "0xc0a"))) () ")"))) () ")")) (compound_statement "{\n    local_68 = local_68 & *(uint *)(param_1 + 0x40);\n  }" ({ "{") (expression_statement "local_68 = local_68 & *(uint *)(param_1 + 0x40);" (assignment_expression "local_68 = local_68 & *(uint *)(param_1 + 0x40)" (identifier "local_68") (= "=") (binary_expression "local_68 & *(uint *)(param_1 + 0x40)" (identifier "local_68") (& "&") (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    local_68 = FUN_000383b0();\n  }" (else "else") (compound_statement "{\n    local_68 = FUN_000383b0();\n  }" ({ "{") (expression_statement "local_68 = FUN_000383b0();" (assignment_expression "local_68 = FUN_000383b0()" (identifier "local_68") (= "=") (call_expression "FUN_000383b0()" (identifier "FUN_000383b0") (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")) () ")")))) () ")"))) (; ";")) (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_68;\n  }" (if "if") (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar2 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar2") (== "==") (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    return local_68;\n  }" ({ "{") (return_statement "return local_68;" (return "return") (identifier "local_68") (; ";")) (} "}"))) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" (identifier "FUN_000f4bf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1
              (type_1 *db,char *zDbName,char *zTableName,char *var_8,char **var_20,
              char **var_21,int *var_22,int *var_23,int *var_24)

{
  type_2 *var_11;
  int var_9;
  type_3 *pCol;
  type_3 *pCol_1;
  type_3 *extraout_ECX;
  type_4 uVar3;
  char *var_10;
  char *extraout_EDX;
  char *var_18;
  type_4 uVar6;
  type_4 var_16;
  int var_1;
  bool bVar8;
  type_4 var_5;
  int var_12;
  type_5 *var_7;
  type_3 *var_13;
  char *local_54;
  type_3 *var_15;
  char *var_25;
  int var_31;
  type_6 uStack_14;
  
  uStack_14 = 0xc93d9;
  var_31 = *(int *)(var_1 + 0x14);
  var_25 = (char *)0x0;
  var_2(db->mutex);
  if (db->noSharedCache == '\0') {
    var_3(db);
  }
  var_5 = var_4(db,&var_25);
  if (((var_5 != 0) ||
      (var_7 = var_6(db,zTableName,zDbName), var_7 == (type_5 *)0x0)) ||
     (var_7->pSelect != (type_7 *)0x0)) {
LAB_000c9486:
    local_54 = (char *)0x0;
    uVar3 = 0;
    var_16 = 0;
    uVar6 = 0;
    var_7 = (type_5 *)0x0;
    var_18 = (char *)0x0;
    goto LAB_000c949e;
  }
  if (var_8 == (char *)0x0) {
LAB_000c97b3:
    uVar3 = 0;
    uVar6 = 0;
    var_16 = 1;
    var_18 = "BINARY";
    local_54 = "INTEGER";
    goto LAB_000c949e;
  }
  var_9 = (int)var_7->nCol;
  local_54 = (char *)0x0;
  if (var_9 < 1) {
    if (var_9 != 0) goto LAB_000c97b3;
  }
  else {
    var_12 = 0;
    var_13 = var_7->aCol;
    var_10 = extraout_EDX;
    do {
      pCol = (type_3 *)var_13->zName;
      var_15 = var_13;
      pCol_1 = (type_3 *)(type_4)*(type_2 *)&pCol->zName;
      if (""[(type_2)*var_8] == *(type_8 *)&pCol_1[0x10290].zName) {
        if (*(type_2 *)&pCol->zName == 0) {
LAB_000c9794:
          var_16 = (type_4)var_13->colFlags;
          if ((var_13->colFlags & 4) == 0) goto LAB_000c9713;
          goto LAB_000c970a;
        }
        var_10 = (char *)0x1;
        while( true ) {
          var_11 = (type_2 *)(var_10 + (int)&pCol->zName);
          pCol_1 = (type_3 *)(type_4)*var_11;
          if (*(type_8 *)&pCol_1[0x10290].zName != ""[(type_2)var_8[(int)var_10]]) break;
          var_10 = var_10 + 1;
          if (*var_11 == 0) goto LAB_000c9794;
        }
      }
      var_12 = var_12 + 1;
      var_13 = var_13 + 1;
    } while (var_12 != var_9);
  }
  var_10 = (char *)var_7->tabFlags;
  if ((((type_4)var_10 & 0x20) != 0) || (var_9 = var_14(var_8), var_9 == 0))
  goto LAB_000c9486;
  var_12 = (int)var_7->iPKey;
  if ((var_12 < 0) || (var_15 = var_7->aCol + var_12, var_15 == (type_3 *)0x0))
  goto LAB_000c97b3;
  pCol = (type_3 *)var_15->zName;
  var_16 = (type_4)var_15->colFlags;
  pCol_1 = extraout_ECX;
  if ((var_15->colFlags & 4) == 0) {
    var_18 = var_15->zColl;
    var_16 = var_16 & 1;
    uVar6 = (type_4)(var_15->notNull != '\0');
LAB_000c97e0:
    uVar3 = (type_4)var_10 >> 3 & 1;
  }
  else {
LAB_000c970a:
    local_54 = var_17(pCol,var_10,pCol_1);
LAB_000c9713:
    var_18 = var_15->zColl;
    var_16 = var_16 & 1;
    uVar3 = 0;
    uVar6 = (type_4)(var_15->notNull != '\0');
    if (var_7->iPKey == var_12) {
      var_10 = (char *)var_7->tabFlags;
      goto LAB_000c97e0;
    }
  }
  if (var_18 == (char *)0x0) {
    var_18 = "BINARY";
  }
LAB_000c949e:
  if (db->noSharedCache == '\0') {
    var_19(db);
  }
  if (var_20 != (char **)0x0) {
    *var_20 = local_54;
  }
  if (var_21 != (char **)0x0) {
    *var_21 = var_18;
  }
  if (var_22 != (int *)0x0) {
    *var_22 = uVar6;
  }
  if (var_23 != (int *)0x0) {
    *var_23 = var_16;
  }
  if (var_24 != (int *)0x0) {
    *var_24 = uVar3;
  }
  if (var_7 == (type_5 *)0x0 && var_5 == 0) {
    if (var_25 != (char *)0x0) {
      var_26(db,var_25);
    }
    bVar8 = false;
    var_25 = var_27(db,"no such table column: %s.%s",zTableName,var_8);
    var_5 = 1;
  }
  else {
    bVar8 = var_5 == 0xc0a;
  }
  var_10 = "%s";
  if (var_25 == (char *)0x0) {
    var_10 = (char *)0x0;
  }
  var_28(db,var_5,var_10,var_25);
  if (var_25 != (char *)0x0) {
    var_26(db,var_25);
  }
  if ((db->mallocFailed != '\0') || (bVar8)) {
    var_5 = var_29(db);
  }
  else {
    var_5 = var_5 & db->errMask;
  }
  var_30(db->mutex);
  if (var_31 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_32();
  }
  return var_5;
}


(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: (identifier)) (parameter_declaration type: (type_identifier) 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: (pointer_declarator 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: (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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)))))))) (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: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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: (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))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) index: (identifier))) right: (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (subscript_expression argument: (identifier) index: (identifier)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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))))))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (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: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (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: (pointer_expression argument: (identifier)) right: (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: (pointer_expression argument: (identifier)) right: (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: (pointer_expression argument: (identifier)) right: (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: (pointer_expression argument: (identifier)) right: (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: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (number_literal)))))) (expression_statement (call_expression function: (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 (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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 (assignment_expression left: (identifier) right: (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)))))))) (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 (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x000c9594) */

uint MASKED(int param_1,undefined4 param_2,undefined4 param_3,byte *param_4,
                 undefined4 *param_5,undefined4 *param_6,uint *param_7,uint *param_8,uint *param_9)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  undefined *puVar6;
  int iVar7;
  char *pcVar8;
  uint uVar9;
  uint uVar10;
  int in_GS_OFFSET;
  uint local_68;
  int local_60;
  int local_5c;
  undefined4 *local_58;
  char *local_54;
  undefined4 *local_34;
  int local_24;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  local_24 = 0;
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  if (*(char *)(param_1 + 0x55) == '\0') {
    FUN_0002b350();
  }
  uVar3 = FUN_000ae720();
  if (((uVar3 != 0) || (local_5c = FUN_00027be0(), local_5c == 0)) ||
     (*(int *)(local_5c + 0xc) != 0)) {
LAB_000c9486:
    local_54 = (char *)0x0;
    uVar5 = 0;
    uVar10 = 0;
    uVar9 = 0;
    local_5c = 0;
    pcVar8 = (char *)0x0;
    goto LAB_000c949e;
  }
  if (param_4 == (byte *)0x0) {
LAB_000c97b3:
    uVar5 = 0;
    uVar9 = 0;
    uVar10 = 1;
    pcVar8 = "BINARY";
    local_54 = "INTEGER";
    goto LAB_000c949e;
  }
  iVar4 = (int)*(short *)(local_5c + 0x2a);
  local_54 = (char *)0x0;
  if (iVar4 < 1) {
    if (iVar4 != 0) goto LAB_000c97b3;
  }
  else {
    local_60 = 0;
    local_58 = *(undefined4 **)(local_5c + 4);
    do {
      local_34 = local_58;
      bVar1 = *(byte *)*local_58;
      if ((&DAT_00102900)[*param_4] == (&DAT_00102900)[bVar1]) {
        if (bVar1 == 0) {
LAB_000c9794:
          uVar10 = (uint)*(byte *)((int)local_58 + 0xf);
          if ((*(byte *)((int)local_58 + 0xf) & 4) == 0) goto LAB_000c9713;
          goto LAB_000c970a;
        }
        iVar7 = 1;
        while (bVar1 = ((byte *)*local_58)[iVar7],
              (&DAT_00102900)[bVar1] == (&DAT_00102900)[param_4[iVar7]]) {
          iVar7 = iVar7 + 1;
          if (bVar1 == 0) goto LAB_000c9794;
        }
      }
      local_60 = local_60 + 1;
      local_58 = local_58 + 4;
    } while (local_60 != iVar4);
  }
  uVar5 = *(uint *)(local_5c + 0x24);
  if (((uVar5 & 0x20) != 0) || (iVar4 = FUN_0002dc00(), iVar4 == 0)) goto LAB_000c9486;
  local_60 = (int)*(short *)(local_5c + 0x28);
  if ((local_60 < 0) ||
     (local_34 = (undefined4 *)(local_60 * 0x10 + *(int *)(local_5c + 4)),
     local_34 == (undefined4 *)0x0)) goto LAB_000c97b3;
  uVar10 = (uint)*(byte *)((int)local_34 + 0xf);
  if ((*(byte *)((int)local_34 + 0xf) & 4) == 0) {
    pcVar8 = (char *)local_34[2];
    uVar10 = uVar10 & 1;
    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');
LAB_000c97e0:
    uVar5 = uVar5 >> 3 & 1;
  }
  else {
LAB_000c970a:
    local_54 = (char *)FUN_00035d70();
LAB_000c9713:
    pcVar8 = (char *)local_34[2];
    uVar10 = uVar10 & 1;
    uVar5 = 0;
    uVar9 = (uint)(*(char *)(local_34 + 3) != '\0');
    if (*(short *)(local_5c + 0x28) == local_60) {
      uVar5 = *(uint *)(local_5c + 0x24);
      goto LAB_000c97e0;
    }
  }
  if (pcVar8 == (char *)0x0) {
    pcVar8 = "BINARY";
  }
LAB_000c949e:
  if (*(char *)(param_1 + 0x55) == '\0') {
    FUN_0002b3d0();
  }
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = local_54;
  }
  if (param_6 != (undefined4 *)0x0) {
    *param_6 = pcVar8;
  }
  if (param_7 != (uint *)0x0) {
    *param_7 = uVar9;
  }
  if (param_8 != (uint *)0x0) {
    *param_8 = uVar10;
  }
  if (param_9 != (uint *)0x0) {
    *param_9 = uVar5;
  }
  local_68 = uVar3;
  if (local_5c == 0 && uVar3 == 0) {
    local_24 = FUN_0005e630(param_1,"no such table column: %s.%s",param_3,param_4);
    local_68 = 1;
  }
  puVar6 = &DAT_000f6ce3;
  if (local_24 == 0) {
    puVar6 = (undefined *)0x0;
  }
  FUN_00056af0(param_1,local_68,puVar6,local_24);
  if (local_24 != 0) {
    FUN_00024d80();
  }
  if ((*(char *)(param_1 + 0x4d) == '\0') && (local_5c == 0 && uVar3 == 0 || uVar3 != 0xc0a)) {
    local_68 = local_68 & *(uint *)(param_1 + 0x40);
  }
  else {
    local_68 = FUN_000383b0();
  }
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return local_68;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}

