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

void __regparm3 analyzeTable(Parse *pParse,Table *pTab,Index *pOnlyIdx)

{
  Op *pOVar1;
  Schema *pSVar2;
  Schema *pSVar3;
  Db *pDVar4;
  int iVar5;
  Schema **ppSVar6;
  Vdbe *p;
  uint uVar7;
  int iDb;
  Parse *pParse_00;
  char *zWhere;
  char *zWhereType;
  int iTab;
  int in_stack_ffffffd0;
  
  pParse_00 = pParse->pToplevel;
  pSVar3 = pTab->pSchema;
  if (pSVar3 == (Schema *)0x0) {
    uVar7 = 0;
    iDb = -0x8000;
    if (pParse_00 == (Parse *)0x0) {
      pParse_00 = pParse;
    }
  }
  else {
    pDVar4 = pParse->db->aDb;
    if (pSVar3 == pDVar4->pSchema) {
      uVar7 = 1;
      iDb = 0;
    }
    else {
      iDb = 0;
      ppSVar6 = &pDVar4[1].pSchema;
      do {
        iDb = iDb + 1;
        pSVar2 = *ppSVar6;
        ppSVar6 = ppSVar6 + 4;
      } while (pSVar3 != pSVar2);
      uVar7 = 1 << ((byte)iDb & 0x1f);
    }
    if (pParse_00 == (Parse *)0x0) {
      pParse_00 = pParse;
    }
    if (((pParse_00->cookieMask & uVar7) == 0) &&
       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {
      in_stack_ffffffd0 = 0xc9d01;
      sqlite3OpenTempDatabase(pParse_00);
      pParse_00->writeMask = pParse_00->writeMask | uVar7;
      iVar5 = pParse->nTab;
      pParse->nTab = iVar5 + 3;
      goto joined_r0x000c9c52;
    }
  }
  pParse_00->writeMask = pParse_00->writeMask | uVar7;
  iVar5 = pParse->nTab;
  pParse->nTab = iVar5 + 3;
joined_r0x000c9c52:
  if (pOnlyIdx == (Index *)0x0) {
    zWhereType = "tbl";
    zWhere = pTab->zName;
  }
  else {
    zWhereType = "idx";
    zWhere = pOnlyIdx->zName;
  }
  openStatTable(pParse,iDb,iVar5,zWhere,zWhereType);
  iTab = pParse->nTab;
  analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab);
  p = pParse->pVdbe;
  if (p == (Vdbe *)0x0) {
    in_stack_ffffffd0 = 0xc9d87;
    p = sqlite3GetVdbe(pParse);
    if (p == (Vdbe *)0x0) {
      return;
    }
  }
  iVar5 = p->nOp;
  if (iVar5 < p->nOpAlloc) {
    p->nOp = iVar5 + 1;
    pOVar1 = p->aOp + iVar5;
    pOVar1->p1 = iDb;
    pOVar1->p2 = 0;
    pOVar1->p3 = 0;
    (pOVar1->p4).i = 0;
    pOVar1->opcode = 0x8e;
    pOVar1->p4type = '\0';
    pOVar1->p5 = 0;
    return;
  }
  growOp3(p,0,0,iTab,in_stack_ffffffd0);
  return;
}



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

void __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  undefined4 uVar8;
  undefined *puVar9;
  
  piVar7 = (int *)param_1[0x1d];
  iVar4 = param_2[0x12];
  if (iVar4 == 0) {
    uVar5 = 0;
    iVar6 = -0x8000;
    if (piVar7 == (int *)0x0) {
      piVar7 = param_1;
    }
  }
  else {
    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {
      uVar5 = 1;
      iVar6 = 0;
    }
    else {
      iVar6 = 0;
      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);
      do {
        iVar6 = iVar6 + 1;
        iVar2 = *piVar3;
        piVar3 = piVar3 + 4;
      } while (iVar4 != iVar2);
      uVar5 = 1 << ((byte)iVar6 & 0x1f);
    }
    if (piVar7 == (int *)0x0) {
      piVar7 = param_1;
    }
    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {
      FUN_00087420();
      piVar7[0x14] = piVar7[0x14] | uVar5;
      iVar4 = param_1[10];
      param_1[10] = iVar4 + 3;
      goto joined_r0x000c9c52;
    }
  }
  piVar7[0x14] = piVar7[0x14] | uVar5;
  iVar4 = param_1[10];
  param_1[10] = iVar4 + 3;
joined_r0x000c9c52:
  if (param_3 == (undefined4 *)0x0) {
    puVar9 = &DAT_000d28f2;
    uVar8 = *param_2;
  }
  else {
    puVar9 = &DAT_000d2741;
    uVar8 = *param_3;
  }
  FUN_000c97a0(uVar8,puVar9);
  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);
  iVar4 = param_1[2];
  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {
    return;
  }
  iVar2 = *(int *)(iVar4 + 0x68);
  if (iVar2 < *(int *)(iVar4 + 0x6c)) {
    *(int *)(iVar4 + 0x68) = iVar2 + 1;
    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);
    puVar1[1] = iVar6;
    puVar1[2] = 0;
    puVar1[3] = 0;
    puVar1[4] = 0;
    *puVar1 = 0x8e;
    return;
  }
  FUN_00049170(0,0);
  return;
}


