
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int __regparm3 sqlite3BtreeCloseCursor(BtCursor *pCur)

{
  int *piVar1;
  u8 uVar2;
  char cVar3;
  Btree *p;
  BtShared *pBVar4;
  PgHdr *pPVar5;
  Pager *pPVar6;
  longlong lVar7;
  BtCursor *pBVar8;
  BtCursor *pBVar9;
  uint uVar10;
  BtCursor *pBVar11;
  int iVar12;
  
  p = pCur->pBtree;
  if (p == (Btree *)0x0) {
    return 0;
  }
  pBVar4 = pCur->pBt;
  if ((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')) {
    btreeLockCarefully(p);
  }
  pBVar11 = pBVar4->pCursor;
  pBVar8 = pBVar11->pNext;
  if (pBVar11 == pCur) {
    pBVar4->pCursor = pBVar11->pNext;
    cVar3 = pCur->iPage;
  }
  else {
    while (pBVar9 = pBVar8, pCur != pBVar9) {
      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;
      pBVar11 = pBVar9;
      pBVar8 = pBVar9->pNext;
    }
    pBVar11->pNext = pCur->pNext;
LAB_00080873:
    cVar3 = pCur->iPage;
  }
  if (cVar3 < '\0') {
    uVar2 = pBVar4->inTransaction;
  }
  else {
    iVar12 = 0;
    if (cVar3 != '\0') {
      do {
        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {
          sqlite3PcacheRelease(pPVar5);
          iVar12 = iVar12 + 1;
          if (pCur->iPage <= iVar12) goto LAB_000808fd;
        }
        pPVar6 = pPVar5->pPager;
        iVar12 = iVar12 + 1;
        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;
        pPVar5->pDirty = pPVar6->pMmapFreelist;
        pPVar6->pMmapFreelist = pPVar5;
        uVar10 = pPVar5->pgno - 1;
        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;
        (*pPVar6->fd->pMethods->xUnfetch)
                  (pPVar6->fd,
                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,
                            (int)lVar7),pPVar5->pData);
      } while (iVar12 < pCur->iPage);
    }
LAB_000808fd:
    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);
    pCur->iPage = -1;
    uVar2 = pBVar4->inTransaction;
  }
  if ((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)) {
    pPVar5 = pBVar4->pPage1->pDbPage;
    pBVar4->pPage1 = (MemPage *)0x0;
    pPVar6 = pPVar5->pPager;
    sqlite3PcacheRelease(pPVar5);
    if (pPVar6->pPCache->nRefSum == 0) {
      pagerUnlockAndRollback(pPVar6);
    }
  }
  sqlite3_free(pCur->aOverflow);
  sqlite3_free(pCur->pKey);
  if (p->sharable != '\0') {
    piVar1 = &p->wantToLock;
    *piVar1 = *piVar1 + -1;
    if (*piVar1 == 0) {
      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);
      pCur->pBtree = (Btree *)0x0;
      return 0;
    }
  }
  pCur->pBtree = (Btree *)0x0;
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 __regparm3 FUN_00080820(int param_1)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  longlong lVar6;
  int iVar7;
  uint uVar8;
  undefined **ppuVar9;
  int iVar10;
  int iVar11;
  undefined **ppuVar12;
  
  ppuVar9 = &__DT_PLTGOT;
  iVar3 = *(int *)(param_1 + 8);
  if (iVar3 == 0) {
    return 0;
  }
  iVar11 = *(int *)(param_1 + 0x14);
  ppuVar12 = ppuVar9;
  if ((*(char *)(iVar3 + 9) != '\0') &&
     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,
     *(char *)(iVar3 + 10) == '\0')) {
    FUN_00024a50();
    ppuVar12 = ppuVar9;
  }
  iVar10 = *(int *)(iVar11 + 8);
  iVar4 = *(int *)(iVar10 + 0x18);
  if (iVar10 == param_1) {
    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);
    cVar2 = *(char *)(param_1 + 0x3c);
  }
  else {
    while (iVar7 = iVar4, param_1 != iVar7) {
      if (iVar7 == 0) goto LAB_00080873;
      iVar10 = iVar7;
      iVar4 = *(int *)(iVar7 + 0x18);
    }
    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);
LAB_00080873:
    cVar2 = *(char *)(param_1 + 0x3c);
  }
  if (cVar2 < '\0') {
    cVar2 = *(char *)(iVar11 + 0x14);
  }
  else {
    iVar10 = 0;
    if (cVar2 != '\0') {
      do {
        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),
              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {
          FUN_0001f070();
          iVar10 = iVar10 + 1;
          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;
        }
        iVar7 = *(int *)(iVar4 + 0x14);
        iVar10 = iVar10 + 1;
        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;
        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);
        *(int *)(iVar7 + 0x84) = iVar4;
        iVar5 = **(int **)(iVar7 + 0x3c);
        uVar8 = *(int *)(iVar4 + 0x18) - 1;
        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);
        (**(code **)(iVar5 + 0x48))
                  (*(int **)(iVar7 + 0x3c),(int)lVar6,
                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,
                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);
      } while (iVar10 < *(char *)(param_1 + 0x3c));
    }
LAB_000808fd:
    FUN_0001f280();
    *(undefined1 *)(param_1 + 0x3c) = 0xff;
    cVar2 = *(char *)(iVar11 + 0x14);
  }
  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {
    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);
    *(undefined4 *)(iVar11 + 0xc) = 0;
    iVar11 = *(int *)(iVar10 + 0x14);
    FUN_0001f070();
    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {
      FUN_000804f0();
    }
  }
  sqlite3_free(*(undefined4 *)(param_1 + 0xc));
  sqlite3_free(*(undefined4 *)(param_1 + 0x10));
  if (*(char *)(iVar3 + 9) != '\0') {
    piVar1 = (int *)(iVar3 + 0xc);
    *piVar1 = *piVar1 + -1;
    if (*piVar1 == 0) {
      FUN_00024a20();
      *(undefined4 *)(param_1 + 8) = 0;
      return 0;
    }
  }
  *(undefined4 *)(param_1 + 8) = 0;
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000d0aa7
ADD ECX,0x857d7
SUB ESP,0x1c
MOV EDI,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x8],ECX
TEST EDI,EDI
JZ 0x000808ba
CMP byte ptr [EDI + 0x9],0x0
MOV EBP,EAX
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP],EAX
JNZ 0x00080920
MOV EDX,dword ptr [EAX + 0x8]
CMP EDX,EBP
MOV EAX,dword ptr [EDX + 0x18]
JNZ 0x00080869
JMP 0x000809e0
TEST EAX,EAX
JZ 0x00080873
MOV EDX,EAX
MOV EAX,dword ptr [EAX + 0x18]
CMP EBP,EAX
JNZ 0x00080860
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [EDX + 0x18],EAX
CMP byte ptr [EBP + 0x3c],0x0
JNS 0x000808c8
MOV EAX,dword ptr [ESP]
CMP byte ptr [EAX + 0x14],0x0
JZ 0x00080940
SUB ESP,0xc
PUSH dword ptr [EBP + 0xc]
MOV ESI,dword ptr [ESP + 0x18]
MOV EBX,ESI
CALL 0x00016d30
POP EAX
PUSH dword ptr [EBP + 0x10]
CALL 0x00016d30
ADD ESP,0x10
CMP byte ptr [EDI + 0x9],0x0
JZ 0x000808b3
SUB dword ptr [EDI + 0xc],0x1
JZ 0x000809f8
MOV dword ptr [EBP + 0x8],0x0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,0x0
JZ 0x000808fd
MOV dword ptr [ESP + 0xc],EDI
NOP
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + EBX*0x4 + 0x70]
MOV EAX,dword ptr [EAX + 0x48]
TEST byte ptr [EAX + 0x1c],0x20
JNZ 0x00080980
CALL 0x0001f070
MOVSX EAX,byte ptr [EBP + 0x3c]
ADD EBX,0x1
CMP EAX,EBX
JG 0x000808d8
MOV EDI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EBP + 0x6c]
MOV EAX,dword ptr [EAX + 0x48]
CALL 0x0001f280
MOV EAX,dword ptr [ESP]
MOV byte ptr [EBP + 0x3c],0xff
CMP byte ptr [EAX + 0x14],0x0
JNZ 0x00080886
JMP 0x00080940
ADD dword ptr [EDI + 0xc],0x1
CMP byte ptr [EDI + 0xa],0x0
JNZ 0x0008084f
MOV EAX,EDI
CALL 0x00024a50
MOV EAX,dword ptr [ESP]
JMP 0x0008084f
MOV ECX,EAX
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00080886
MOV EAX,dword ptr [EAX + 0x48]
MOV dword ptr [ECX + 0xc],0x0
MOV EBX,dword ptr [EAX + 0x14]
CALL 0x0001f070
MOV EAX,dword ptr [EBX + 0xd0]
MOV EDX,dword ptr [EAX + 0xc]
TEST EDX,EDX
JNZ 0x00080886
MOV EAX,EBX
CALL 0x000804f0
JMP 0x00080886
MOV EDX,dword ptr [EAX + 0x14]
ADD EBX,0x1
MOV ECX,dword ptr [EDX + 0x84]
SUB dword ptr [EDX + 0x78],0x1
MOV dword ptr [EAX + 0x10],ECX
MOV ECX,dword ptr [EDX + 0x3c]
MOV dword ptr [EDX + 0x84],EAX
MOV EDX,dword ptr [EDX + 0x94]
MOV EDI,dword ptr [ECX]
MOV dword ptr [ESP + 0x4],EDI
PUSH dword ptr [EAX + 0x4]
MOV EDI,EDX
MOV EAX,dword ptr [EAX + 0x18]
SAR EDI,0x1f
MOV ESI,EDI
SUB EAX,0x1
IMUL ESI,EAX
MUL EDX
ADD EDX,ESI
PUSH EDX
PUSH EAX
PUSH ECX
MOV EDI,dword ptr [ESP + 0x14]
CALL dword ptr [EDI + 0x48]
MOVSX EAX,byte ptr [EBP + 0x3c]
ADD ESP,0x10
CMP EBX,EAX
JL 0x000808d8
JMP 0x000808f9
MOV ECX,dword ptr [ESP]
MOV dword ptr [ECX + 0x8],EAX
CMP byte ptr [EBP + 0x3c],0x0
JS 0x00080879
JMP 0x000808c8
MOV EAX,dword ptr [EDI + 0x4]
LEA EDX,[EDI + 0xa]
CALL 0x00024a20
MOV dword ptr [EBP + 0x8],0x0
JMP 0x000808ba
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 __regparm3 FUN_00080820(int param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00080820(int param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00080820(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined **ppuVar9;" type_identifier (pointer_declarator "**ppuVar9" * (pointer_declarator "*ppuVar9" * identifier)) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined **ppuVar12;" type_identifier (pointer_declarator "**ppuVar12" * (pointer_declarator "*ppuVar12" * identifier)) ;) (expression_statement "ppuVar9 = &__DT_PLTGOT;" (assignment_expression "ppuVar9 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar11 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar11 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" identifier = identifier) ;) (if_statement "if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" if (parenthesized_expression "((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'))" ( (binary_expression "(*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" ( (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" * (cast_expression "(char *)(iVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 9)" ( (binary_expression "iVar3 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" ( (comma_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) , (comma_expression "ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "ppuVar12 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) , (binary_expression "*(char *)(iVar3 + 10) == '\0'" (pointer_expression "*(char *)(iVar3 + 10)" * (cast_expression "(char *)(iVar3 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 10)" ( (binary_expression "iVar3 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" { (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" identifier = identifier) ;) })) (expression_statement "iVar10 = *(int *)(iVar11 + 8);" (assignment_expression "iVar10 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar10 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar10 + 0x18)" identifier = (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" if (parenthesized_expression "(iVar10 == param_1)" ( (binary_expression "iVar10 == param_1" identifier == identifier) )) (compound_statement "{\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" { (expression_statement "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);" (assignment_expression "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18)" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" identifier = (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" else (compound_statement "{\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" { (while_statement "while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" while (parenthesized_expression "(iVar7 = iVar4, param_1 != iVar7)" ( (comma_expression "iVar7 = iVar4, param_1 != iVar7" (assignment_expression "iVar7 = iVar4" identifier = identifier) , (binary_expression "param_1 != iVar7" identifier != identifier)) )) (compound_statement "{\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" { (if_statement "if (iVar7 == 0) goto LAB_00080873;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00080873;" goto statement_identifier ;)) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(iVar7 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x18)" identifier = (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" * (cast_expression "(undefined4 *)(iVar10 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);" statement_identifier : (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" identifier = (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;)) }))) (if_statement "if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" if (parenthesized_expression "(cVar2 < '\0')" ( (binary_expression "cVar2 < '\0'" identifier < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" { (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" identifier = (pointer_expression "*(char *)(iVar11 + 0x14)" * (cast_expression "(char *)(iVar11 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" else (compound_statement "{\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" { (do_statement "do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));" do (compound_statement "{\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      }" { (while_statement "while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" while (parenthesized_expression "(iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0)" ( (comma_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" * (cast_expression "(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" ( (binary_expression "*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48" (pointer_expression "*(int *)(param_1 + 0x70 + iVar10 * 4)" * (cast_expression "(int *)(param_1 + 0x70 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70 + iVar10 * 4)" ( (binary_expression "param_1 + 0x70 + iVar10 * 4" (binary_expression "param_1 + 0x70" identifier + number_literal) + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) + number_literal) ))))) , (binary_expression "(*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x1c) & 0x20)" ( (binary_expression "*(byte *)(iVar4 + 0x1c) & 0x20" (pointer_expression "*(byte *)(iVar4 + 0x1c)" * (cast_expression "(byte *)(iVar4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal)) )) (compound_statement "{\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" { (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;" if (parenthesized_expression "(*(char *)(param_1 + 0x3c) <= iVar10)" ( (binary_expression "*(char *)(param_1 + 0x3c) <= iVar10" (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000808fd;" goto statement_identifier ;)) })) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;" (assignment_expression "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" * (cast_expression "(int *)(iVar7 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x78)" ( (binary_expression "iVar7 + 0x78" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" * (cast_expression "(int *)(iVar7 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x78)" ( (binary_expression "iVar7 + 0x78" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84)" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar7 + 0x84)" * (cast_expression "(undefined4 *)(iVar7 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x84)" ( (binary_expression "iVar7 + 0x84" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar7 + 0x84) = iVar4;" (assignment_expression "*(int *)(iVar7 + 0x84) = iVar4" (pointer_expression "*(int *)(iVar7 + 0x84)" * (cast_expression "(int *)(iVar7 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x84)" ( (binary_expression "iVar7 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = **(int **)(iVar7 + 0x3c);" (assignment_expression "iVar5 = **(int **)(iVar7 + 0x3c)" identifier = (pointer_expression "**(int **)(iVar7 + 0x3c)" * (pointer_expression "*(int **)(iVar7 + 0x3c)" * (cast_expression "(int **)(iVar7 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))))) ;) (expression_statement "uVar8 = *(int *)(iVar4 + 0x18) - 1;" (assignment_expression "uVar8 = *(int *)(iVar4 + 0x18) - 1" identifier = (binary_expression "*(int *)(iVar4 + 0x18) - 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);" (assignment_expression "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" identifier = (binary_expression "(ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" (binary_expression "(ulonglong)uVar8 * (ulonglong)" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(ulonglong)" ( identifier ))) * (cast_expression "(uint *)(iVar7 + 0x94)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x94)" ( (binary_expression "iVar7 + 0x94" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);" (call_expression "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" (parenthesized_expression "(**(code **)(iVar5 + 0x48))" ( (pointer_expression "**(code **)(iVar5 + 0x48)" * (pointer_expression "*(code **)(iVar5 + 0x48)" * (cast_expression "(code **)(iVar5 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x48)" ( (binary_expression "iVar5 + 0x48" identifier + number_literal) ))))) )) (argument_list "(*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" ( (pointer_expression "*(int **)(iVar7 + 0x3c)" * (cast_expression "(int **)(iVar7 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) , (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) , (binary_expression "(int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (cast_expression "(int)((ulonglong)lVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar6 >> 0x20)" ( (binary_expression "(ulonglong)lVar6 >> 0x20" (cast_expression "(ulonglong)lVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (binary_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (parenthesized_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f)" ( (binary_expression "(int)*(uint *)(iVar7 + 0x94) >> 0x1f" (cast_expression "(int)*(uint *)(iVar7 + 0x94)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(uint *)(iVar7 + 0x94)" * (cast_expression "(uint *)(iVar7 + 0x94)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x94)" ( (binary_expression "iVar7 + 0x94" identifier + number_literal) ))))) >> number_literal) )) * identifier)) , (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "(iVar10 < *(char *)(param_1 + 0x3c))" ( (binary_expression "iVar10 < *(char *)(param_1 + 0x3c)" identifier < (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )) ;) })) (labeled_statement "LAB_000808fd:\n    FUN_0001f280();" statement_identifier : (expression_statement "FUN_0001f280();" (call_expression "FUN_0001f280()" identifier (argument_list "()" ( ))) ;)) (expression_statement "*(undefined1 *)(param_1 + 0x3c) = 0xff;" (assignment_expression "*(undefined1 *)(param_1 + 0x3c) = 0xff" (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" * (cast_expression "(undefined1 *)(param_1 + 0x3c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" identifier = (pointer_expression "*(char *)(iVar11 + 0x14)" * (cast_expression "(char *)(iVar11 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) }))) (if_statement "if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" if (parenthesized_expression "((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0))" ( (binary_expression "(cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" { (expression_statement "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);" (assignment_expression "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48)" identifier = (pointer_expression "*(int *)(*(int *)(iVar11 + 0xc) + 0x48)" * (cast_expression "(int *)(*(int *)(iVar11 + 0xc) + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xc) + 0x48)" ( (binary_expression "*(int *)(iVar11 + 0xc) + 0x48" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar11 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0xc)" * (cast_expression "(undefined4 *)(iVar11 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar11 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar11 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }" if (parenthesized_expression "(*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0)" ( (binary_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0" (pointer_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xd0) + 0xc)" ( (binary_expression "*(int *)(iVar11 + 0xd0) + 0xc" (pointer_expression "*(int *)(iVar11 + 0xd0)" * (cast_expression "(int *)(iVar11 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xd0)" ( (binary_expression "iVar11 + 0xd0" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_000804f0();\n    }" { (expression_statement "FUN_000804f0();" (call_expression "FUN_000804f0()" identifier (argument_list "()" ( ))) ;) })) })) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0x10));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" if (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" ( (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" * (cast_expression "(char *)(iVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 9)" ( (binary_expression "iVar3 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" { (expression_statement "piVar1 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" { (expression_statement "FUN_00024a20();" (call_expression "FUN_00024a20()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint __regparm3 sqlite3BtreeCloseCursor(BtCursor *pCur)\n\n{\n  int *piVar1;\n  u8 uVar2;\n  char cVar3;\n  Btree *p;\n  BtShared *pBVar4;\n  PgHdr *pPVar5;\n  Pager *pPVar6;\n  longlong lVar7;\n  BtCursor *pBVar8;\n  BtCursor *pBVar9;\n  uint uVar10;\n  BtCursor *pBVar11;\n  int iVar12;\n  \n  p = pCur->pBtree;\n  if (p == (Btree *)0x0) {\n    return 0;\n  }\n  pBVar4 = pCur->pBt;\n  if ((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')) {\n    btreeLockCarefully(p);\n  }\n  pBVar11 = pBVar4->pCursor;\n  pBVar8 = pBVar11->pNext;\n  if (pBVar11 == pCur) {\n    pBVar4->pCursor = pBVar11->pNext;\n    cVar3 = pCur->iPage;\n  }\n  else {\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }\n  if (cVar3 < '\0') {\n    uVar2 = pBVar4->inTransaction;\n  }\n  else {\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }\n  if ((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)) {\n    pPVar5 = pBVar4->pPage1->pDbPage;\n    pBVar4->pPage1 = (MemPage *)0x0;\n    pPVar6 = pPVar5->pPager;\n    sqlite3PcacheRelease(pPVar5);\n    if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }\n  }\n  sqlite3_free(pCur->aOverflow);\n  sqlite3_free(pCur->pKey);\n  if (p->sharable != '\0') {\n    piVar1 = &p->wantToLock;\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }\n  }\n  pCur->pBtree = (Btree *)0x0;\n  return 0;\n}\n\n" comment (function_definition "int __regparm3 sqlite3BtreeCloseCursor(BtCursor *pCur)\n\n{\n  int *piVar1;\n  u8 uVar2;\n  char cVar3;\n  Btree *p;\n  BtShared *pBVar4;\n  PgHdr *pPVar5;\n  Pager *pPVar6;\n  longlong lVar7;\n  BtCursor *pBVar8;\n  BtCursor *pBVar9;\n  uint uVar10;\n  BtCursor *pBVar11;\n  int iVar12;\n  \n  p = pCur->pBtree;\n  if (p == (Btree *)0x0) {\n    return 0;\n  }\n  pBVar4 = pCur->pBt;\n  if ((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')) {\n    btreeLockCarefully(p);\n  }\n  pBVar11 = pBVar4->pCursor;\n  pBVar8 = pBVar11->pNext;\n  if (pBVar11 == pCur) {\n    pBVar4->pCursor = pBVar11->pNext;\n    cVar3 = pCur->iPage;\n  }\n  else {\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }\n  if (cVar3 < '\0') {\n    uVar2 = pBVar4->inTransaction;\n  }\n  else {\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }\n  if ((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)) {\n    pPVar5 = pBVar4->pPage1->pDbPage;\n    pBVar4->pPage1 = (MemPage *)0x0;\n    pPVar6 = pPVar5->pPager;\n    sqlite3PcacheRelease(pPVar5);\n    if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }\n  }\n  sqlite3_free(pCur->aOverflow);\n  sqlite3_free(pCur->pKey);\n  if (p->sharable != '\0') {\n    piVar1 = &p->wantToLock;\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }\n  }\n  pCur->pBtree = (Btree *)0x0;\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3BtreeCloseCursor(BtCursor *pCur)" identifier (parameter_list "(BtCursor *pCur)" ( (parameter_declaration "BtCursor *pCur" type_identifier (pointer_declarator "*pCur" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  u8 uVar2;\n  char cVar3;\n  Btree *p;\n  BtShared *pBVar4;\n  PgHdr *pPVar5;\n  Pager *pPVar6;\n  longlong lVar7;\n  BtCursor *pBVar8;\n  BtCursor *pBVar9;\n  uint uVar10;\n  BtCursor *pBVar11;\n  int iVar12;\n  \n  p = pCur->pBtree;\n  if (p == (Btree *)0x0) {\n    return 0;\n  }\n  pBVar4 = pCur->pBt;\n  if ((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')) {\n    btreeLockCarefully(p);\n  }\n  pBVar11 = pBVar4->pCursor;\n  pBVar8 = pBVar11->pNext;\n  if (pBVar11 == pCur) {\n    pBVar4->pCursor = pBVar11->pNext;\n    cVar3 = pCur->iPage;\n  }\n  else {\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }\n  if (cVar3 < '\0') {\n    uVar2 = pBVar4->inTransaction;\n  }\n  else {\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }\n  if ((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)) {\n    pPVar5 = pBVar4->pPage1->pDbPage;\n    pBVar4->pPage1 = (MemPage *)0x0;\n    pPVar6 = pPVar5->pPager;\n    sqlite3PcacheRelease(pPVar5);\n    if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }\n  }\n  sqlite3_free(pCur->aOverflow);\n  sqlite3_free(pCur->pKey);\n  if (p->sharable != '\0') {\n    piVar1 = &p->wantToLock;\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }\n  }\n  pCur->pBtree = (Btree *)0x0;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "u8 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "Btree *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "BtShared *pBVar4;" type_identifier (pointer_declarator "*pBVar4" * identifier) ;) (declaration "PgHdr *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "Pager *pPVar6;" type_identifier (pointer_declarator "*pPVar6" * identifier) ;) (declaration "longlong lVar7;" type_identifier identifier ;) (declaration "BtCursor *pBVar8;" type_identifier (pointer_declarator "*pBVar8" * identifier) ;) (declaration "BtCursor *pBVar9;" type_identifier (pointer_declarator "*pBVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "BtCursor *pBVar11;" type_identifier (pointer_declarator "*pBVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "p = pCur->pBtree;" (assignment_expression "p = pCur->pBtree" identifier = (field_expression "pCur->pBtree" identifier -> field_identifier)) ;) (if_statement "if (p == (Btree *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(p == (Btree *)0x0)" ( (binary_expression "p == (Btree *)0x0" identifier == (cast_expression "(Btree *)0x0" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pBVar4 = pCur->pBt;" (assignment_expression "pBVar4 = pCur->pBt" identifier = (field_expression "pCur->pBt" identifier -> field_identifier)) ;) (if_statement "if ((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')) {\n    btreeLockCarefully(p);\n  }" if (parenthesized_expression "((p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0'))" ( (binary_expression "(p->sharable != '\0') && (p->wantToLock = p->wantToLock + 1, p->locked == '\0')" (parenthesized_expression "(p->sharable != '\0')" ( (binary_expression "p->sharable != '\0'" (field_expression "p->sharable" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(p->wantToLock = p->wantToLock + 1, p->locked == '\0')" ( (comma_expression "p->wantToLock = p->wantToLock + 1, p->locked == '\0'" (assignment_expression "p->wantToLock = p->wantToLock + 1" (field_expression "p->wantToLock" identifier -> field_identifier) = (binary_expression "p->wantToLock + 1" (field_expression "p->wantToLock" identifier -> field_identifier) + number_literal)) , (binary_expression "p->locked == '\0'" (field_expression "p->locked" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    btreeLockCarefully(p);\n  }" { (expression_statement "btreeLockCarefully(p);" (call_expression "btreeLockCarefully(p)" identifier (argument_list "(p)" ( identifier ))) ;) })) (expression_statement "pBVar11 = pBVar4->pCursor;" (assignment_expression "pBVar11 = pBVar4->pCursor" identifier = (field_expression "pBVar4->pCursor" identifier -> field_identifier)) ;) (expression_statement "pBVar8 = pBVar11->pNext;" (assignment_expression "pBVar8 = pBVar11->pNext" identifier = (field_expression "pBVar11->pNext" identifier -> field_identifier)) ;) (if_statement "if (pBVar11 == pCur) {\n    pBVar4->pCursor = pBVar11->pNext;\n    cVar3 = pCur->iPage;\n  }\n  else {\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }" if (parenthesized_expression "(pBVar11 == pCur)" ( (binary_expression "pBVar11 == pCur" identifier == identifier) )) (compound_statement "{\n    pBVar4->pCursor = pBVar11->pNext;\n    cVar3 = pCur->iPage;\n  }" { (expression_statement "pBVar4->pCursor = pBVar11->pNext;" (assignment_expression "pBVar4->pCursor = pBVar11->pNext" (field_expression "pBVar4->pCursor" identifier -> field_identifier) = (field_expression "pBVar11->pNext" identifier -> field_identifier)) ;) (expression_statement "cVar3 = pCur->iPage;" (assignment_expression "cVar3 = pCur->iPage" identifier = (field_expression "pCur->iPage" identifier -> field_identifier)) ;) }) (else_clause "else {\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }" else (compound_statement "{\n    while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }\n    pBVar11->pNext = pCur->pNext;\nLAB_00080873:\n    cVar3 = pCur->iPage;\n  }" { (while_statement "while (pBVar9 = pBVar8, pCur != pBVar9) {\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }" while (parenthesized_expression "(pBVar9 = pBVar8, pCur != pBVar9)" ( (comma_expression "pBVar9 = pBVar8, pCur != pBVar9" (assignment_expression "pBVar9 = pBVar8" identifier = identifier) , (binary_expression "pCur != pBVar9" identifier != identifier)) )) (compound_statement "{\n      if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;\n      pBVar11 = pBVar9;\n      pBVar8 = pBVar9->pNext;\n    }" { (if_statement "if (pBVar9 == (BtCursor *)0x0) goto LAB_00080873;" if (parenthesized_expression "(pBVar9 == (BtCursor *)0x0)" ( (binary_expression "pBVar9 == (BtCursor *)0x0" identifier == (cast_expression "(BtCursor *)0x0" ( (type_descriptor "BtCursor *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00080873;" goto statement_identifier ;)) (expression_statement "pBVar11 = pBVar9;" (assignment_expression "pBVar11 = pBVar9" identifier = identifier) ;) (expression_statement "pBVar8 = pBVar9->pNext;" (assignment_expression "pBVar8 = pBVar9->pNext" identifier = (field_expression "pBVar9->pNext" identifier -> field_identifier)) ;) })) (expression_statement "pBVar11->pNext = pCur->pNext;" (assignment_expression "pBVar11->pNext = pCur->pNext" (field_expression "pBVar11->pNext" identifier -> field_identifier) = (field_expression "pCur->pNext" identifier -> field_identifier)) ;) (labeled_statement "LAB_00080873:\n    cVar3 = pCur->iPage;" statement_identifier : (expression_statement "cVar3 = pCur->iPage;" (assignment_expression "cVar3 = pCur->iPage" identifier = (field_expression "pCur->iPage" identifier -> field_identifier)) ;)) }))) (if_statement "if (cVar3 < '\0') {\n    uVar2 = pBVar4->inTransaction;\n  }\n  else {\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }" if (parenthesized_expression "(cVar3 < '\0')" ( (binary_expression "cVar3 < '\0'" identifier < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = pBVar4->inTransaction;\n  }" { (expression_statement "uVar2 = pBVar4->inTransaction;" (assignment_expression "uVar2 = pBVar4->inTransaction" identifier = (field_expression "pBVar4->inTransaction" identifier -> field_identifier)) ;) }) (else_clause "else {\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }" else (compound_statement "{\n    iVar12 = 0;\n    if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }\nLAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);\n    pCur->iPage = -1;\n    uVar2 = pBVar4->inTransaction;\n  }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (if_statement "if (cVar3 != '\0') {\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);\n    }" { (do_statement "do {\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      } while (iVar12 < pCur->iPage);" do (compound_statement "{\n        while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }\n        pPVar6 = pPVar5->pPager;\n        iVar12 = iVar12 + 1;\n        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;\n        pPVar5->pDirty = pPVar6->pMmapFreelist;\n        pPVar6->pMmapFreelist = pPVar5;\n        uVar10 = pPVar5->pgno - 1;\n        lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;\n        (*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);\n      }" { (while_statement "while (pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0) {\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }" while (parenthesized_expression "(pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0)" ( (comma_expression "pPVar5 = pCur->apPage[iVar12]->pDbPage, (pPVar5->flags & 0x20) == 0" (assignment_expression "pPVar5 = pCur->apPage[iVar12]->pDbPage" identifier = (field_expression "pCur->apPage[iVar12]->pDbPage" (subscript_expression "pCur->apPage[iVar12]" (field_expression "pCur->apPage" identifier -> field_identifier) [ identifier ]) -> field_identifier)) , (binary_expression "(pPVar5->flags & 0x20) == 0" (parenthesized_expression "(pPVar5->flags & 0x20)" ( (binary_expression "pPVar5->flags & 0x20" (field_expression "pPVar5->flags" identifier -> field_identifier) & number_literal) )) == number_literal)) )) (compound_statement "{\n          sqlite3PcacheRelease(pPVar5);\n          iVar12 = iVar12 + 1;\n          if (pCur->iPage <= iVar12) goto LAB_000808fd;\n        }" { (expression_statement "sqlite3PcacheRelease(pPVar5);" (call_expression "sqlite3PcacheRelease(pPVar5)" identifier (argument_list "(pPVar5)" ( identifier ))) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (if_statement "if (pCur->iPage <= iVar12) goto LAB_000808fd;" if (parenthesized_expression "(pCur->iPage <= iVar12)" ( (binary_expression "pCur->iPage <= iVar12" (field_expression "pCur->iPage" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000808fd;" goto statement_identifier ;)) })) (expression_statement "pPVar6 = pPVar5->pPager;" (assignment_expression "pPVar6 = pPVar5->pPager" identifier = (field_expression "pPVar5->pPager" identifier -> field_identifier)) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "pPVar6->nMmapOut = pPVar6->nMmapOut + -1;" (assignment_expression "pPVar6->nMmapOut = pPVar6->nMmapOut + -1" (field_expression "pPVar6->nMmapOut" identifier -> field_identifier) = (binary_expression "pPVar6->nMmapOut + -1" (field_expression "pPVar6->nMmapOut" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pPVar5->pDirty = pPVar6->pMmapFreelist;" (assignment_expression "pPVar5->pDirty = pPVar6->pMmapFreelist" (field_expression "pPVar5->pDirty" identifier -> field_identifier) = (field_expression "pPVar6->pMmapFreelist" identifier -> field_identifier)) ;) (expression_statement "pPVar6->pMmapFreelist = pPVar5;" (assignment_expression "pPVar6->pMmapFreelist = pPVar5" (field_expression "pPVar6->pMmapFreelist" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar10 = pPVar5->pgno - 1;" (assignment_expression "uVar10 = pPVar5->pgno - 1" identifier = (binary_expression "pPVar5->pgno - 1" (field_expression "pPVar5->pgno" identifier -> field_identifier) - number_literal)) ;) (expression_statement "lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize;" (assignment_expression "lVar7 = (ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize" identifier = (binary_expression "(ulonglong)uVar10 * (ulonglong)(uint)pPVar6->pageSize" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)(uint)pPVar6->pageSize" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)pPVar6->pageSize" ( (type_descriptor "uint" type_identifier) ) (field_expression "pPVar6->pageSize" identifier -> field_identifier))))) ;) (expression_statement "(*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData);" (call_expression "(*pPVar6->fd->pMethods->xUnfetch)\n                  (pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData)" (parenthesized_expression "(*pPVar6->fd->pMethods->xUnfetch)" ( (pointer_expression "*pPVar6->fd->pMethods->xUnfetch" * (field_expression "pPVar6->fd->pMethods->xUnfetch" (field_expression "pPVar6->fd->pMethods" (field_expression "pPVar6->fd" identifier -> field_identifier) -> field_identifier) -> field_identifier)) )) (argument_list "(pPVar6->fd,\n                   CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7),pPVar5->pData)" ( (field_expression "pPVar6->fd" identifier -> field_identifier) , (call_expression "CONCAT44((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7)" identifier (argument_list "((int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10,\n                            (int)lVar7)" ( (binary_expression "(int)((ulonglong)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * uVar10" (cast_expression "(int)((ulonglong)lVar7 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar7 >> 0x20)" ( (binary_expression "(ulonglong)lVar7 >> 0x20" (cast_expression "(ulonglong)lVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (binary_expression "(pPVar6->pageSize >> 0x1f) * uVar10" (parenthesized_expression "(pPVar6->pageSize >> 0x1f)" ( (binary_expression "pPVar6->pageSize >> 0x1f" (field_expression "pPVar6->pageSize" identifier -> field_identifier) >> number_literal) )) * identifier)) , (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier) ))) , (field_expression "pPVar5->pData" identifier -> field_identifier) ))) ;) }) while (parenthesized_expression "(iVar12 < pCur->iPage)" ( (binary_expression "iVar12 < pCur->iPage" identifier < (field_expression "pCur->iPage" identifier -> field_identifier)) )) ;) })) (labeled_statement "LAB_000808fd:\n    sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);" statement_identifier : (expression_statement "sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage);" (call_expression "sqlite3PagerUnrefNotNull(pCur->pPage->pDbPage)" identifier (argument_list "(pCur->pPage->pDbPage)" ( (field_expression "pCur->pPage->pDbPage" (field_expression "pCur->pPage" identifier -> field_identifier) -> field_identifier) ))) ;)) (expression_statement "pCur->iPage = -1;" (assignment_expression "pCur->iPage = -1" (field_expression "pCur->iPage" identifier -> field_identifier) = number_literal) ;) (expression_statement "uVar2 = pBVar4->inTransaction;" (assignment_expression "uVar2 = pBVar4->inTransaction" identifier = (field_expression "pBVar4->inTransaction" identifier -> field_identifier)) ;) }))) (if_statement "if ((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)) {\n    pPVar5 = pBVar4->pPage1->pDbPage;\n    pBVar4->pPage1 = (MemPage *)0x0;\n    pPVar6 = pPVar5->pPager;\n    sqlite3PcacheRelease(pPVar5);\n    if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }\n  }" if (parenthesized_expression "((uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0))" ( (binary_expression "(uVar2 == '\0') && (pBVar4->pPage1 != (MemPage *)0x0)" (parenthesized_expression "(uVar2 == '\0')" ( (binary_expression "uVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pBVar4->pPage1 != (MemPage *)0x0)" ( (binary_expression "pBVar4->pPage1 != (MemPage *)0x0" (field_expression "pBVar4->pPage1" identifier -> field_identifier) != (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    pPVar5 = pBVar4->pPage1->pDbPage;\n    pBVar4->pPage1 = (MemPage *)0x0;\n    pPVar6 = pPVar5->pPager;\n    sqlite3PcacheRelease(pPVar5);\n    if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }\n  }" { (expression_statement "pPVar5 = pBVar4->pPage1->pDbPage;" (assignment_expression "pPVar5 = pBVar4->pPage1->pDbPage" identifier = (field_expression "pBVar4->pPage1->pDbPage" (field_expression "pBVar4->pPage1" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pBVar4->pPage1 = (MemPage *)0x0;" (assignment_expression "pBVar4->pPage1 = (MemPage *)0x0" (field_expression "pBVar4->pPage1" identifier -> field_identifier) = (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPVar6 = pPVar5->pPager;" (assignment_expression "pPVar6 = pPVar5->pPager" identifier = (field_expression "pPVar5->pPager" identifier -> field_identifier)) ;) (expression_statement "sqlite3PcacheRelease(pPVar5);" (call_expression "sqlite3PcacheRelease(pPVar5)" identifier (argument_list "(pPVar5)" ( identifier ))) ;) (if_statement "if (pPVar6->pPCache->nRefSum == 0) {\n      pagerUnlockAndRollback(pPVar6);\n    }" if (parenthesized_expression "(pPVar6->pPCache->nRefSum == 0)" ( (binary_expression "pPVar6->pPCache->nRefSum == 0" (field_expression "pPVar6->pPCache->nRefSum" (field_expression "pPVar6->pPCache" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n      pagerUnlockAndRollback(pPVar6);\n    }" { (expression_statement "pagerUnlockAndRollback(pPVar6);" (call_expression "pagerUnlockAndRollback(pPVar6)" identifier (argument_list "(pPVar6)" ( identifier ))) ;) })) })) (expression_statement "sqlite3_free(pCur->aOverflow);" (call_expression "sqlite3_free(pCur->aOverflow)" identifier (argument_list "(pCur->aOverflow)" ( (field_expression "pCur->aOverflow" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3_free(pCur->pKey);" (call_expression "sqlite3_free(pCur->pKey)" identifier (argument_list "(pCur->pKey)" ( (field_expression "pCur->pKey" identifier -> field_identifier) ))) ;) (if_statement "if (p->sharable != '\0') {\n    piVar1 = &p->wantToLock;\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }\n  }" if (parenthesized_expression "(p->sharable != '\0')" ( (binary_expression "p->sharable != '\0'" (field_expression "p->sharable" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar1 = &p->wantToLock;\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }\n  }" { (expression_statement "piVar1 = &p->wantToLock;" (assignment_expression "piVar1 = &p->wantToLock" identifier = (pointer_expression "&p->wantToLock" & (field_expression "p->wantToLock" identifier -> field_identifier))) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);\n      pCur->pBtree = (Btree *)0x0;\n      return 0;\n    }" { (expression_statement "unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked);" (call_expression "unlockBtreeMutex((Btree *)p->pBt,(Btree *)&p->locked)" identifier (argument_list "((Btree *)p->pBt,(Btree *)&p->locked)" ( (cast_expression "(Btree *)p->pBt" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->pBt" identifier -> field_identifier)) , (cast_expression "(Btree *)&p->locked" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->locked" & (field_expression "p->locked" identifier -> field_identifier))) ))) ;) (expression_statement "pCur->pBtree = (Btree *)0x0;" (assignment_expression "pCur->pBtree = (Btree *)0x0" (field_expression "pCur->pBtree" identifier -> field_identifier) = (cast_expression "(Btree *)0x0" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "pCur->pBtree = (Btree *)0x0;" (assignment_expression "pCur->pBtree = (Btree *)0x0" (field_expression "pCur->pBtree" identifier -> field_identifier) = (cast_expression "(Btree *)0x0" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_00080820(int param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00080820(int param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00080820(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined **ppuVar9;" type_identifier (pointer_declarator "**ppuVar9" * (pointer_declarator "*ppuVar9" * identifier)) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined **ppuVar12;" type_identifier (pointer_declarator "**ppuVar12" * (pointer_declarator "*ppuVar12" * identifier)) ;) (expression_statement "ppuVar9 = &__DT_PLTGOT;" (assignment_expression "ppuVar9 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar11 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar11 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" identifier = identifier) ;) (if_statement "if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" if (parenthesized_expression "((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'))" ( (binary_expression "(*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" ( (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" * (cast_expression "(char *)(iVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 9)" ( (binary_expression "iVar3 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" ( (comma_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) , (comma_expression "ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "ppuVar12 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) , (binary_expression "*(char *)(iVar3 + 10) == '\0'" (pointer_expression "*(char *)(iVar3 + 10)" * (cast_expression "(char *)(iVar3 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 10)" ( (binary_expression "iVar3 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" { (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" identifier = identifier) ;) })) (expression_statement "iVar10 = *(int *)(iVar11 + 8);" (assignment_expression "iVar10 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar10 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar10 + 0x18)" identifier = (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" if (parenthesized_expression "(iVar10 == param_1)" ( (binary_expression "iVar10 == param_1" identifier == identifier) )) (compound_statement "{\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" { (expression_statement "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);" (assignment_expression "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18)" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar10 + 0x18)" * (cast_expression "(int *)(iVar10 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" identifier = (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" else (compound_statement "{\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" { (while_statement "while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" while (parenthesized_expression "(iVar7 = iVar4, param_1 != iVar7)" ( (comma_expression "iVar7 = iVar4, param_1 != iVar7" (assignment_expression "iVar7 = iVar4" identifier = identifier) , (binary_expression "param_1 != iVar7" identifier != identifier)) )) (compound_statement "{\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" { (if_statement "if (iVar7 == 0) goto LAB_00080873;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00080873;" goto statement_identifier ;)) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(iVar7 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x18)" identifier = (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" * (cast_expression "(undefined4 *)(iVar10 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);" statement_identifier : (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" identifier = (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;)) }))) (if_statement "if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" if (parenthesized_expression "(cVar2 < '\0')" ( (binary_expression "cVar2 < '\0'" identifier < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" { (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" identifier = (pointer_expression "*(char *)(iVar11 + 0x14)" * (cast_expression "(char *)(iVar11 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" else (compound_statement "{\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" { (do_statement "do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));" do (compound_statement "{\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      }" { (while_statement "while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" while (parenthesized_expression "(iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0)" ( (comma_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" * (cast_expression "(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" ( (binary_expression "*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48" (pointer_expression "*(int *)(param_1 + 0x70 + iVar10 * 4)" * (cast_expression "(int *)(param_1 + 0x70 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70 + iVar10 * 4)" ( (binary_expression "param_1 + 0x70 + iVar10 * 4" (binary_expression "param_1 + 0x70" identifier + number_literal) + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) + number_literal) ))))) , (binary_expression "(*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x1c) & 0x20)" ( (binary_expression "*(byte *)(iVar4 + 0x1c) & 0x20" (pointer_expression "*(byte *)(iVar4 + 0x1c)" * (cast_expression "(byte *)(iVar4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal)) )) (compound_statement "{\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" { (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (if_statement "if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;" if (parenthesized_expression "(*(char *)(param_1 + 0x3c) <= iVar10)" ( (binary_expression "*(char *)(param_1 + 0x3c) <= iVar10" (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000808fd;" goto statement_identifier ;)) })) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" identifier = (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;" (assignment_expression "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" * (cast_expression "(int *)(iVar7 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x78)" ( (binary_expression "iVar7 + 0x78" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" * (cast_expression "(int *)(iVar7 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x78)" ( (binary_expression "iVar7 + 0x78" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84)" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar7 + 0x84)" * (cast_expression "(undefined4 *)(iVar7 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x84)" ( (binary_expression "iVar7 + 0x84" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar7 + 0x84) = iVar4;" (assignment_expression "*(int *)(iVar7 + 0x84) = iVar4" (pointer_expression "*(int *)(iVar7 + 0x84)" * (cast_expression "(int *)(iVar7 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x84)" ( (binary_expression "iVar7 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = **(int **)(iVar7 + 0x3c);" (assignment_expression "iVar5 = **(int **)(iVar7 + 0x3c)" identifier = (pointer_expression "**(int **)(iVar7 + 0x3c)" * (pointer_expression "*(int **)(iVar7 + 0x3c)" * (cast_expression "(int **)(iVar7 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))))) ;) (expression_statement "uVar8 = *(int *)(iVar4 + 0x18) - 1;" (assignment_expression "uVar8 = *(int *)(iVar4 + 0x18) - 1" identifier = (binary_expression "*(int *)(iVar4 + 0x18) - 1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) - number_literal)) ;) (expression_statement "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);" (assignment_expression "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" identifier = (binary_expression "(ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" (binary_expression "(ulonglong)uVar8 * (ulonglong)" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(ulonglong)" ( identifier ))) * (cast_expression "(uint *)(iVar7 + 0x94)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x94)" ( (binary_expression "iVar7 + 0x94" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);" (call_expression "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" (parenthesized_expression "(**(code **)(iVar5 + 0x48))" ( (pointer_expression "**(code **)(iVar5 + 0x48)" * (pointer_expression "*(code **)(iVar5 + 0x48)" * (cast_expression "(code **)(iVar5 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x48)" ( (binary_expression "iVar5 + 0x48" identifier + number_literal) ))))) )) (argument_list "(*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" ( (pointer_expression "*(int **)(iVar7 + 0x3c)" * (cast_expression "(int **)(iVar7 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) , (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) , (binary_expression "(int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (cast_expression "(int)((ulonglong)lVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar6 >> 0x20)" ( (binary_expression "(ulonglong)lVar6 >> 0x20" (cast_expression "(ulonglong)lVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) + (binary_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (parenthesized_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f)" ( (binary_expression "(int)*(uint *)(iVar7 + 0x94) >> 0x1f" (cast_expression "(int)*(uint *)(iVar7 + 0x94)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(uint *)(iVar7 + 0x94)" * (cast_expression "(uint *)(iVar7 + 0x94)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x94)" ( (binary_expression "iVar7 + 0x94" identifier + number_literal) ))))) >> number_literal) )) * identifier)) , (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "(iVar10 < *(char *)(param_1 + 0x3c))" ( (binary_expression "iVar10 < *(char *)(param_1 + 0x3c)" identifier < (pointer_expression "*(char *)(param_1 + 0x3c)" * (cast_expression "(char *)(param_1 + 0x3c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )) ;) })) (labeled_statement "LAB_000808fd:\n    FUN_0001f280();" statement_identifier : (expression_statement "FUN_0001f280();" (call_expression "FUN_0001f280()" identifier (argument_list "()" ( ))) ;)) (expression_statement "*(undefined1 *)(param_1 + 0x3c) = 0xff;" (assignment_expression "*(undefined1 *)(param_1 + 0x3c) = 0xff" (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" * (cast_expression "(undefined1 *)(param_1 + 0x3c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" identifier = (pointer_expression "*(char *)(iVar11 + 0x14)" * (cast_expression "(char *)(iVar11 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) }))) (if_statement "if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" if (parenthesized_expression "((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0))" ( (binary_expression "(cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" { (expression_statement "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);" (assignment_expression "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48)" identifier = (pointer_expression "*(int *)(*(int *)(iVar11 + 0xc) + 0x48)" * (cast_expression "(int *)(*(int *)(iVar11 + 0xc) + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xc) + 0x48)" ( (binary_expression "*(int *)(iVar11 + 0xc) + 0x48" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar11 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0xc)" * (cast_expression "(undefined4 *)(iVar11 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar11 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar11 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }" if (parenthesized_expression "(*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0)" ( (binary_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0" (pointer_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xd0) + 0xc)" ( (binary_expression "*(int *)(iVar11 + 0xd0) + 0xc" (pointer_expression "*(int *)(iVar11 + 0xd0)" * (cast_expression "(int *)(iVar11 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xd0)" ( (binary_expression "iVar11 + 0xd0" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_000804f0();\n    }" { (expression_statement "FUN_000804f0();" (call_expression "FUN_000804f0()" identifier (argument_list "()" ( ))) ;) })) })) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0x10));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (if_statement "if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" if (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" ( (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" * (cast_expression "(char *)(iVar3 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 9)" ( (binary_expression "iVar3 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" { (expression_statement "piVar1 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" { (expression_statement "FUN_00024a20();" (call_expression "FUN_00024a20()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) , (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_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 (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) + LIT) ))))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )) * IDENT)) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00080820(int param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00080820(int param_1)" (identifier "FUN_00080820") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  longlong lVar6;\n  int iVar7;\n  uint uVar8;\n  undefined **ppuVar9;\n  int iVar10;\n  int iVar11;\n  undefined **ppuVar12;\n  \n  ppuVar9 = &__DT_PLTGOT;\n  iVar3 = *(int *)(param_1 + 8);\n  if (iVar3 == 0) {\n    return 0;\n  }\n  iVar11 = *(int *)(param_1 + 0x14);\n  ppuVar12 = ppuVar9;\n  if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }\n  iVar10 = *(int *)(iVar11 + 8);\n  iVar4 = *(int *)(iVar10 + 0x18);\n  if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }\n  sqlite3_free(*(undefined4 *)(param_1 + 0xc));\n  sqlite3_free(*(undefined4 *)(param_1 + 0x10));\n  if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }\n  *(undefined4 *)(param_1 + 8) = 0;\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "longlong lVar6;" (type_identifier "longlong") (identifier "lVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined **ppuVar9;" (type_identifier "undefined") (pointer_declarator "**ppuVar9" (* "*") (pointer_declarator "*ppuVar9" (* "*") (identifier "ppuVar9"))) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined **ppuVar12;" (type_identifier "undefined") (pointer_declarator "**ppuVar12" (* "*") (pointer_declarator "*ppuVar12" (* "*") (identifier "ppuVar12"))) (; ";")) (expression_statement "ppuVar9 = &__DT_PLTGOT;" (assignment_expression "ppuVar9 = &__DT_PLTGOT" (identifier "ppuVar9") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar11 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar11 = *(int *)(param_1 + 0x14)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" (identifier "ppuVar12") (= "=") (identifier "ppuVar9")) (; ";")) (if_statement "if ((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')) {\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'))" (( "(") (binary_expression "(*(char *)(iVar3 + 9) != '\0') &&\n     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" (* "*") (cast_expression "(char *)(iVar3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 9)" (( "(") (binary_expression "iVar3 + 9" (identifier "iVar3") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0')" (( "(") (comma_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0xc) + 1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (, ",") (comma_expression "ppuVar12 = &__DT_PLTGOT,\n     *(char *)(iVar3 + 10) == '\0'" (assignment_expression "ppuVar12 = &__DT_PLTGOT" (identifier "ppuVar12") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (, ",") (binary_expression "*(char *)(iVar3 + 10) == '\0'" (pointer_expression "*(char *)(iVar3 + 10)" (* "*") (cast_expression "(char *)(iVar3 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 10)" (( "(") (binary_expression "iVar3 + 10" (identifier "iVar3") (+ "+") (number_literal "10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))))) () ")"))) () ")")) (compound_statement "{\n    FUN_00024a50();\n    ppuVar12 = ppuVar9;\n  }" ({ "{") (expression_statement "FUN_00024a50();" (call_expression "FUN_00024a50()" (identifier "FUN_00024a50") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "ppuVar12 = ppuVar9;" (assignment_expression "ppuVar12 = ppuVar9" (identifier "ppuVar12") (= "=") (identifier "ppuVar9")) (; ";")) (} "}"))) (expression_statement "iVar10 = *(int *)(iVar11 + 8);" (assignment_expression "iVar10 = *(int *)(iVar11 + 8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar10 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar10 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar10 + 0x18)" (* "*") (cast_expression "(int *)(iVar10 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar10 == param_1) {\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }\n  else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" (if "if") (parenthesized_expression "(iVar10 == param_1)" (( "(") (binary_expression "iVar10 == param_1" (identifier "iVar10") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" ({ "{") (expression_statement "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);" (assignment_expression "*(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18)" (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(int *)(iVar10 + 0x18)" (* "*") (cast_expression "(int *)(iVar10 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(param_1 + 0x3c)" (* "*") (cast_expression "(char *)(param_1 + 0x3c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" (else "else") (compound_statement "{\n    while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }\n    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);\nLAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);\n  }" ({ "{") (while_statement "while (iVar7 = iVar4, param_1 != iVar7) {\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" (while "while") (parenthesized_expression "(iVar7 = iVar4, param_1 != iVar7)" (( "(") (comma_expression "iVar7 = iVar4, param_1 != iVar7" (assignment_expression "iVar7 = iVar4" (identifier "iVar7") (= "=") (identifier "iVar4")) (, ",") (binary_expression "param_1 != iVar7" (identifier "param_1") (!= "!=") (identifier "iVar7"))) () ")")) (compound_statement "{\n      if (iVar7 == 0) goto LAB_00080873;\n      iVar10 = iVar7;\n      iVar4 = *(int *)(iVar7 + 0x18);\n    }" ({ "{") (if_statement "if (iVar7 == 0) goto LAB_00080873;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00080873;" (goto "goto") (statement_identifier "LAB_00080873") (; ";"))) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" (identifier "iVar10") (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar4 = *(int *)(iVar7 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar7 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar7 + 0x18)" (* "*") (cast_expression "(int *)(iVar7 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x18)" (( "(") (binary_expression "iVar7 + 0x18" (identifier "iVar7") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*(undefined4 *)(iVar10 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (labeled_statement "LAB_00080873:\n    cVar2 = *(char *)(param_1 + 0x3c);" (statement_identifier "LAB_00080873") (: ":") (expression_statement "cVar2 = *(char *)(param_1 + 0x3c);" (assignment_expression "cVar2 = *(char *)(param_1 + 0x3c)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(param_1 + 0x3c)" (* "*") (cast_expression "(char *)(param_1 + 0x3c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";"))) (} "}")))) (if_statement "if (cVar2 < '\0') {\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }\n  else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" (if "if") (parenthesized_expression "(cVar2 < '\0')" (( "(") (binary_expression "cVar2 < '\0'" (identifier "cVar2") (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" ({ "{") (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar11 + 0x14)" (* "*") (cast_expression "(char *)(iVar11 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x14)" (( "(") (binary_expression "iVar11 + 0x14" (identifier "iVar11") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" (else "else") (compound_statement "{\n    iVar10 = 0;\n    if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }\nLAB_000808fd:\n    FUN_0001f280();\n    *(undefined1 *)(param_1 + 0x3c) = 0xff;\n    cVar2 = *(char *)(iVar11 + 0x14);\n  }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (cVar2 != '\0') {\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));\n    }" ({ "{") (do_statement "do {\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      } while (iVar10 < *(char *)(param_1 + 0x3c));" (do "do") (compound_statement "{\n        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }\n        iVar7 = *(int *)(iVar4 + 0x14);\n        iVar10 = iVar10 + 1;\n        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;\n        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);\n        *(int *)(iVar7 + 0x84) = iVar4;\n        iVar5 = **(int **)(iVar7 + 0x3c);\n        uVar8 = *(int *)(iVar4 + 0x18) - 1;\n        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);\n        (**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);\n      }" ({ "{") (while_statement "while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" (while "while") (parenthesized_expression "(iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0)" (( "(") (comma_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),\n              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (assignment_expression "iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48)" (( "(") (binary_expression "*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48" (pointer_expression "*(int *)(param_1 + 0x70 + iVar10 * 4)" (* "*") (cast_expression "(int *)(param_1 + 0x70 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70 + iVar10 * 4)" (( "(") (binary_expression "param_1 + 0x70 + iVar10 * 4" (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "0x48")) () ")"))))) (, ",") (binary_expression "(*(byte *)(iVar4 + 0x1c) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar4 + 0x1c) & 0x20)" (( "(") (binary_expression "*(byte *)(iVar4 + 0x1c) & 0x20" (pointer_expression "*(byte *)(iVar4 + 0x1c)" (* "*") (cast_expression "(byte *)(iVar4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n          FUN_0001f070();\n          iVar10 = iVar10 + 1;\n          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;\n        }" ({ "{") (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" (identifier "FUN_0001f070") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x3c) <= iVar10)" (( "(") (binary_expression "*(char *)(param_1 + 0x3c) <= iVar10" (pointer_expression "*(char *)(param_1 + 0x3c)" (* "*") (cast_expression "(char *)(param_1 + 0x3c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (<= "<=") (identifier "iVar10")) () ")")) (goto_statement "goto LAB_000808fd;" (goto "goto") (statement_identifier "LAB_000808fd") (; ";"))) (} "}"))) (expression_statement "iVar7 = *(int *)(iVar4 + 0x14);" (assignment_expression "iVar7 = *(int *)(iVar4 + 0x14)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;" (assignment_expression "*(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" (* "*") (cast_expression "(int *)(iVar7 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x78)" (( "(") (binary_expression "iVar7 + 0x78" (identifier "iVar7") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (binary_expression "*(int *)(iVar7 + 0x78) + -1" (pointer_expression "*(int *)(iVar7 + 0x78)" (* "*") (cast_expression "(int *)(iVar7 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x78)" (( "(") (binary_expression "iVar7 + 0x78" (identifier "iVar7") (+ "+") (number_literal "0x78")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);" (assignment_expression "*(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84)" (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x84)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x84)" (( "(") (binary_expression "iVar7 + 0x84" (identifier "iVar7") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar7 + 0x84) = iVar4;" (assignment_expression "*(int *)(iVar7 + 0x84) = iVar4" (pointer_expression "*(int *)(iVar7 + 0x84)" (* "*") (cast_expression "(int *)(iVar7 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x84)" (( "(") (binary_expression "iVar7 + 0x84" (identifier "iVar7") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar5 = **(int **)(iVar7 + 0x3c);" (assignment_expression "iVar5 = **(int **)(iVar7 + 0x3c)" (identifier "iVar5") (= "=") (pointer_expression "**(int **)(iVar7 + 0x3c)" (* "*") (pointer_expression "*(int **)(iVar7 + 0x3c)" (* "*") (cast_expression "(int **)(iVar7 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0x3c)" (( "(") (binary_expression "iVar7 + 0x3c" (identifier "iVar7") (+ "+") (number_literal "0x3c")) () ")")))))) (; ";")) (expression_statement "uVar8 = *(int *)(iVar4 + 0x18) - 1;" (assignment_expression "uVar8 = *(int *)(iVar4 + 0x18) - 1" (identifier "uVar8") (= "=") (binary_expression "*(int *)(iVar4 + 0x18) - 1" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);" (assignment_expression "lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" (identifier "lVar6") (= "=") (binary_expression "(ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94)" (binary_expression "(ulonglong)uVar8 * (ulonglong)" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (* "*") (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")"))) (* "*") (cast_expression "(uint *)(iVar7 + 0x94)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x94)" (( "(") (binary_expression "iVar7 + 0x94" (identifier "iVar7") (+ "+") (number_literal "0x94")) () ")"))))) (; ";")) (expression_statement "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);" (call_expression "(**(code **)(iVar5 + 0x48))\n                  (*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" (parenthesized_expression "(**(code **)(iVar5 + 0x48))" (( "(") (pointer_expression "**(code **)(iVar5 + 0x48)" (* "*") (pointer_expression "*(code **)(iVar5 + 0x48)" (* "*") (cast_expression "(code **)(iVar5 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x48)" (( "(") (binary_expression "iVar5 + 0x48" (identifier "iVar5") (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(*(int **)(iVar7 + 0x3c),(int)lVar6,\n                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,\n                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12)" (( "(") (pointer_expression "*(int **)(iVar7 + 0x3c)" (* "*") (cast_expression "(int **)(iVar7 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0x3c)" (( "(") (binary_expression "iVar7 + 0x3c" (identifier "iVar7") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (cast_expression "(int)lVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar6")) (, ",") (binary_expression "(int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (cast_expression "(int)((ulonglong)lVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar6 >> 0x20" (cast_expression "(ulonglong)lVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (+ "+") (binary_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8" (parenthesized_expression "((int)*(uint *)(iVar7 + 0x94) >> 0x1f)" (( "(") (binary_expression "(int)*(uint *)(iVar7 + 0x94) >> 0x1f" (cast_expression "(int)*(uint *)(iVar7 + 0x94)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(uint *)(iVar7 + 0x94)" (* "*") (cast_expression "(uint *)(iVar7 + 0x94)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x94)" (( "(") (binary_expression "iVar7 + 0x94" (identifier "iVar7") (+ "+") (number_literal "0x94")) () ")"))))) (>> ">>") (number_literal "0x1f")) () ")")) (* "*") (identifier "uVar8"))) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "iVar11") (, ",") (identifier "iVar5") (, ",") (identifier "ppuVar12") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 < *(char *)(param_1 + 0x3c))" (( "(") (binary_expression "iVar10 < *(char *)(param_1 + 0x3c)" (identifier "iVar10") (< "<") (pointer_expression "*(char *)(param_1 + 0x3c)" (* "*") (cast_expression "(char *)(param_1 + 0x3c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_000808fd:\n    FUN_0001f280();" (statement_identifier "LAB_000808fd") (: ":") (expression_statement "FUN_0001f280();" (call_expression "FUN_0001f280()" (identifier "FUN_0001f280") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "*(undefined1 *)(param_1 + 0x3c) = 0xff;" (assignment_expression "*(undefined1 *)(param_1 + 0x3c) = 0xff" (pointer_expression "*(undefined1 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0xff")) (; ";")) (expression_statement "cVar2 = *(char *)(iVar11 + 0x14);" (assignment_expression "cVar2 = *(char *)(iVar11 + 0x14)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar11 + 0x14)" (* "*") (cast_expression "(char *)(iVar11 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x14)" (( "(") (binary_expression "iVar11 + 0x14" (identifier "iVar11") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")))) (if_statement "if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" (if "if") (parenthesized_expression "((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0))" (( "(") (binary_expression "(cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" (* "*") (cast_expression "(int *)(iVar11 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);\n    *(undefined4 *)(iVar11 + 0xc) = 0;\n    iVar11 = *(int *)(iVar10 + 0x14);\n    FUN_0001f070();\n    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }\n  }" ({ "{") (expression_statement "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);" (assignment_expression "iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(*(int *)(iVar11 + 0xc) + 0x48)" (* "*") (cast_expression "(int *)(*(int *)(iVar11 + 0xc) + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar11 + 0xc) + 0x48)" (( "(") (binary_expression "*(int *)(iVar11 + 0xc) + 0x48" (pointer_expression "*(int *)(iVar11 + 0xc)" (* "*") (cast_expression "(int *)(iVar11 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar11 = *(int *)(iVar10 + 0x14)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar10 + 0x14)" (* "*") (cast_expression "(int *)(iVar10 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "FUN_0001f070();" (call_expression "FUN_0001f070()" (identifier "FUN_0001f070") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {\n      FUN_000804f0();\n    }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0" (pointer_expression "*(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar11 + 0xd0) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar11 + 0xd0) + 0xc)" (( "(") (binary_expression "*(int *)(iVar11 + 0xd0) + 0xc" (pointer_expression "*(int *)(iVar11 + 0xd0)" (* "*") (cast_expression "(int *)(iVar11 + 0xd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xd0)" (( "(") (binary_expression "iVar11 + 0xd0" (identifier "iVar11") (+ "+") (number_literal "0xd0")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000804f0();\n    }" ({ "{") (expression_statement "FUN_000804f0();" (call_expression "FUN_000804f0()" (identifier "FUN_000804f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0xc))" (identifier "sqlite3_free") (argument_list "(*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "sqlite3_free(*(undefined4 *)(param_1 + 0x10));" (call_expression "sqlite3_free(*(undefined4 *)(param_1 + 0x10))" (identifier "sqlite3_free") (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(char *)(iVar3 + 9) != '\0') {\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 9) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 9) != '\0'" (pointer_expression "*(char *)(iVar3 + 9)" (* "*") (cast_expression "(char *)(iVar3 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 9)" (( "(") (binary_expression "iVar3 + 9" (identifier "iVar3") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar1 = (int *)(iVar3 + 0xc);\n    *piVar1 = *piVar1 + -1;\n    if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }\n  }" ({ "{") (expression_statement "piVar1 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar3 + 0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "*piVar1 = *piVar1 + -1;" (assignment_expression "*piVar1 = *piVar1 + -1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + -1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (*piVar1 == 0) {\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" (if "if") (parenthesized_expression "(*piVar1 == 0)" (( "(") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00024a20();\n      *(undefined4 *)(param_1 + 8) = 0;\n      return 0;\n    }" ({ "{") (expression_statement "FUN_00024a20();" (call_expression "FUN_00024a20()" (identifier "FUN_00024a20") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int __regparm3 function_1(type_1 *var_4)

{
  int *piVar1;
  type_2 var_12;
  char var_6;
  type_3 *var_1;
  type_4 *pBVar4;
  type_5 *pPVar5;
  type_6 *pPVar6;
  type_7 lVar7;
  type_1 *pBVar8;
  type_1 *var_5;
  type_8 var_10;
  type_1 *var_3;
  int var_8;
  
  var_1 = var_4->pBtree;
  if (var_1 == (type_3 *)0x0) {
    return 0;
  }
  pBVar4 = var_4->pBt;
  if ((var_1->sharable != '\0') && (var_1->wantToLock = var_1->wantToLock + 1, var_1->locked == '\0')) {
    var_2(var_1);
  }
  var_3 = pBVar4->pCursor;
  pBVar8 = var_3->pNext;
  if (var_3 == var_4) {
    pBVar4->pCursor = var_3->pNext;
    var_6 = var_4->iPage;
  }
  else {
    while (var_5 = pBVar8, var_4 != var_5) {
      if (var_5 == (type_1 *)0x0) goto LAB_00080873;
      var_3 = var_5;
      pBVar8 = var_5->pNext;
    }
    var_3->pNext = var_4->pNext;
LAB_00080873:
    var_6 = var_4->iPage;
  }
  if (var_6 < '\0') {
    var_12 = pBVar4->inTransaction;
  }
  else {
    var_8 = 0;
    if (var_6 != '\0') {
      do {
        while (pPVar5 = var_4->apPage[var_8]->pDbPage, (pPVar5->flags & 0x20) == 0) {
          var_7(pPVar5);
          var_8 = var_8 + 1;
          if (var_4->iPage <= var_8) goto LAB_000808fd;
        }
        pPVar6 = pPVar5->pPager;
        var_8 = var_8 + 1;
        pPVar6->nMmapOut = pPVar6->nMmapOut + -1;
        pPVar5->pDirty = pPVar6->pMmapFreelist;
        pPVar6->pMmapFreelist = pPVar5;
        var_10 = pPVar5->pgno - 1;
        lVar7 = (type_9)var_10 * (type_9)(type_8)pPVar6->pageSize;
        (*pPVar6->fd->pMethods->xUnfetch)
                  (pPVar6->fd,
                   var_9((int)((type_9)lVar7 >> 0x20) + (pPVar6->pageSize >> 0x1f) * var_10,
                            (int)lVar7),pPVar5->pData);
      } while (var_8 < var_4->iPage);
    }
LAB_000808fd:
    var_11(var_4->pPage->pDbPage);
    var_4->iPage = -1;
    var_12 = pBVar4->inTransaction;
  }
  if ((var_12 == '\0') && (pBVar4->pPage1 != (type_10 *)0x0)) {
    pPVar5 = pBVar4->pPage1->pDbPage;
    pBVar4->pPage1 = (type_10 *)0x0;
    pPVar6 = pPVar5->pPager;
    var_7(pPVar5);
    if (pPVar6->pPCache->nRefSum == 0) {
      var_13(pPVar6);
    }
  }
  var_14(var_4->aOverflow);
  var_14(var_4->pKey);
  if (var_1->sharable != '\0') {
    piVar1 = &var_1->wantToLock;
    *piVar1 = *piVar1 + -1;
    if (*piVar1 == 0) {
      var_15((type_3 *)var_1->pBt,(type_3 *)&var_1->locked);
      var_4->pBtree = (type_3 *)0x0;
      return 0;
    }
  }
  var_4->pBtree = (type_3 *)0x0;
  return 0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 __regparm3 MASKED(int param_1)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  longlong lVar6;
  int iVar7;
  uint uVar8;
  undefined **ppuVar9;
  int iVar10;
  int iVar11;
  undefined **ppuVar12;
  
  ppuVar9 = &__DT_PLTGOT;
  iVar3 = *(int *)(param_1 + 8);
  if (iVar3 == 0) {
    return 0;
  }
  iVar11 = *(int *)(param_1 + 0x14);
  ppuVar12 = ppuVar9;
  if ((*(char *)(iVar3 + 9) != '\0') &&
     (*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + 1, ppuVar12 = &__DT_PLTGOT,
     *(char *)(iVar3 + 10) == '\0')) {
    FUN_00024a50();
    ppuVar12 = ppuVar9;
  }
  iVar10 = *(int *)(iVar11 + 8);
  iVar4 = *(int *)(iVar10 + 0x18);
  if (iVar10 == param_1) {
    *(int *)(iVar11 + 8) = *(int *)(iVar10 + 0x18);
    cVar2 = *(char *)(param_1 + 0x3c);
  }
  else {
    while (iVar7 = iVar4, param_1 != iVar7) {
      if (iVar7 == 0) goto LAB_00080873;
      iVar10 = iVar7;
      iVar4 = *(int *)(iVar7 + 0x18);
    }
    *(undefined4 *)(iVar10 + 0x18) = *(undefined4 *)(param_1 + 0x18);
LAB_00080873:
    cVar2 = *(char *)(param_1 + 0x3c);
  }
  if (cVar2 < '\0') {
    cVar2 = *(char *)(iVar11 + 0x14);
  }
  else {
    iVar10 = 0;
    if (cVar2 != '\0') {
      do {
        while (iVar4 = *(int *)(*(int *)(param_1 + 0x70 + iVar10 * 4) + 0x48),
              (*(byte *)(iVar4 + 0x1c) & 0x20) == 0) {
          FUN_0001f070();
          iVar10 = iVar10 + 1;
          if (*(char *)(param_1 + 0x3c) <= iVar10) goto LAB_000808fd;
        }
        iVar7 = *(int *)(iVar4 + 0x14);
        iVar10 = iVar10 + 1;
        *(int *)(iVar7 + 0x78) = *(int *)(iVar7 + 0x78) + -1;
        *(undefined4 *)(iVar4 + 0x10) = *(undefined4 *)(iVar7 + 0x84);
        *(int *)(iVar7 + 0x84) = iVar4;
        iVar5 = **(int **)(iVar7 + 0x3c);
        uVar8 = *(int *)(iVar4 + 0x18) - 1;
        lVar6 = (ulonglong)uVar8 * (ulonglong)*(uint *)(iVar7 + 0x94);
        (**(code **)(iVar5 + 0x48))
                  (*(int **)(iVar7 + 0x3c),(int)lVar6,
                   (int)((ulonglong)lVar6 >> 0x20) + ((int)*(uint *)(iVar7 + 0x94) >> 0x1f) * uVar8,
                   *(undefined4 *)(iVar4 + 4),iVar11,iVar5,ppuVar12);
      } while (iVar10 < *(char *)(param_1 + 0x3c));
    }
LAB_000808fd:
    FUN_0001f280();
    *(undefined1 *)(param_1 + 0x3c) = 0xff;
    cVar2 = *(char *)(iVar11 + 0x14);
  }
  if ((cVar2 == '\0') && (*(int *)(iVar11 + 0xc) != 0)) {
    iVar10 = *(int *)(*(int *)(iVar11 + 0xc) + 0x48);
    *(undefined4 *)(iVar11 + 0xc) = 0;
    iVar11 = *(int *)(iVar10 + 0x14);
    FUN_0001f070();
    if (*(int *)(*(int *)(iVar11 + 0xd0) + 0xc) == 0) {
      FUN_000804f0();
    }
  }
  sqlite3_free(*(undefined4 *)(param_1 + 0xc));
  sqlite3_free(*(undefined4 *)(param_1 + 0x10));
  if (*(char *)(iVar3 + 9) != '\0') {
    piVar1 = (int *)(iVar3 + 0xc);
    *piVar1 = *piVar1 + -1;
    if (*piVar1 == 0) {
      FUN_00024a20();
      *(undefined4 *)(param_1 + 8) = 0;
      return 0;
    }
  }
  *(undefined4 *)(param_1 + 8) = 0;
  return 0;
}