PUSH EBP
PUSH EDI
MOV EBP,ECX
PUSH ESI
PUSH EBX
MOV ESI,EAX
CALL 0x0001ddf0
ADD EBX,0x3c413
SUB ESP,0x1c
MOV EDI,dword ptr [EAX + 0x74]
MOV dword ptr [ESP + 0x4],EDX
MOV EDX,dword ptr [EDX + 0x48]
MOV dword ptr [ESP + 0x8],EBX
TEST EDX,EDX
JZ 0x000c9d40
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x10]
CMP EDX,dword ptr [EAX + 0xc]
JZ 0x000c9da0
ADD EAX,0x1c
XOR EBX,EBX
NOP
ADD EAX,0x10
ADD EBX,0x1
CMP EDX,dword ptr [EAX + -0x10]
JNZ 0x000c9c20
MOV EDX,0x1
MOV ECX,EBX
SHL EDX,CL
TEST EDI,EDI
CMOVZ EDI,ESI
MOV EAX,dword ptr [EDI + 0x54]
TEST EAX,EDX
JZ 0x000c9ce8
OR dword ptr [EDI + 0x50],EDX
MOV EDI,dword ptr [ESI + 0x28]
TEST EBP,EBP
LEA EAX,[EDI + 0x3]
MOV dword ptr [ESI + 0x28],EAX
JZ 0x000c9d20
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffcc741]
PUSH EAX
PUSH dword ptr [EBP]
MOV ECX,EDI
MOV EDX,EBX
MOV EAX,ESI
CALL 0x000c97a0
MOV EAX,dword ptr [ESI + 0x2c]
ADD ESP,0x10
MOV ECX,EBP
SUB ESP,0x4
PUSH dword ptr [ESI + 0x28]
ADD EAX,0x1
PUSH EAX
PUSH EDI
MOV EAX,ESI
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x00051a60
MOV EAX,dword ptr [ESI + 0x8]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000c9d80
MOV EDX,dword ptr [EAX + 0x68]
CMP EDX,dword ptr [EAX + 0x6c]
JGE 0x000c9d58
LEA ECX,[EDX + 0x1]
LEA EDX,[EDX + EDX*0x4]
MOV dword ptr [EAX + 0x68],ECX
MOV EAX,dword ptr [EAX + 0x64]
LEA EAX,[EAX + EDX*0x4]
MOV dword ptr [EAX + 0x4],EBX
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX + 0x10],0x0
MOV dword ptr [EAX],0x8e
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
OR EAX,EDX
CMP EBX,0x1
MOV dword ptr [EDI + 0x54],EAX
JNZ 0x000c9c44
MOV EAX,EDI
MOV dword ptr [ESP + 0xc],EDX
CALL 0x00087420
MOV EDX,dword ptr [ESP + 0xc]
OR dword ptr [EDI + 0x50],EDX
TEST EBP,EBP
MOV EDI,dword ptr [ESI + 0x28]
LEA EAX,[EDI + 0x3]
MOV dword ptr [ESI + 0x28],EAX
JNZ 0x000c9c58
LEA ESI,[ESI]
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffcc8f2]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX]
JMP 0x000c9c69
XOR EDX,EDX
TEST EDI,EDI
MOV EBX,0xffff8000
CMOVZ EDI,EAX
JMP 0x000c9c44
SUB ESP,0x8
MOV ECX,EBX
MOV EDX,0x8e
PUSH 0x0
PUSH 0x0
CALL 0x00049170
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x00049b90
TEST EAX,EAX
JNZ 0x000c9ca0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,0x1
XOR EBX,EBX
JMP 0x000c9c34
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "piVar7 = (int *)param_1[0x1d];" (assignment_expression "piVar7 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = param_2[0x12];" (assignment_expression "iVar4 = param_2[0x12]" identifier = (subscript_expression "param_2[0x12]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = -0x8000;" (assignment_expression "iVar6 = -0x8000" identifier = number_literal) ;) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar7 = param_1;\n    }" { (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" identifier = identifier) ;) })) }) (else_clause "else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" else (compound_statement "{\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" { (if_statement "if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" if (parenthesized_expression "(iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc))" ( (binary_expression "iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)" identifier == (pointer_expression "*(int *)(*(int *)(*param_1 + 0x10) + 0xc)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0xc)" ( (binary_expression "*(int *)(*param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x10)" * (cast_expression "(int *)(*param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) ))))) )) (compound_statement "{\n      uVar5 = 1;\n      iVar6 = 0;\n    }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" else (compound_statement "{\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);" (assignment_expression "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c)" identifier = (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0x1c)" ( (binary_expression "*(int *)(*param_1 + 0x10) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x10)" * (cast_expression "(int *)(*param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);" do (compound_statement "{\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) ;) (expression_statement "uVar5 = 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "uVar5 = 1 << ((byte)iVar6 & 0x1f)" identifier = (binary_expression "1 << ((byte)iVar6 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar6 & 0x1f)" ( (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) }))) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar7 = param_1;\n    }" { (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" identifier = identifier) ;) })) (if_statement "if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" if (parenthesized_expression "(((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1))" ( (binary_expression "((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" (parenthesized_expression "((piVar7[0x15] & uVar5) == 0)" ( (binary_expression "(piVar7[0x15] & uVar5) == 0" (parenthesized_expression "(piVar7[0x15] & uVar5)" ( (binary_expression "piVar7[0x15] & uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) & identifier) )) == number_literal) )) && (parenthesized_expression "(piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" ( (comma_expression "piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1" (assignment_expression "piVar7[0x15] = piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) = (binary_expression "piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) | identifier)) , (binary_expression "iVar6 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" { (expression_statement "FUN_00087420();" (call_expression "FUN_00087420()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) = (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) | identifier)) ;) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (goto_statement "goto joined_r0x000c9c52;" goto statement_identifier ;) })) }))) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) = (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) | identifier)) ;) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (labeled_statement "joined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" statement_identifier : (if_statement "if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" if (parenthesized_expression "(param_3 == (undefined4 *)0x0)" ( (binary_expression "param_3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }" { (expression_statement "puVar9 = &DAT_000d28f2;" (assignment_expression "puVar9 = &DAT_000d28f2" identifier = (pointer_expression "&DAT_000d28f2" & identifier)) ;) (expression_statement "uVar8 = *param_2;" (assignment_expression "uVar8 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }) (else_clause "else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" else (compound_statement "{\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" { (expression_statement "puVar9 = &DAT_000d2741;" (assignment_expression "puVar9 = &DAT_000d2741" identifier = (pointer_expression "&DAT_000d2741" & identifier)) ;) (expression_statement "uVar8 = *param_3;" (assignment_expression "uVar8 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) })))) (expression_statement "FUN_000c97a0(uVar8,puVar9);" (call_expression "FUN_000c97a0(uVar8,puVar9)" identifier (argument_list "(uVar8,puVar9)" ( identifier , identifier ))) ;) (expression_statement "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);" (call_expression "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10])" identifier (argument_list "(iVar4,param_1[0xb] + 1,param_1[10])" ( identifier , (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }" if (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0))" ( (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00049b90(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00049b90(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00049b90()" identifier = (call_expression "FUN_00049b90()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *(int *)(iVar4 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar4 + 0x68)" identifier = (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" if (parenthesized_expression "(iVar2 < *(int *)(iVar4 + 0x6c))" ( (binary_expression "iVar2 < *(int *)(iVar4 + 0x6c)" identifier < (pointer_expression "*(int *)(iVar4 + 0x6c)" * (cast_expression "(int *)(iVar4 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x6c)" ( (binary_expression "iVar4 + 0x6c" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" { (expression_statement "*(int *)(iVar4 + 0x68) = iVar2 + 1;" (assignment_expression "*(int *)(iVar4 + 0x68) = iVar2 + 1" (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) )))) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" identifier = (cast_expression "(undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 100) + iVar2 * 0x14)" ( (binary_expression "*(int *)(iVar4 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar4 + 100)" * (cast_expression "(int *)(iVar4 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 100)" ( (binary_expression "iVar4 + 100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x14" identifier * number_literal)) )))) ;) (expression_statement "puVar1[1] = iVar6;" (assignment_expression "puVar1[1] = iVar6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0x8e;" (assignment_expression "*puVar1 = 0x8e" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00049170(0,0);" (call_expression "FUN_00049170(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 analyzeTable(Parse *pParse,Table *pTab,Index *pOnlyIdx)\n\n{\n  Op *pOVar1;\n  Schema *pSVar2;\n  Schema *pSVar3;\n  Db *pDVar4;\n  int iVar5;\n  Schema **ppSVar6;\n  Vdbe *p;\n  uint uVar7;\n  int iDb;\n  Parse *pParse_00;\n  char *zWhere;\n  char *zWhereType;\n  int iTab;\n  int in_stack_ffffffd0;\n  \n  pParse_00 = pParse->pToplevel;\n  pSVar3 = pTab->pSchema;\n  if (pSVar3 == (Schema *)0x0) {\n    uVar7 = 0;\n    iDb = -0x8000;\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n  }\n  else {\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  pParse_00->writeMask = pParse_00->writeMask | uVar7;\n  iVar5 = pParse->nTab;\n  pParse->nTab = iVar5 + 3;\njoined_r0x000c9c52:\n  if (pOnlyIdx == (Index *)0x0) {\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }\n  else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }\n  openStatTable(pParse,iDb,iVar5,zWhere,zWhereType);\n  iTab = pParse->nTab;\n  analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab);\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    in_stack_ffffffd0 = 0xc9d87;\n    p = sqlite3GetVdbe(pParse);\n    if (p == (Vdbe *)0x0) {\n      return;\n    }\n  }\n  iVar5 = p->nOp;\n  if (iVar5 < p->nOpAlloc) {\n    p->nOp = iVar5 + 1;\n    pOVar1 = p->aOp + iVar5;\n    pOVar1->p1 = iDb;\n    pOVar1->p2 = 0;\n    pOVar1->p3 = 0;\n    (pOVar1->p4).i = 0;\n    pOVar1->opcode = 0x8e;\n    pOVar1->p4type = '\0';\n    pOVar1->p5 = 0;\n    return;\n  }\n  growOp3(p,0,0,iTab,in_stack_ffffffd0);\n  return;\n}\n\n" comment (function_definition "void __regparm3 analyzeTable(Parse *pParse,Table *pTab,Index *pOnlyIdx)\n\n{\n  Op *pOVar1;\n  Schema *pSVar2;\n  Schema *pSVar3;\n  Db *pDVar4;\n  int iVar5;\n  Schema **ppSVar6;\n  Vdbe *p;\n  uint uVar7;\n  int iDb;\n  Parse *pParse_00;\n  char *zWhere;\n  char *zWhereType;\n  int iTab;\n  int in_stack_ffffffd0;\n  \n  pParse_00 = pParse->pToplevel;\n  pSVar3 = pTab->pSchema;\n  if (pSVar3 == (Schema *)0x0) {\n    uVar7 = 0;\n    iDb = -0x8000;\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n  }\n  else {\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  pParse_00->writeMask = pParse_00->writeMask | uVar7;\n  iVar5 = pParse->nTab;\n  pParse->nTab = iVar5 + 3;\njoined_r0x000c9c52:\n  if (pOnlyIdx == (Index *)0x0) {\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }\n  else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }\n  openStatTable(pParse,iDb,iVar5,zWhere,zWhereType);\n  iTab = pParse->nTab;\n  analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab);\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    in_stack_ffffffd0 = 0xc9d87;\n    p = sqlite3GetVdbe(pParse);\n    if (p == (Vdbe *)0x0) {\n      return;\n    }\n  }\n  iVar5 = p->nOp;\n  if (iVar5 < p->nOpAlloc) {\n    p->nOp = iVar5 + 1;\n    pOVar1 = p->aOp + iVar5;\n    pOVar1->p1 = iDb;\n    pOVar1->p2 = 0;\n    pOVar1->p3 = 0;\n    (pOVar1->p4).i = 0;\n    pOVar1->opcode = 0x8e;\n    pOVar1->p4type = '\0';\n    pOVar1->p5 = 0;\n    return;\n  }\n  growOp3(p,0,0,iTab,in_stack_ffffffd0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "analyzeTable(Parse *pParse,Table *pTab,Index *pOnlyIdx)" identifier (parameter_list "(Parse *pParse,Table *pTab,Index *pOnlyIdx)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Table *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "Index *pOnlyIdx" type_identifier (pointer_declarator "*pOnlyIdx" * identifier)) ))) (compound_statement "{\n  Op *pOVar1;\n  Schema *pSVar2;\n  Schema *pSVar3;\n  Db *pDVar4;\n  int iVar5;\n  Schema **ppSVar6;\n  Vdbe *p;\n  uint uVar7;\n  int iDb;\n  Parse *pParse_00;\n  char *zWhere;\n  char *zWhereType;\n  int iTab;\n  int in_stack_ffffffd0;\n  \n  pParse_00 = pParse->pToplevel;\n  pSVar3 = pTab->pSchema;\n  if (pSVar3 == (Schema *)0x0) {\n    uVar7 = 0;\n    iDb = -0x8000;\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n  }\n  else {\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  pParse_00->writeMask = pParse_00->writeMask | uVar7;\n  iVar5 = pParse->nTab;\n  pParse->nTab = iVar5 + 3;\njoined_r0x000c9c52:\n  if (pOnlyIdx == (Index *)0x0) {\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }\n  else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }\n  openStatTable(pParse,iDb,iVar5,zWhere,zWhereType);\n  iTab = pParse->nTab;\n  analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab);\n  p = pParse->pVdbe;\n  if (p == (Vdbe *)0x0) {\n    in_stack_ffffffd0 = 0xc9d87;\n    p = sqlite3GetVdbe(pParse);\n    if (p == (Vdbe *)0x0) {\n      return;\n    }\n  }\n  iVar5 = p->nOp;\n  if (iVar5 < p->nOpAlloc) {\n    p->nOp = iVar5 + 1;\n    pOVar1 = p->aOp + iVar5;\n    pOVar1->p1 = iDb;\n    pOVar1->p2 = 0;\n    pOVar1->p3 = 0;\n    (pOVar1->p4).i = 0;\n    pOVar1->opcode = 0x8e;\n    pOVar1->p4type = '\0';\n    pOVar1->p5 = 0;\n    return;\n  }\n  growOp3(p,0,0,iTab,in_stack_ffffffd0);\n  return;\n}" { (declaration "Op *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "Schema *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "Schema *pSVar3;" type_identifier (pointer_declarator "*pSVar3" * identifier) ;) (declaration "Db *pDVar4;" type_identifier (pointer_declarator "*pDVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Schema **ppSVar6;" type_identifier (pointer_declarator "**ppSVar6" * (pointer_declarator "*ppSVar6" * identifier)) ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iDb;" primitive_type identifier ;) (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "char *zWhere;" primitive_type (pointer_declarator "*zWhere" * identifier) ;) (declaration "char *zWhereType;" primitive_type (pointer_declarator "*zWhereType" * identifier) ;) (declaration "int iTab;" primitive_type identifier ;) (declaration "int in_stack_ffffffd0;" primitive_type identifier ;) (expression_statement "pParse_00 = pParse->pToplevel;" (assignment_expression "pParse_00 = pParse->pToplevel" identifier = (field_expression "pParse->pToplevel" identifier -> field_identifier)) ;) (expression_statement "pSVar3 = pTab->pSchema;" (assignment_expression "pSVar3 = pTab->pSchema" identifier = (field_expression "pTab->pSchema" identifier -> field_identifier)) ;) (if_statement "if (pSVar3 == (Schema *)0x0) {\n    uVar7 = 0;\n    iDb = -0x8000;\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n  }\n  else {\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" if (parenthesized_expression "(pSVar3 == (Schema *)0x0)" ( (binary_expression "pSVar3 == (Schema *)0x0" identifier == (cast_expression "(Schema *)0x0" ( (type_descriptor "Schema *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar7 = 0;\n    iDb = -0x8000;\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iDb = -0x8000;" (assignment_expression "iDb = -0x8000" identifier = number_literal) ;) (if_statement "if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }" if (parenthesized_expression "(pParse_00 == (Parse *)0x0)" ( (binary_expression "pParse_00 == (Parse *)0x0" identifier == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pParse_00 = pParse;\n    }" { (expression_statement "pParse_00 = pParse;" (assignment_expression "pParse_00 = pParse" identifier = identifier) ;) })) }) (else_clause "else {\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" else (compound_statement "{\n    pDVar4 = pParse->db->aDb;\n    if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }\n    if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }\n    if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" { (expression_statement "pDVar4 = pParse->db->aDb;" (assignment_expression "pDVar4 = pParse->db->aDb" identifier = (field_expression "pParse->db->aDb" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (pSVar3 == pDVar4->pSchema) {\n      uVar7 = 1;\n      iDb = 0;\n    }\n    else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }" if (parenthesized_expression "(pSVar3 == pDVar4->pSchema)" ( (binary_expression "pSVar3 == pDVar4->pSchema" identifier == (field_expression "pDVar4->pSchema" identifier -> field_identifier)) )) (compound_statement "{\n      uVar7 = 1;\n      iDb = 0;\n    }" { (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (expression_statement "iDb = 0;" (assignment_expression "iDb = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }" else (compound_statement "{\n      iDb = 0;\n      ppSVar6 = &pDVar4[1].pSchema;\n      do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);\n      uVar7 = 1 << ((byte)iDb & 0x1f);\n    }" { (expression_statement "iDb = 0;" (assignment_expression "iDb = 0" identifier = number_literal) ;) (expression_statement "ppSVar6 = &pDVar4[1].pSchema;" (assignment_expression "ppSVar6 = &pDVar4[1].pSchema" identifier = (pointer_expression "&pDVar4[1].pSchema" & (field_expression "pDVar4[1].pSchema" (subscript_expression "pDVar4[1]" identifier [ number_literal ]) . field_identifier))) ;) (do_statement "do {\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      } while (pSVar3 != pSVar2);" do (compound_statement "{\n        iDb = iDb + 1;\n        pSVar2 = *ppSVar6;\n        ppSVar6 = ppSVar6 + 4;\n      }" { (expression_statement "iDb = iDb + 1;" (assignment_expression "iDb = iDb + 1" identifier = (binary_expression "iDb + 1" identifier + number_literal)) ;) (expression_statement "pSVar2 = *ppSVar6;" (assignment_expression "pSVar2 = *ppSVar6" identifier = (pointer_expression "*ppSVar6" * identifier)) ;) (expression_statement "ppSVar6 = ppSVar6 + 4;" (assignment_expression "ppSVar6 = ppSVar6 + 4" identifier = (binary_expression "ppSVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(pSVar3 != pSVar2)" ( (binary_expression "pSVar3 != pSVar2" identifier != identifier) )) ;) (expression_statement "uVar7 = 1 << ((byte)iDb & 0x1f);" (assignment_expression "uVar7 = 1 << ((byte)iDb & 0x1f)" identifier = (binary_expression "1 << ((byte)iDb & 0x1f)" number_literal << (parenthesized_expression "((byte)iDb & 0x1f)" ( (binary_expression "(byte)iDb & 0x1f" (cast_expression "(byte)iDb" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) }))) (if_statement "if (pParse_00 == (Parse *)0x0) {\n      pParse_00 = pParse;\n    }" if (parenthesized_expression "(pParse_00 == (Parse *)0x0)" ( (binary_expression "pParse_00 == (Parse *)0x0" identifier == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pParse_00 = pParse;\n    }" { (expression_statement "pParse_00 = pParse;" (assignment_expression "pParse_00 = pParse" identifier = identifier) ;) })) (if_statement "if (((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)) {\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }" if (parenthesized_expression "(((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1))" ( (binary_expression "((pParse_00->cookieMask & uVar7) == 0) &&\n       (pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)" (parenthesized_expression "((pParse_00->cookieMask & uVar7) == 0)" ( (binary_expression "(pParse_00->cookieMask & uVar7) == 0" (parenthesized_expression "(pParse_00->cookieMask & uVar7)" ( (binary_expression "pParse_00->cookieMask & uVar7" (field_expression "pParse_00->cookieMask" identifier -> field_identifier) & identifier) )) == number_literal) )) && (parenthesized_expression "(pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1)" ( (comma_expression "pParse_00->cookieMask = pParse_00->cookieMask | uVar7, iDb == 1" (assignment_expression "pParse_00->cookieMask = pParse_00->cookieMask | uVar7" (field_expression "pParse_00->cookieMask" identifier -> field_identifier) = (binary_expression "pParse_00->cookieMask | uVar7" (field_expression "pParse_00->cookieMask" identifier -> field_identifier) | identifier)) , (binary_expression "iDb == 1" identifier == number_literal)) ))) )) (compound_statement "{\n      in_stack_ffffffd0 = 0xc9d01;\n      sqlite3OpenTempDatabase(pParse_00);\n      pParse_00->writeMask = pParse_00->writeMask | uVar7;\n      iVar5 = pParse->nTab;\n      pParse->nTab = iVar5 + 3;\n      goto joined_r0x000c9c52;\n    }" { (expression_statement "in_stack_ffffffd0 = 0xc9d01;" (assignment_expression "in_stack_ffffffd0 = 0xc9d01" identifier = number_literal) ;) (expression_statement "sqlite3OpenTempDatabase(pParse_00);" (call_expression "sqlite3OpenTempDatabase(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier ))) ;) (expression_statement "pParse_00->writeMask = pParse_00->writeMask | uVar7;" (assignment_expression "pParse_00->writeMask = pParse_00->writeMask | uVar7" (field_expression "pParse_00->writeMask" identifier -> field_identifier) = (binary_expression "pParse_00->writeMask | uVar7" (field_expression "pParse_00->writeMask" identifier -> field_identifier) | identifier)) ;) (expression_statement "iVar5 = pParse->nTab;" (assignment_expression "iVar5 = pParse->nTab" identifier = (field_expression "pParse->nTab" identifier -> field_identifier)) ;) (expression_statement "pParse->nTab = iVar5 + 3;" (assignment_expression "pParse->nTab = iVar5 + 3" (field_expression "pParse->nTab" identifier -> field_identifier) = (binary_expression "iVar5 + 3" identifier + number_literal)) ;) (goto_statement "goto joined_r0x000c9c52;" goto statement_identifier ;) })) }))) (expression_statement "pParse_00->writeMask = pParse_00->writeMask | uVar7;" (assignment_expression "pParse_00->writeMask = pParse_00->writeMask | uVar7" (field_expression "pParse_00->writeMask" identifier -> field_identifier) = (binary_expression "pParse_00->writeMask | uVar7" (field_expression "pParse_00->writeMask" identifier -> field_identifier) | identifier)) ;) (expression_statement "iVar5 = pParse->nTab;" (assignment_expression "iVar5 = pParse->nTab" identifier = (field_expression "pParse->nTab" identifier -> field_identifier)) ;) (expression_statement "pParse->nTab = iVar5 + 3;" (assignment_expression "pParse->nTab = iVar5 + 3" (field_expression "pParse->nTab" identifier -> field_identifier) = (binary_expression "iVar5 + 3" identifier + number_literal)) ;) (labeled_statement "joined_r0x000c9c52:\n  if (pOnlyIdx == (Index *)0x0) {\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }\n  else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }" statement_identifier : (if_statement "if (pOnlyIdx == (Index *)0x0) {\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }\n  else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }" if (parenthesized_expression "(pOnlyIdx == (Index *)0x0)" ( (binary_expression "pOnlyIdx == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    zWhereType = "tbl";\n    zWhere = pTab->zName;\n  }" { (expression_statement "zWhereType = "tbl";" (assignment_expression "zWhereType = "tbl"" identifier = (string_literal ""tbl"" " string_content ")) ;) (expression_statement "zWhere = pTab->zName;" (assignment_expression "zWhere = pTab->zName" identifier = (field_expression "pTab->zName" identifier -> field_identifier)) ;) }) (else_clause "else {\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }" else (compound_statement "{\n    zWhereType = "idx";\n    zWhere = pOnlyIdx->zName;\n  }" { (expression_statement "zWhereType = "idx";" (assignment_expression "zWhereType = "idx"" identifier = (string_literal ""idx"" " string_content ")) ;) (expression_statement "zWhere = pOnlyIdx->zName;" (assignment_expression "zWhere = pOnlyIdx->zName" identifier = (field_expression "pOnlyIdx->zName" identifier -> field_identifier)) ;) })))) (expression_statement "openStatTable(pParse,iDb,iVar5,zWhere,zWhereType);" (call_expression "openStatTable(pParse,iDb,iVar5,zWhere,zWhereType)" identifier (argument_list "(pParse,iDb,iVar5,zWhere,zWhereType)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iTab = pParse->nTab;" (assignment_expression "iTab = pParse->nTab" identifier = (field_expression "pParse->nTab" identifier -> field_identifier)) ;) (expression_statement "analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab);" (call_expression "analyzeOneTable(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab)" identifier (argument_list "(pParse,pTab,pOnlyIdx,iVar5,pParse->nMem + 1,iTab)" ( identifier , identifier , identifier , identifier , (binary_expression "pParse->nMem + 1" (field_expression "pParse->nMem" identifier -> field_identifier) + number_literal) , identifier ))) ;) (expression_statement "p = pParse->pVdbe;" (assignment_expression "p = pParse->pVdbe" identifier = (field_expression "pParse->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (p == (Vdbe *)0x0) {\n    in_stack_ffffffd0 = 0xc9d87;\n    p = sqlite3GetVdbe(pParse);\n    if (p == (Vdbe *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(p == (Vdbe *)0x0)" ( (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    in_stack_ffffffd0 = 0xc9d87;\n    p = sqlite3GetVdbe(pParse);\n    if (p == (Vdbe *)0x0) {\n      return;\n    }\n  }" { (expression_statement "in_stack_ffffffd0 = 0xc9d87;" (assignment_expression "in_stack_ffffffd0 = 0xc9d87" identifier = number_literal) ;) (expression_statement "p = sqlite3GetVdbe(pParse);" (assignment_expression "p = sqlite3GetVdbe(pParse)" identifier = (call_expression "sqlite3GetVdbe(pParse)" identifier (argument_list "(pParse)" ( identifier )))) ;) (if_statement "if (p == (Vdbe *)0x0) {\n      return;\n    }" if (parenthesized_expression "(p == (Vdbe *)0x0)" ( (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "iVar5 = p->nOp;" (assignment_expression "iVar5 = p->nOp" identifier = (field_expression "p->nOp" identifier -> field_identifier)) ;) (if_statement "if (iVar5 < p->nOpAlloc) {\n    p->nOp = iVar5 + 1;\n    pOVar1 = p->aOp + iVar5;\n    pOVar1->p1 = iDb;\n    pOVar1->p2 = 0;\n    pOVar1->p3 = 0;\n    (pOVar1->p4).i = 0;\n    pOVar1->opcode = 0x8e;\n    pOVar1->p4type = '\0';\n    pOVar1->p5 = 0;\n    return;\n  }" if (parenthesized_expression "(iVar5 < p->nOpAlloc)" ( (binary_expression "iVar5 < p->nOpAlloc" identifier < (field_expression "p->nOpAlloc" identifier -> field_identifier)) )) (compound_statement "{\n    p->nOp = iVar5 + 1;\n    pOVar1 = p->aOp + iVar5;\n    pOVar1->p1 = iDb;\n    pOVar1->p2 = 0;\n    pOVar1->p3 = 0;\n    (pOVar1->p4).i = 0;\n    pOVar1->opcode = 0x8e;\n    pOVar1->p4type = '\0';\n    pOVar1->p5 = 0;\n    return;\n  }" { (expression_statement "p->nOp = iVar5 + 1;" (assignment_expression "p->nOp = iVar5 + 1" (field_expression "p->nOp" identifier -> field_identifier) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pOVar1 = p->aOp + iVar5;" (assignment_expression "pOVar1 = p->aOp + iVar5" identifier = (binary_expression "p->aOp + iVar5" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) (expression_statement "pOVar1->p1 = iDb;" (assignment_expression "pOVar1->p1 = iDb" (field_expression "pOVar1->p1" identifier -> field_identifier) = identifier) ;) (expression_statement "pOVar1->p2 = 0;" (assignment_expression "pOVar1->p2 = 0" (field_expression "pOVar1->p2" identifier -> field_identifier) = number_literal) ;) (expression_statement "pOVar1->p3 = 0;" (assignment_expression "pOVar1->p3 = 0" (field_expression "pOVar1->p3" identifier -> field_identifier) = number_literal) ;) (expression_statement "(pOVar1->p4).i = 0;" (assignment_expression "(pOVar1->p4).i = 0" (field_expression "(pOVar1->p4).i" (parenthesized_expression "(pOVar1->p4)" ( (field_expression "pOVar1->p4" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "pOVar1->opcode = 0x8e;" (assignment_expression "pOVar1->opcode = 0x8e" (field_expression "pOVar1->opcode" identifier -> field_identifier) = number_literal) ;) (expression_statement "pOVar1->p4type = '\0';" (assignment_expression "pOVar1->p4type = '\0'" (field_expression "pOVar1->p4type" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pOVar1->p5 = 0;" (assignment_expression "pOVar1->p5 = 0" (field_expression "pOVar1->p5" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "growOp3(p,0,0,iTab,in_stack_ffffffd0);" (call_expression "growOp3(p,0,0,iTab,in_stack_ffffffd0)" identifier (argument_list "(p,0,0,iTab,in_stack_ffffffd0)" ( identifier , number_literal , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (expression_statement "piVar7 = (int *)param_1[0x1d];" (assignment_expression "piVar7 = (int *)param_1[0x1d]" identifier = (cast_expression "(int *)param_1[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = param_2[0x12];" (assignment_expression "iVar4 = param_2[0x12]" identifier = (subscript_expression "param_2[0x12]" identifier [ number_literal ])) ;) (if_statement "if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = -0x8000;" (assignment_expression "iVar6 = -0x8000" identifier = number_literal) ;) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar7 = param_1;\n    }" { (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" identifier = identifier) ;) })) }) (else_clause "else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" else (compound_statement "{\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" { (if_statement "if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" if (parenthesized_expression "(iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc))" ( (binary_expression "iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)" identifier == (pointer_expression "*(int *)(*(int *)(*param_1 + 0x10) + 0xc)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0xc)" ( (binary_expression "*(int *)(*param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x10)" * (cast_expression "(int *)(*param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) ))))) )) (compound_statement "{\n      uVar5 = 1;\n      iVar6 = 0;\n    }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" else (compound_statement "{\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);" (assignment_expression "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c)" identifier = (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0x1c)" ( (binary_expression "*(int *)(*param_1 + 0x10) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x10)" * (cast_expression "(int *)(*param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) ;) (do_statement "do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);" do (compound_statement "{\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) ;) (expression_statement "uVar5 = 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "uVar5 = 1 << ((byte)iVar6 & 0x1f)" identifier = (binary_expression "1 << ((byte)iVar6 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar6 & 0x1f)" ( (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) }))) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar7 = param_1;\n    }" { (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" identifier = identifier) ;) })) (if_statement "if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" if (parenthesized_expression "(((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1))" ( (binary_expression "((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" (parenthesized_expression "((piVar7[0x15] & uVar5) == 0)" ( (binary_expression "(piVar7[0x15] & uVar5) == 0" (parenthesized_expression "(piVar7[0x15] & uVar5)" ( (binary_expression "piVar7[0x15] & uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) & identifier) )) == number_literal) )) && (parenthesized_expression "(piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" ( (comma_expression "piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1" (assignment_expression "piVar7[0x15] = piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) = (binary_expression "piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" identifier [ number_literal ]) | identifier)) , (binary_expression "iVar6 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" { (expression_statement "FUN_00087420();" (call_expression "FUN_00087420()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) = (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) | identifier)) ;) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (goto_statement "goto joined_r0x000c9c52;" goto statement_identifier ;) })) }))) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) = (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" identifier [ number_literal ]) | identifier)) ;) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (labeled_statement "joined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" statement_identifier : (if_statement "if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" if (parenthesized_expression "(param_3 == (undefined4 *)0x0)" ( (binary_expression "param_3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }" { (expression_statement "puVar9 = &DAT_000d28f2;" (assignment_expression "puVar9 = &DAT_000d28f2" identifier = (pointer_expression "&DAT_000d28f2" & identifier)) ;) (expression_statement "uVar8 = *param_2;" (assignment_expression "uVar8 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }) (else_clause "else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" else (compound_statement "{\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" { (expression_statement "puVar9 = &DAT_000d2741;" (assignment_expression "puVar9 = &DAT_000d2741" identifier = (pointer_expression "&DAT_000d2741" & identifier)) ;) (expression_statement "uVar8 = *param_3;" (assignment_expression "uVar8 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) })))) (expression_statement "FUN_000c97a0(uVar8,puVar9);" (call_expression "FUN_000c97a0(uVar8,puVar9)" identifier (argument_list "(uVar8,puVar9)" ( identifier , identifier ))) ;) (expression_statement "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);" (call_expression "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10])" identifier (argument_list "(iVar4,param_1[0xb] + 1,param_1[10])" ( identifier , (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal) , (subscript_expression "param_1[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }" if (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0))" ( (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar4 = FUN_00049b90(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_00049b90(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00049b90()" identifier = (call_expression "FUN_00049b90()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *(int *)(iVar4 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar4 + 0x68)" identifier = (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" if (parenthesized_expression "(iVar2 < *(int *)(iVar4 + 0x6c))" ( (binary_expression "iVar2 < *(int *)(iVar4 + 0x6c)" identifier < (pointer_expression "*(int *)(iVar4 + 0x6c)" * (cast_expression "(int *)(iVar4 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x6c)" ( (binary_expression "iVar4 + 0x6c" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" { (expression_statement "*(int *)(iVar4 + 0x68) = iVar2 + 1;" (assignment_expression "*(int *)(iVar4 + 0x68) = iVar2 + 1" (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) )))) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" identifier = (cast_expression "(undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 100) + iVar2 * 0x14)" ( (binary_expression "*(int *)(iVar4 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar4 + 100)" * (cast_expression "(int *)(iVar4 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 100)" ( (binary_expression "iVar4 + 100" identifier + number_literal) )))) + (binary_expression "iVar2 * 0x14" identifier * number_literal)) )))) ;) (expression_statement "puVar1[1] = iVar6;" (assignment_expression "puVar1[1] = iVar6" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar1 = 0x8e;" (assignment_expression "*puVar1 = 0x8e" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00049170(0,0);" (call_expression "FUN_00049170(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & IDENT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000c9be0(int *param_1,undefined4 *param_2,undefined4 *param_3)" (identifier "FUN_000c9be0") (parameter_list "(int *param_1,undefined4 *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  \n  piVar7 = (int *)param_1[0x1d];\n  iVar4 = param_2[0x12];\n  if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }\n  piVar7[0x14] = piVar7[0x14] | uVar5;\n  iVar4 = param_1[10];\n  param_1[10] = iVar4 + 3;\njoined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }\n  FUN_000c97a0(uVar8,puVar9);\n  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);\n  iVar4 = param_1[2];\n  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }\n  iVar2 = *(int *)(iVar4 + 0x68);\n  if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }\n  FUN_00049170(0,0);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (expression_statement "piVar7 = (int *)param_1[0x1d];" (assignment_expression "piVar7 = (int *)param_1[0x1d]" (identifier "piVar7") (= "=") (cast_expression "(int *)param_1[0x1d]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (expression_statement "iVar4 = param_2[0x12];" (assignment_expression "iVar4 = param_2[0x12]" (identifier "iVar4") (= "=") (subscript_expression "param_2[0x12]" (identifier "param_2") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (if_statement "if (iVar4 == 0) {\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }\n  else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 0;\n    iVar6 = -0x8000;\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = -0x8000;" (assignment_expression "iVar6 = -0x8000" (identifier "iVar6") (= "=") (number_literal "-0x8000")) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar7 = param_1;\n    }" ({ "{") (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" (identifier "piVar7") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" (else "else") (compound_statement "{\n    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }\n    if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }\n    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }\n  }" ({ "{") (if_statement "if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {\n      uVar5 = 1;\n      iVar6 = 0;\n    }\n    else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" (if "if") (parenthesized_expression "(iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc))" (( "(") (binary_expression "iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)" (identifier "iVar4") (== "==") (pointer_expression "*(int *)(*(int *)(*param_1 + 0x10) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0xc)" (( "(") (binary_expression "*(int *)(*param_1 + 0x10) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x10)" (* "*") (cast_expression "(int *)(*param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n      uVar5 = 1;\n      iVar6 = 0;\n    }" ({ "{") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" (else "else") (compound_statement "{\n      iVar6 = 0;\n      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);\n      do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);\n      uVar5 = 1 << ((byte)iVar6 & 0x1f);\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);" (assignment_expression "piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(int *)(*param_1 + 0x10) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 0x10) + 0x1c)" (( "(") (binary_expression "*(int *)(*param_1 + 0x10) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x10)" (* "*") (cast_expression "(int *)(*param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (do_statement "do {\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      } while (iVar4 != iVar2);" (do "do") (compound_statement "{\n        iVar6 = iVar6 + 1;\n        iVar2 = *piVar3;\n        piVar3 = piVar3 + 4;\n      }" ({ "{") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 4" (identifier "piVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != iVar2)" (( "(") (binary_expression "iVar4 != iVar2" (identifier "iVar4") (!= "!=") (identifier "iVar2")) () ")")) (; ";")) (expression_statement "uVar5 = 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "uVar5 = 1 << ((byte)iVar6 & 0x1f)" (identifier "uVar5") (= "=") (binary_expression "1 << ((byte)iVar6 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar6 & 0x1f)" (( "(") (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar6")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (} "}")))) (if_statement "if (piVar7 == (int *)0x0) {\n      piVar7 = param_1;\n    }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar7 = param_1;\n    }" ({ "{") (expression_statement "piVar7 = param_1;" (assignment_expression "piVar7 = param_1" (identifier "piVar7") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (if_statement "if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" (if "if") (parenthesized_expression "(((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1))" (( "(") (binary_expression "((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" (parenthesized_expression "((piVar7[0x15] & uVar5) == 0)" (( "(") (binary_expression "(piVar7[0x15] & uVar5) == 0" (parenthesized_expression "(piVar7[0x15] & uVar5)" (( "(") (binary_expression "piVar7[0x15] & uVar5" (subscript_expression "piVar7[0x15]" (identifier "piVar7") ([ "[") (number_literal "0x15") (] "]")) (& "&") (identifier "uVar5")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)" (( "(") (comma_expression "piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1" (assignment_expression "piVar7[0x15] = piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" (identifier "piVar7") ([ "[") (number_literal "0x15") (] "]")) (= "=") (binary_expression "piVar7[0x15] | uVar5" (subscript_expression "piVar7[0x15]" (identifier "piVar7") ([ "[") (number_literal "0x15") (] "]")) (| "|") (identifier "uVar5"))) (, ",") (binary_expression "iVar6 == 1" (identifier "iVar6") (== "==") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n      FUN_00087420();\n      piVar7[0x14] = piVar7[0x14] | uVar5;\n      iVar4 = param_1[10];\n      param_1[10] = iVar4 + 3;\n      goto joined_r0x000c9c52;\n    }" ({ "{") (expression_statement "FUN_00087420();" (call_expression "FUN_00087420()" (identifier "FUN_00087420") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" (identifier "piVar7") ([ "[") (number_literal "0x14") (] "]")) (= "=") (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" (identifier "piVar7") ([ "[") (number_literal "0x14") (] "]")) (| "|") (identifier "uVar5"))) (; ";")) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" (identifier "iVar4") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar4 + 3" (identifier "iVar4") (+ "+") (number_literal "3"))) (; ";")) (goto_statement "goto joined_r0x000c9c52;" (goto "goto") (statement_identifier "joined_r0x000c9c52") (; ";")) (} "}"))) (} "}")))) (expression_statement "piVar7[0x14] = piVar7[0x14] | uVar5;" (assignment_expression "piVar7[0x14] = piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" (identifier "piVar7") ([ "[") (number_literal "0x14") (] "]")) (= "=") (binary_expression "piVar7[0x14] | uVar5" (subscript_expression "piVar7[0x14]" (identifier "piVar7") ([ "[") (number_literal "0x14") (] "]")) (| "|") (identifier "uVar5"))) (; ";")) (expression_statement "iVar4 = param_1[10];" (assignment_expression "iVar4 = param_1[10]" (identifier "iVar4") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "param_1[10] = iVar4 + 3;" (assignment_expression "param_1[10] = iVar4 + 3" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar4 + 3" (identifier "iVar4") (+ "+") (number_literal "3"))) (; ";")) (labeled_statement "joined_r0x000c9c52:\n  if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" (statement_identifier "joined_r0x000c9c52") (: ":") (if_statement "if (param_3 == (undefined4 *)0x0) {\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }\n  else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" (if "if") (parenthesized_expression "(param_3 == (undefined4 *)0x0)" (( "(") (binary_expression "param_3 == (undefined4 *)0x0" (identifier "param_3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar9 = &DAT_000d28f2;\n    uVar8 = *param_2;\n  }" ({ "{") (expression_statement "puVar9 = &DAT_000d28f2;" (assignment_expression "puVar9 = &DAT_000d28f2" (identifier "puVar9") (= "=") (pointer_expression "&DAT_000d28f2" (& "&") (identifier "DAT_000d28f2"))) (; ";")) (expression_statement "uVar8 = *param_2;" (assignment_expression "uVar8 = *param_2" (identifier "uVar8") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}")) (else_clause "else {\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" (else "else") (compound_statement "{\n    puVar9 = &DAT_000d2741;\n    uVar8 = *param_3;\n  }" ({ "{") (expression_statement "puVar9 = &DAT_000d2741;" (assignment_expression "puVar9 = &DAT_000d2741" (identifier "puVar9") (= "=") (pointer_expression "&DAT_000d2741" (& "&") (identifier "DAT_000d2741"))) (; ";")) (expression_statement "uVar8 = *param_3;" (assignment_expression "uVar8 = *param_3" (identifier "uVar8") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (} "}"))))) (expression_statement "FUN_000c97a0(uVar8,puVar9);" (call_expression "FUN_000c97a0(uVar8,puVar9)" (identifier "FUN_000c97a0") (argument_list "(uVar8,puVar9)" (( "(") (identifier "uVar8") (, ",") (identifier "puVar9") () ")"))) (; ";")) (expression_statement "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);" (call_expression "FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10])" (identifier "FUN_00051a60") (argument_list "(iVar4,param_1[0xb] + 1,param_1[10])" (( "(") (identifier "iVar4") (, ",") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1")) (, ",") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) () ")"))) (; ";")) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {\n    return;\n  }" (if "if") (parenthesized_expression "((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0))" (( "(") (binary_expression "(iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_00049b90(), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_00049b90(), iVar4 == 0" (assignment_expression "iVar4 = FUN_00049b90()" (identifier "iVar4") (= "=") (call_expression "FUN_00049b90()" (identifier "FUN_00049b90") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(iVar4 + 0x68);" (assignment_expression "iVar2 = *(int *)(iVar4 + 0x68)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar4 + 0x68)" (* "*") (cast_expression "(int *)(iVar4 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x68)" (( "(") (binary_expression "iVar4 + 0x68" (identifier "iVar4") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (if_statement "if (iVar2 < *(int *)(iVar4 + 0x6c)) {\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 < *(int *)(iVar4 + 0x6c))" (( "(") (binary_expression "iVar2 < *(int *)(iVar4 + 0x6c)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(iVar4 + 0x6c)" (* "*") (cast_expression "(int *)(iVar4 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x6c)" (( "(") (binary_expression "iVar4 + 0x6c" (identifier "iVar4") (+ "+") (number_literal "0x6c")) () ")"))))) () ")")) (compound_statement "{\n    *(int *)(iVar4 + 0x68) = iVar2 + 1;\n    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);\n    puVar1[1] = iVar6;\n    puVar1[2] = 0;\n    puVar1[3] = 0;\n    puVar1[4] = 0;\n    *puVar1 = 0x8e;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(iVar4 + 0x68) = iVar2 + 1;" (assignment_expression "*(int *)(iVar4 + 0x68) = iVar2 + 1" (pointer_expression "*(int *)(iVar4 + 0x68)" (* "*") (cast_expression "(int *)(iVar4 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x68)" (( "(") (binary_expression "iVar4 + 0x68" (identifier "iVar4") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 100) + iVar2 * 0x14)" (( "(") (binary_expression "*(int *)(iVar4 + 100) + iVar2 * 0x14" (pointer_expression "*(int *)(iVar4 + 100)" (* "*") (cast_expression "(int *)(iVar4 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 100)" (( "(") (binary_expression "iVar4 + 100" (identifier "iVar4") (+ "+") (number_literal "100")) () ")")))) (+ "+") (binary_expression "iVar2 * 0x14" (identifier "iVar2") (* "*") (number_literal "0x14"))) () ")")))) (; ";")) (expression_statement "puVar1[1] = iVar6;" (assignment_expression "puVar1[1] = iVar6" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar1 = 0x8e;" (assignment_expression "*puVar1 = 0x8e" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0x8e")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00049170(0,0);" (call_expression "FUN_00049170(0,0)" (identifier "FUN_00049170") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *pParse,type_2 *pTab,type_3 *var_9)

{
  type_4 *pOVar1;
  type_5 *var_5;
  type_5 *var_1;
  type_6 *pDVar4;
  int var_8;
  type_5 **var_4;
  type_7 *var_12;
  type_8 var_6;
  int var_3;
  type_1 *var_2;
  char *zWhere;
  char *zWhereType;
  int iTab;
  int in_stack_ffffffd0;
  
  var_2 = pParse->pToplevel;
  var_1 = pTab->pSchema;
  if (var_1 == (type_5 *)0x0) {
    var_6 = 0;
    var_3 = -0x8000;
    if (var_2 == (type_1 *)0x0) {
      var_2 = pParse;
    }
  }
  else {
    pDVar4 = pParse->db->aDb;
    if (var_1 == pDVar4->pSchema) {
      var_6 = 1;
      var_3 = 0;
    }
    else {
      var_3 = 0;
      var_4 = &pDVar4[1].pSchema;
      do {
        var_3 = var_3 + 1;
        var_5 = *var_4;
        var_4 = var_4 + 4;
      } while (var_1 != var_5);
      var_6 = 1 << ((type_9)var_3 & 0x1f);
    }
    if (var_2 == (type_1 *)0x0) {
      var_2 = pParse;
    }
    if (((var_2->cookieMask & var_6) == 0) &&
       (var_2->cookieMask = var_2->cookieMask | var_6, var_3 == 1)) {
      in_stack_ffffffd0 = 0xc9d01;
      var_7(var_2);
      var_2->writeMask = var_2->writeMask | var_6;
      var_8 = pParse->nTab;
      pParse->nTab = var_8 + 3;
      goto joined_r0x000c9c52;
    }
  }
  var_2->writeMask = var_2->writeMask | var_6;
  var_8 = pParse->nTab;
  pParse->nTab = var_8 + 3;
joined_r0x000c9c52:
  if (var_9 == (type_3 *)0x0) {
    zWhereType = "tbl";
    zWhere = pTab->zName;
  }
  else {
    zWhereType = "idx";
    zWhere = var_9->zName;
  }
  var_10(pParse,var_3,var_8,zWhere,zWhereType);
  iTab = pParse->nTab;
  var_11(pParse,pTab,var_9,var_8,pParse->nMem + 1,iTab);
  var_12 = pParse->pVdbe;
  if (var_12 == (type_7 *)0x0) {
    in_stack_ffffffd0 = 0xc9d87;
    var_12 = var_13(pParse);
    if (var_12 == (type_7 *)0x0) {
      return;
    }
  }
  var_8 = var_12->nOp;
  if (var_8 < var_12->nOpAlloc) {
    var_12->nOp = var_8 + 1;
    pOVar1 = var_12->aOp + var_8;
    pOVar1->p1 = var_3;
    pOVar1->p2 = 0;
    pOVar1->p3 = 0;
    (pOVar1->p4).i = 0;
    pOVar1->opcode = 0x8e;
    pOVar1->p4type = '\0';
    pOVar1->p5 = 0;
    return;
  }
  var_14(var_12,0,0,iTab,in_stack_ffffffd0);
  return;
}


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

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

void __regparm3 MASKED(int *param_1,undefined4 *param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  undefined4 uVar8;
  undefined *puVar9;
  
  piVar7 = (int *)param_1[0x1d];
  iVar4 = param_2[0x12];
  if (iVar4 == 0) {
    uVar5 = 0;
    iVar6 = -0x8000;
    if (piVar7 == (int *)0x0) {
      piVar7 = param_1;
    }
  }
  else {
    if (iVar4 == *(int *)(*(int *)(*param_1 + 0x10) + 0xc)) {
      uVar5 = 1;
      iVar6 = 0;
    }
    else {
      iVar6 = 0;
      piVar3 = (int *)(*(int *)(*param_1 + 0x10) + 0x1c);
      do {
        iVar6 = iVar6 + 1;
        iVar2 = *piVar3;
        piVar3 = piVar3 + 4;
      } while (iVar4 != iVar2);
      uVar5 = 1 << ((byte)iVar6 & 0x1f);
    }
    if (piVar7 == (int *)0x0) {
      piVar7 = param_1;
    }
    if (((piVar7[0x15] & uVar5) == 0) && (piVar7[0x15] = piVar7[0x15] | uVar5, iVar6 == 1)) {
      FUN_00087420();
      piVar7[0x14] = piVar7[0x14] | uVar5;
      iVar4 = param_1[10];
      param_1[10] = iVar4 + 3;
      goto joined_r0x000c9c52;
    }
  }
  piVar7[0x14] = piVar7[0x14] | uVar5;
  iVar4 = param_1[10];
  param_1[10] = iVar4 + 3;
joined_r0x000c9c52:
  if (param_3 == (undefined4 *)0x0) {
    puVar9 = &DAT_000d28f2;
    uVar8 = *param_2;
  }
  else {
    puVar9 = &DAT_000d2741;
    uVar8 = *param_3;
  }
  FUN_000c97a0(uVar8,puVar9);
  FUN_00051a60(iVar4,param_1[0xb] + 1,param_1[10]);
  iVar4 = param_1[2];
  if ((iVar4 == 0) && (iVar4 = FUN_00049b90(), iVar4 == 0)) {
    return;
  }
  iVar2 = *(int *)(iVar4 + 0x68);
  if (iVar2 < *(int *)(iVar4 + 0x6c)) {
    *(int *)(iVar4 + 0x68) = iVar2 + 1;
    puVar1 = (undefined4 *)(*(int *)(iVar4 + 100) + iVar2 * 0x14);
    puVar1[1] = iVar6;
    puVar1[2] = 0;
    puVar1[3] = 0;
    puVar1[4] = 0;
    *puVar1 = 0x8e;
    return;
  }
  FUN_00049170(0,0);
  return;
}

