
/* WARNING: Unknown calling convention */

int fts5SentenceFinderCb
              (void *pContext,int tflags,char *pToken,int nToken,int iStartOff,int iEndOff)

{
  byte bVar1;
  int iVar2;
  void *pvVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined4 in_stack_ffffffd8;
  undefined4 uVar7;
  
  if ((tflags & 1U) != 0) {
    return 0;
  }
                    /* WARNING: Load size is inaccurate */
  iVar4 = *pContext;
  iVar5 = 0;
  if (0 < iVar4) {
    iVar6 = iStartOff + -1;
    if (-1 < iVar6) {
      iVar2 = iVar6;
      do {
        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            iVar6 = *(int *)((int)pContext + 4);
            if (iVar6 == *(int *)((int)pContext + 8)) {
              if (iVar6 == 0) {
                iVar6 = 0x40;
              }
              else {
                iVar6 = iVar6 * 2;
              }
              pvVar3 = *(void **)((int)pContext + 0xc);
              iVar2 = sqlite3_initialize();
              if ((iVar2 != 0) ||
                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),
                 pvVar3 == (void *)0x0)) goto LAB_00119930;
              *(void **)((int)pContext + 0xc) = pvVar3;
              *(int *)((int)pContext + 4) = iVar6;
            }
            iVar6 = *(int *)((int)pContext + 8);
            *(int *)((int)pContext + 8) = iVar6 + 1;
            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;
                    /* WARNING: Load size is inaccurate */
            iVar4 = *pContext;
          }
          break;
        }
        iVar2 = iVar2 + -1;
      } while (iVar2 != -1);
    }
    goto LAB_001197fd;
  }
  iVar4 = *(int *)((int)pContext + 4);
  iVar6 = *(int *)((int)pContext + 8);
  pvVar3 = *(void **)((int)pContext + 0xc);
  if (iVar4 == iVar6) {
    if (iVar4 == 0) {
      iVar4 = 0x100;
      iVar6 = 0x40;
    }
    else {
      iVar6 = iVar4 * 2;
      iVar4 = iVar4 << 3;
    }
    uVar7 = 0;
    iVar2 = sqlite3_initialize();
    if (iVar2 != 0) {
LAB_00119930:
      iVar5 = 7;
                    /* WARNING: Load size is inaccurate */
      iVar4 = *pContext;
      goto LAB_001197fd;
    }
    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));
    if (pvVar3 == (void *)0x0) {
                    /* WARNING: Load size is inaccurate */
      iVar4 = *pContext;
      iVar5 = 7;
      goto LAB_001197fd;
    }
    *(void **)((int)pContext + 0xc) = pvVar3;
    *(int *)((int)pContext + 4) = iVar6;
    iVar6 = *(int *)((int)pContext + 8);
  }
  *(int *)((int)pContext + 8) = iVar6 + 1;
  *(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0;
                    /* WARNING: Load size is inaccurate */
  iVar4 = *pContext;
LAB_001197fd:
  *(int *)pContext = iVar4 + 1;
  return iVar5;
}



undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  
  if ((param_2 & 1) != 0) {
    return 0;
  }
  iVar3 = *param_1;
  uVar4 = 0;
  if (0 < iVar3) {
    param_5 = param_5 + -1;
    if (-1 < param_5) {
      iVar5 = param_5;
      do {
        bVar1 = *(byte *)(param_1[4] + iVar5);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            iVar5 = param_1[1];
            if (iVar5 == param_1[2]) {
              if (iVar5 == 0) {
                iVar5 = 0x40;
              }
              else {
                iVar5 = iVar5 * 2;
              }
              iVar2 = FUN_00067fc0();
              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;
              param_1[3] = iVar2;
              param_1[1] = iVar5;
            }
            iVar5 = param_1[2];
            param_1[2] = iVar5 + 1;
            *(int *)(param_1[3] + iVar5 * 4) = iVar3;
            iVar3 = *param_1;
          }
          break;
        }
        iVar5 = iVar5 + -1;
      } while (iVar5 != -1);
    }
    goto LAB_001197fd;
  }
  iVar3 = param_1[1];
  iVar5 = param_1[2];
  iVar2 = param_1[3];
  if (iVar3 == iVar5) {
    if (iVar3 == 0) {
      iVar3 = 0x100;
      iVar5 = 0x40;
    }
    else {
      iVar5 = iVar3 * 2;
      iVar3 = iVar3 << 3;
    }
    iVar3 = FUN_00067fc0(iVar3,0);
    if (iVar3 != 0) {
LAB_00119930:
      uVar4 = 7;
      iVar3 = *param_1;
      goto LAB_001197fd;
    }
    iVar2 = FUN_00055930();
    if (iVar2 == 0) {
      iVar3 = *param_1;
      uVar4 = 7;
      goto LAB_001197fd;
    }
    param_1[3] = iVar2;
    param_1[1] = iVar5;
    iVar5 = param_1[2];
  }
  param_1[2] = iVar5 + 1;
  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;
  iVar3 = *param_1;
LAB_001197fd:
  *param_1 = iVar3 + 1;
  return uVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [ESP + 0x34]
AND EBX,0x1
JNZ 0x00119818
MOV EAX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP],EAX
TEST EAX,EAX
JLE 0x00119828
MOV EDI,dword ptr [ESP + 0x40]
SUB EDI,0x1
JS 0x001197fd
MOV EAX,dword ptr [ESP + 0x30]
MOV EBP,0x800013
MOV ESI,dword ptr [EAX + 0x10]
MOV EAX,EDI
JMP 0x001197ed
BT EBP,EDX
JNC 0x001197f9
SUB EAX,0x1
CMP EAX,-0x1
JZ 0x001197fd
MOVZX ECX,byte ptr [ESI + EAX*0x1]
LEA EDX,[ECX + -0x9]
CMP DL,0x17
JBE 0x001197e0
CMP EDI,EAX
JNZ 0x00119858
MOV EAX,dword ptr [ESP]
MOV ESI,dword ptr [ESP + 0x30]
ADD EAX,0x1
MOV dword ptr [ESI],EAX
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EBX,EBX
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX + 0x8]
MOV ESI,dword ptr [ESI + 0xc]
CMP EDX,EAX
JZ 0x001198a0
MOV EDI,dword ptr [ESP + 0x30]
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI + 0x8],EDX
MOV dword ptr [ESI + EAX*0x4],0x0
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESP],EAX
JMP 0x001197fd
CMP CL,0x2e
JNZ 0x00119895
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,dword ptr [ESI + 0x8]
JZ 0x001198ea
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESI + 0x8],ECX
MOV ESI,dword ptr [ESP]
MOV dword ptr [EDX + EAX*0x4],ESI
MOV EAX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP],EAX
JMP 0x001197fd
CMP CL,0x3a
JZ 0x0011985d
JMP 0x001197fd
TEST EDX,EDX
JZ 0x00119943
LEA EDI,[EDX + EDX*0x1]
XOR ECX,ECX
SHL EDX,0x3
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00067fc0
MOV EDX,dword ptr [ESP]
MOV ECX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x00119930
MOV EAX,ESI
CALL 0x00055930
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x00119964
MOV dword ptr [EAX + 0xc],ESI
MOV dword ptr [EAX + 0x4],EDI
MOV EAX,dword ptr [EAX + 0x8]
JMP 0x0011983d
TEST EAX,EAX
JZ 0x00119954
LEA EDI,[EAX + EAX*0x1]
SHL EAX,0x3
XOR ECX,ECX
MOV EDX,EAX
MOV EAX,ESI
MOV dword ptr [ESP + 0x8],EDX
MOV ESI,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0xc],ECX
CALL 0x00067fc0
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x00119930
MOV EAX,ESI
CALL 0x00055930
TEST EAX,EAX
JZ 0x00119930
MOV ESI,dword ptr [ESP + 0x30]
MOV dword ptr [ESI + 0xc],EAX
MOV dword ptr [ESI + 0x4],EDI
JMP 0x0011986d
MOV EAX,dword ptr [ESP + 0x30]
MOV EBX,0x7
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP],EAX
JMP 0x001197fd
MOV EDX,0x100
XOR ECX,ECX
MOV EDI,0x40
JMP 0x001198b0
MOV EDX,0x100
XOR ECX,ECX
MOV EDI,0x40
MOV EAX,ESI
JMP 0x001198fa
MOV EAX,dword ptr [EAX]
MOV EBX,0x7
MOV dword ptr [ESP],EAX
JMP 0x001197fd
(translation_unit "undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" type_identifier (function_declarator "FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if ((param_2 & 1) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" { (expression_statement "param_5 = param_5 + -1;" (assignment_expression "param_5 = param_5 + -1" identifier = (binary_expression "param_5 + -1" identifier + number_literal)) ;) (if_statement "if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" if (parenthesized_expression "(-1 < param_5)" ( (binary_expression "-1 < param_5" number_literal < identifier) )) (compound_statement "{\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" { (expression_statement "iVar5 = param_5;" (assignment_expression "iVar5 = param_5" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar5);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar5)" identifier = (pointer_expression "*(byte *)(param_1[4] + iVar5)" * (cast_expression "(byte *)(param_1[4] + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar5)" ( (binary_expression "param_1[4] + iVar5" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier) ))))) ;) (if_statement "if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" if (parenthesized_expression "((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0))" ( (binary_expression "(0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" (parenthesized_expression "(0x17 < (byte)(bVar1 - 9))" ( (binary_expression "0x17 < (byte)(bVar1 - 9)" number_literal < (call_expression "(byte)(bVar1 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 9)" ( (binary_expression "bVar1 - 9" identifier - number_literal) )))) )) || (parenthesized_expression "((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" ( (binary_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0" (parenthesized_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1)" ( (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f) & 1" (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(bVar1 - 9 & 0x1f)" ( (binary_expression "bVar1 - 9 & 0x1f" (binary_expression "bVar1 - 9" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" { (if_statement "if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" if (parenthesized_expression "((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar5)" ( (binary_expression "param_5 != iVar5" identifier != identifier) )) && (parenthesized_expression "((bVar1 == 0x2e || (bVar1 == 0x3a)))" ( (parenthesized_expression "(bVar1 == 0x2e || (bVar1 == 0x3a))" ( (binary_expression "bVar1 == 0x2e || (bVar1 == 0x3a)" (binary_expression "bVar1 == 0x2e" identifier == number_literal) || (parenthesized_expression "(bVar1 == 0x3a)" ( (binary_expression "bVar1 == 0x3a" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" { (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" if (parenthesized_expression "(iVar5 == param_1[2])" ( (binary_expression "iVar5 == param_1[2]" identifier == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) (compound_statement "{\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" { (if_statement "if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar5 = 0x40;\n              }" { (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n                iVar5 = iVar5 * 2;\n              }" else (compound_statement "{\n                iVar5 = iVar5 * 2;\n              }" { (expression_statement "iVar5 = iVar5 * 2;" (assignment_expression "iVar5 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) }))) (expression_statement "iVar2 = FUN_00067fc0();" (assignment_expression "iVar2 = FUN_00067fc0()" identifier = (call_expression "FUN_00067fc0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;" if (parenthesized_expression "((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0))" ( (binary_expression "(iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = FUN_00055930(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00055930(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00055930()" identifier = (call_expression "FUN_00055930()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00119930;" goto statement_identifier ;)) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[3] + iVar5 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[3] + iVar5 * 4) = iVar3" (pointer_expression "*(int *)(param_1[3] + iVar5 * 4)" * (cast_expression "(int *)(param_1[3] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar5 * 4)" ( (binary_expression "param_1[3] + iVar5 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" if (parenthesized_expression "(iVar3 == iVar5)" ( (binary_expression "iVar3 == iVar5" identifier == identifier) )) (compound_statement "{\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" { (if_statement "if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }" { (expression_statement "iVar3 = 0x100;" (assignment_expression "iVar3 = 0x100" identifier = number_literal) ;) (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" else (compound_statement "{\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" { (expression_statement "iVar5 = iVar3 * 2;" (assignment_expression "iVar5 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 << 3;" (assignment_expression "iVar3 = iVar3 << 3" identifier = (binary_expression "iVar3 << 3" identifier << number_literal)) ;) }))) (expression_statement "iVar3 = FUN_00067fc0(iVar3,0);" (assignment_expression "iVar3 = FUN_00067fc0(iVar3,0)" identifier = (call_expression "FUN_00067fc0(iVar3,0)" identifier (argument_list "(iVar3,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" { (labeled_statement "LAB_00119930:\n      uVar4 = 7;" statement_identifier : (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;)) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "iVar2 = FUN_00055930();" (assignment_expression "iVar2 = FUN_00055930()" identifier = (call_expression "FUN_00055930()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" { (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar5 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar5 * 4)" ( (binary_expression "iVar2 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_001197fd:\n  *param_1 = iVar3 + 1;" statement_identifier : (expression_statement "*param_1 = iVar3 + 1;" (assignment_expression "*param_1 = iVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;)) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint fts5SentenceFinderCb\n              (void *pContext,int tflags,char *pToken,int nToken,int iStartOff,int iEndOff)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 in_stack_ffffffd8;\n  undefined4 uVar7;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\n  iVar5 = 0;\n  if (0 < iVar4) {\n    iVar6 = iStartOff + -1;\n    if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar4 = *(int *)((int)pContext + 4);\n  iVar6 = *(int *)((int)pContext + 8);\n  pvVar3 = *(void **)((int)pContext + 0xc);\n  if (iVar4 == iVar6) {\n    if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }\n    uVar7 = 0;\n    iVar2 = sqlite3_initialize();\n    if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }\n    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));\n    if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }\n    *(void **)((int)pContext + 0xc) = pvVar3;\n    *(int *)((int)pContext + 4) = iVar6;\n    iVar6 = *(int *)((int)pContext + 8);\n  }\n  *(int *)((int)pContext + 8) = iVar6 + 1;\n  *(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\nLAB_001197fd:\n  *(int *)pContext = iVar4 + 1;\n  return iVar5;\n}\n\n" comment (function_definition "int fts5SentenceFinderCb\n              (void *pContext,int tflags,char *pToken,int nToken,int iStartOff,int iEndOff)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 in_stack_ffffffd8;\n  undefined4 uVar7;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\n  iVar5 = 0;\n  if (0 < iVar4) {\n    iVar6 = iStartOff + -1;\n    if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar4 = *(int *)((int)pContext + 4);\n  iVar6 = *(int *)((int)pContext + 8);\n  pvVar3 = *(void **)((int)pContext + 0xc);\n  if (iVar4 == iVar6) {\n    if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }\n    uVar7 = 0;\n    iVar2 = sqlite3_initialize();\n    if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }\n    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));\n    if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }\n    *(void **)((int)pContext + 0xc) = pvVar3;\n    *(int *)((int)pContext + 4) = iVar6;\n    iVar6 = *(int *)((int)pContext + 8);\n  }\n  *(int *)((int)pContext + 8) = iVar6 + 1;\n  *(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\nLAB_001197fd:\n  *(int *)pContext = iVar4 + 1;\n  return iVar5;\n}" primitive_type (function_declarator "fts5SentenceFinderCb\n              (void *pContext,int tflags,char *pToken,int nToken,int iStartOff,int iEndOff)" identifier (parameter_list "(void *pContext,int tflags,char *pToken,int nToken,int iStartOff,int iEndOff)" ( (parameter_declaration "void *pContext" primitive_type (pointer_declarator "*pContext" * identifier)) , (parameter_declaration "int tflags" primitive_type identifier) , (parameter_declaration "char *pToken" primitive_type (pointer_declarator "*pToken" * identifier)) , (parameter_declaration "int nToken" primitive_type identifier) , (parameter_declaration "int iStartOff" primitive_type identifier) , (parameter_declaration "int iEndOff" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 in_stack_ffffffd8;\n  undefined4 uVar7;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\n  iVar5 = 0;\n  if (0 < iVar4) {\n    iVar6 = iStartOff + -1;\n    if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar4 = *(int *)((int)pContext + 4);\n  iVar6 = *(int *)((int)pContext + 8);\n  pvVar3 = *(void **)((int)pContext + 0xc);\n  if (iVar4 == iVar6) {\n    if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }\n    uVar7 = 0;\n    iVar2 = sqlite3_initialize();\n    if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }\n    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));\n    if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }\n    *(void **)((int)pContext + 0xc) = pvVar3;\n    *(int *)((int)pContext + 4) = iVar6;\n    iVar6 = *(int *)((int)pContext + 8);\n  }\n  *(int *)((int)pContext + 8) = iVar6 + 1;\n  *(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *pContext;\nLAB_001197fd:\n  *(int *)pContext = iVar4 + 1;\n  return iVar5;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffd8;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (if_statement "if ((tflags & 1U) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((tflags & 1U) != 0)" ( (binary_expression "(tflags & 1U) != 0" (parenthesized_expression "(tflags & 1U)" ( (binary_expression "tflags & 1U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "iVar4 = *pContext;" (assignment_expression "iVar4 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar4) {\n    iVar6 = iStartOff + -1;\n    if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }\n    goto LAB_001197fd;\n  }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n    iVar6 = iStartOff + -1;\n    if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }\n    goto LAB_001197fd;\n  }" { (expression_statement "iVar6 = iStartOff + -1;" (assignment_expression "iVar6 = iStartOff + -1" identifier = (binary_expression "iStartOff + -1" identifier + number_literal)) ;) (if_statement "if (-1 < iVar6) {\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n      iVar2 = iVar6;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);\n    }" { (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      } while (iVar2 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }\n        iVar2 = iVar2 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2);" (assignment_expression "bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar2)" identifier = (pointer_expression "*(byte *)(*(int *)((int)pContext + 0x10) + iVar2)" * (cast_expression "(byte *)(*(int *)((int)pContext + 0x10) + iVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pContext + 0x10) + iVar2)" ( (binary_expression "*(int *)((int)pContext + 0x10) + iVar2" (pointer_expression "*(int *)((int)pContext + 0x10)" * (cast_expression "(int *)((int)pContext + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 0x10)" ( (binary_expression "(int)pContext + 0x10" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + identifier) ))))) ;) (if_statement "if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }" if (parenthesized_expression "((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0))" ( (binary_expression "(0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" (parenthesized_expression "(0x17 < (byte)(bVar1 - 9))" ( (binary_expression "0x17 < (byte)(bVar1 - 9)" number_literal < (call_expression "(byte)(bVar1 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 9)" ( (binary_expression "bVar1 - 9" identifier - number_literal) )))) )) || (parenthesized_expression "((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" ( (binary_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0" (parenthesized_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1)" ( (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f) & 1" (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(bVar1 - 9 & 0x1f)" ( (binary_expression "bVar1 - 9 & 0x1f" (binary_expression "bVar1 - 9" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }\n          break;\n        }" { (if_statement "if ((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }" if (parenthesized_expression "((iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(iVar6 != iVar2) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(iVar6 != iVar2)" ( (binary_expression "iVar6 != iVar2" identifier != identifier) )) && (parenthesized_expression "((bVar1 == 0x2e || (bVar1 == 0x3a)))" ( (parenthesized_expression "(bVar1 == 0x2e || (bVar1 == 0x3a))" ( (binary_expression "bVar1 == 0x2e || (bVar1 == 0x3a)" (binary_expression "bVar1 == 0x2e" identifier == number_literal) || (parenthesized_expression "(bVar1 == 0x3a)" ( (binary_expression "bVar1 == 0x3a" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n            iVar6 = *(int *)((int)pContext + 4);\n            if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }\n            iVar6 = *(int *)((int)pContext + 8);\n            *(int *)((int)pContext + 8) = iVar6 + 1;\n            *(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;\n                    /* WARNING: Load size is inaccurate */\n            iVar4 = *pContext;\n          }" { (expression_statement "iVar6 = *(int *)((int)pContext + 4);" (assignment_expression "iVar6 = *(int *)((int)pContext + 4)" identifier = (pointer_expression "*(int *)((int)pContext + 4)" * (cast_expression "(int *)((int)pContext + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 4)" ( (binary_expression "(int)pContext + 4" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (iVar6 == *(int *)((int)pContext + 8)) {\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }" if (parenthesized_expression "(iVar6 == *(int *)((int)pContext + 8))" ( (binary_expression "iVar6 == *(int *)((int)pContext + 8)" identifier == (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n              if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }\n              pvVar3 = *(void **)((int)pContext + 0xc);\n              iVar2 = sqlite3_initialize();\n              if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;\n              *(void **)((int)pContext + 0xc) = pvVar3;\n              *(int *)((int)pContext + 4) = iVar6;\n            }" { (if_statement "if (iVar6 == 0) {\n                iVar6 = 0x40;\n              }\n              else {\n                iVar6 = iVar6 * 2;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar6 = 0x40;\n              }" { (expression_statement "iVar6 = 0x40;" (assignment_expression "iVar6 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n                iVar6 = iVar6 * 2;\n              }" else (compound_statement "{\n                iVar6 = iVar6 * 2;\n              }" { (expression_statement "iVar6 = iVar6 * 2;" (assignment_expression "iVar6 = iVar6 * 2" identifier = (binary_expression "iVar6 * 2" identifier * number_literal)) ;) }))) (expression_statement "pvVar3 = *(void **)((int)pContext + 0xc);" (assignment_expression "pvVar3 = *(void **)((int)pContext + 0xc)" identifier = (pointer_expression "*(void **)((int)pContext + 0xc)" * (cast_expression "(void **)((int)pContext + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pContext + 0xc)" ( (binary_expression "(int)pContext + 0xc" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar2 = sqlite3_initialize();" (assignment_expression "iVar2 = sqlite3_initialize()" identifier = (call_expression "sqlite3_initialize()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)) goto LAB_00119930;" if (parenthesized_expression "((iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0))" ( (binary_expression "(iVar2 != 0) ||\n                 (pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0)" ( (comma_expression "pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4)),\n                 pvVar3 == (void *)0x0" (assignment_expression "pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4))" identifier = (call_expression "sqlite3Realloc(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4))" identifier (argument_list "(pvVar3,CONCAT44(in_stack_ffffffd8,iVar4))" ( identifier , (call_expression "CONCAT44(in_stack_ffffffd8,iVar4)" identifier (argument_list "(in_stack_ffffffd8,iVar4)" ( identifier , identifier ))) )))) , (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00119930;" goto statement_identifier ;)) (expression_statement "*(void **)((int)pContext + 0xc) = pvVar3;" (assignment_expression "*(void **)((int)pContext + 0xc) = pvVar3" (pointer_expression "*(void **)((int)pContext + 0xc)" * (cast_expression "(void **)((int)pContext + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pContext + 0xc)" ( (binary_expression "(int)pContext + 0xc" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)pContext + 4) = iVar6;" (assignment_expression "*(int *)((int)pContext + 4) = iVar6" (pointer_expression "*(int *)((int)pContext + 4)" * (cast_expression "(int *)((int)pContext + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 4)" ( (binary_expression "(int)pContext + 4" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = *(int *)((int)pContext + 8);" (assignment_expression "iVar6 = *(int *)((int)pContext + 8)" identifier = (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(int *)((int)pContext + 8) = iVar6 + 1;" (assignment_expression "*(int *)((int)pContext + 8) = iVar6 + 1" (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4;" (assignment_expression "*(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4) = iVar4" (pointer_expression "*(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4)" * (cast_expression "(int *)(*(int *)((int)pContext + 0xc) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pContext + 0xc) + iVar6 * 4)" ( (binary_expression "*(int *)((int)pContext + 0xc) + iVar6 * 4" (pointer_expression "*(int *)((int)pContext + 0xc)" * (cast_expression "(int *)((int)pContext + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 0xc)" ( (binary_expression "(int)pContext + 0xc" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) comment (expression_statement "iVar4 = *pContext;" (assignment_expression "iVar4 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)((int)pContext + 4);" (assignment_expression "iVar4 = *(int *)((int)pContext + 4)" identifier = (pointer_expression "*(int *)((int)pContext + 4)" * (cast_expression "(int *)((int)pContext + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 4)" ( (binary_expression "(int)pContext + 4" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)((int)pContext + 8);" (assignment_expression "iVar6 = *(int *)((int)pContext + 8)" identifier = (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "pvVar3 = *(void **)((int)pContext + 0xc);" (assignment_expression "pvVar3 = *(void **)((int)pContext + 0xc)" identifier = (pointer_expression "*(void **)((int)pContext + 0xc)" * (cast_expression "(void **)((int)pContext + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pContext + 0xc)" ( (binary_expression "(int)pContext + 0xc" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (iVar4 == iVar6) {\n    if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }\n    uVar7 = 0;\n    iVar2 = sqlite3_initialize();\n    if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }\n    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));\n    if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }\n    *(void **)((int)pContext + 0xc) = pvVar3;\n    *(int *)((int)pContext + 4) = iVar6;\n    iVar6 = *(int *)((int)pContext + 8);\n  }" if (parenthesized_expression "(iVar4 == iVar6)" ( (binary_expression "iVar4 == iVar6" identifier == identifier) )) (compound_statement "{\n    if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }\n    uVar7 = 0;\n    iVar2 = sqlite3_initialize();\n    if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }\n    pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));\n    if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }\n    *(void **)((int)pContext + 0xc) = pvVar3;\n    *(int *)((int)pContext + 4) = iVar6;\n    iVar6 = *(int *)((int)pContext + 8);\n  }" { (if_statement "if (iVar4 == 0) {\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }\n    else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = 0x100;\n      iVar6 = 0x40;\n    }" { (expression_statement "iVar4 = 0x100;" (assignment_expression "iVar4 = 0x100" identifier = number_literal) ;) (expression_statement "iVar6 = 0x40;" (assignment_expression "iVar6 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }" else (compound_statement "{\n      iVar6 = iVar4 * 2;\n      iVar4 = iVar4 << 3;\n    }" { (expression_statement "iVar6 = iVar4 * 2;" (assignment_expression "iVar6 = iVar4 * 2" identifier = (binary_expression "iVar4 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 << 3;" (assignment_expression "iVar4 = iVar4 << 3" identifier = (binary_expression "iVar4 << 3" identifier << number_literal)) ;) }))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = sqlite3_initialize();" (assignment_expression "iVar2 = sqlite3_initialize()" identifier = (call_expression "sqlite3_initialize()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00119930:\n      iVar5 = 7;\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      goto LAB_001197fd;\n    }" { (labeled_statement "LAB_00119930:\n      iVar5 = 7;" statement_identifier : (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;)) comment (expression_statement "iVar4 = *pContext;" (assignment_expression "iVar4 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4));" (assignment_expression "pvVar3 = sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4))" identifier = (call_expression "sqlite3Realloc(pvVar3,CONCAT44(uVar7,iVar4))" identifier (argument_list "(pvVar3,CONCAT44(uVar7,iVar4))" ( identifier , (call_expression "CONCAT44(uVar7,iVar4)" identifier (argument_list "(uVar7,iVar4)" ( identifier , identifier ))) )))) ;) (if_statement "if (pvVar3 == (void *)0x0) {\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(pvVar3 == (void *)0x0)" ( (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      iVar4 = *pContext;\n      iVar5 = 7;\n      goto LAB_001197fd;\n    }" { comment (expression_statement "iVar4 = *pContext;" (assignment_expression "iVar4 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) (expression_statement "iVar5 = 7;" (assignment_expression "iVar5 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "*(void **)((int)pContext + 0xc) = pvVar3;" (assignment_expression "*(void **)((int)pContext + 0xc) = pvVar3" (pointer_expression "*(void **)((int)pContext + 0xc)" * (cast_expression "(void **)((int)pContext + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pContext + 0xc)" ( (binary_expression "(int)pContext + 0xc" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)pContext + 4) = iVar6;" (assignment_expression "*(int *)((int)pContext + 4) = iVar6" (pointer_expression "*(int *)((int)pContext + 4)" * (cast_expression "(int *)((int)pContext + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 4)" ( (binary_expression "(int)pContext + 4" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)((int)pContext + 8);" (assignment_expression "iVar6 = *(int *)((int)pContext + 8)" identifier = (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "*(int *)((int)pContext + 8) = iVar6 + 1;" (assignment_expression "*(int *)((int)pContext + 8) = iVar6 + 1" (pointer_expression "*(int *)((int)pContext + 8)" * (cast_expression "(int *)((int)pContext + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pContext + 8)" ( (binary_expression "(int)pContext + 8" (cast_expression "(int)pContext" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar3 + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)((int)pvVar3 + iVar6 * 4)" * (cast_expression "(undefined4 *)((int)pvVar3 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar3 + iVar6 * 4)" ( (binary_expression "(int)pvVar3 + iVar6 * 4" (cast_expression "(int)pvVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = number_literal) ;) comment (expression_statement "iVar4 = *pContext;" (assignment_expression "iVar4 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) (labeled_statement "LAB_001197fd:\n  *(int *)pContext = iVar4 + 1;" statement_identifier : (expression_statement "*(int *)pContext = iVar4 + 1;" (assignment_expression "*(int *)pContext = iVar4 + 1" (pointer_expression "*(int *)pContext" * (cast_expression "(int *)pContext" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;)) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" type_identifier (function_declarator "FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" identifier (parameter_list "(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (if_statement "if ((param_2 & 1) != 0) {\n    return 0;\n  }" if (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" { (expression_statement "param_5 = param_5 + -1;" (assignment_expression "param_5 = param_5 + -1" identifier = (binary_expression "param_5 + -1" identifier + number_literal)) ;) (if_statement "if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" if (parenthesized_expression "(-1 < param_5)" ( (binary_expression "-1 < param_5" number_literal < identifier) )) (compound_statement "{\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" { (expression_statement "iVar5 = param_5;" (assignment_expression "iVar5 = param_5" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar5);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar5)" identifier = (pointer_expression "*(byte *)(param_1[4] + iVar5)" * (cast_expression "(byte *)(param_1[4] + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar5)" ( (binary_expression "param_1[4] + iVar5" (subscript_expression "param_1[4]" identifier [ number_literal ]) + identifier) ))))) ;) (if_statement "if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" if (parenthesized_expression "((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0))" ( (binary_expression "(0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" (parenthesized_expression "(0x17 < (byte)(bVar1 - 9))" ( (binary_expression "0x17 < (byte)(bVar1 - 9)" number_literal < (call_expression "(byte)(bVar1 - 9)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar1 - 9)" ( (binary_expression "bVar1 - 9" identifier - number_literal) )))) )) || (parenthesized_expression "((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" ( (binary_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0" (parenthesized_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1)" ( (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f) & 1" (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(bVar1 - 9 & 0x1f)" ( (binary_expression "bVar1 - 9 & 0x1f" (binary_expression "bVar1 - 9" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" { (if_statement "if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" if (parenthesized_expression "((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar5)" ( (binary_expression "param_5 != iVar5" identifier != identifier) )) && (parenthesized_expression "((bVar1 == 0x2e || (bVar1 == 0x3a)))" ( (parenthesized_expression "(bVar1 == 0x2e || (bVar1 == 0x3a))" ( (binary_expression "bVar1 == 0x2e || (bVar1 == 0x3a)" (binary_expression "bVar1 == 0x2e" identifier == number_literal) || (parenthesized_expression "(bVar1 == 0x3a)" ( (binary_expression "bVar1 == 0x3a" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" { (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" if (parenthesized_expression "(iVar5 == param_1[2])" ( (binary_expression "iVar5 == param_1[2]" identifier == (subscript_expression "param_1[2]" identifier [ number_literal ])) )) (compound_statement "{\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" { (if_statement "if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar5 = 0x40;\n              }" { (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n                iVar5 = iVar5 * 2;\n              }" else (compound_statement "{\n                iVar5 = iVar5 * 2;\n              }" { (expression_statement "iVar5 = iVar5 * 2;" (assignment_expression "iVar5 = iVar5 * 2" identifier = (binary_expression "iVar5 * 2" identifier * number_literal)) ;) }))) (expression_statement "iVar2 = FUN_00067fc0();" (assignment_expression "iVar2 = FUN_00067fc0()" identifier = (call_expression "FUN_00067fc0()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;" if (parenthesized_expression "((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0))" ( (binary_expression "(iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = FUN_00055930(), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00055930(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00055930()" identifier = (call_expression "FUN_00055930()" identifier (argument_list "()" ( )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00119930;" goto statement_identifier ;)) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[3] + iVar5 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[3] + iVar5 * 4) = iVar3" (pointer_expression "*(int *)(param_1[3] + iVar5 * 4)" * (cast_expression "(int *)(param_1[3] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar5 * 4)" ( (binary_expression "param_1[3] + iVar5 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != -1)" ( (binary_expression "iVar5 != -1" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" if (parenthesized_expression "(iVar3 == iVar5)" ( (binary_expression "iVar3 == iVar5" identifier == identifier) )) (compound_statement "{\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" { (if_statement "if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }" { (expression_statement "iVar3 = 0x100;" (assignment_expression "iVar3 = 0x100" identifier = number_literal) ;) (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" identifier = number_literal) ;) }) (else_clause "else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" else (compound_statement "{\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" { (expression_statement "iVar5 = iVar3 * 2;" (assignment_expression "iVar5 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 << 3;" (assignment_expression "iVar3 = iVar3 << 3" identifier = (binary_expression "iVar3 << 3" identifier << number_literal)) ;) }))) (expression_statement "iVar3 = FUN_00067fc0(iVar3,0);" (assignment_expression "iVar3 = FUN_00067fc0(iVar3,0)" identifier = (call_expression "FUN_00067fc0(iVar3,0)" identifier (argument_list "(iVar3,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" { (labeled_statement "LAB_00119930:\n      uVar4 = 7;" statement_identifier : (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;)) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "iVar2 = FUN_00055930();" (assignment_expression "iVar2 = FUN_00055930()" identifier = (call_expression "FUN_00055930()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" { (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_001197fd;" goto statement_identifier ;) })) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar5 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar5 * 4)" ( (binary_expression "iVar2 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_001197fd:\n  *param_1 = iVar3 + 1;" statement_identifier : (expression_statement "*param_1 = iVar3 + 1;" (assignment_expression "*param_1 = iVar3 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;)) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) & LIT) )) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;)) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_001197a0(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" (identifier "FUN_001197a0") (parameter_list "(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  uVar4 = 0;\n  if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }\n  iVar3 = param_1[1];\n  iVar5 = param_1[2];\n  iVar2 = param_1[3];\n  if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }\n  param_1[2] = iVar5 + 1;\n  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;\n  iVar3 = *param_1;\nLAB_001197fd:\n  *param_1 = iVar3 + 1;\n  return uVar4;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (if_statement "if ((param_2 & 1) != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((param_2 & 1) != 0)" (( "(") (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" (( "(") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar3) {\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    param_5 = param_5 + -1;\n    if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }\n    goto LAB_001197fd;\n  }" ({ "{") (expression_statement "param_5 = param_5 + -1;" (assignment_expression "param_5 = param_5 + -1" (identifier "param_5") (= "=") (binary_expression "param_5 + -1" (identifier "param_5") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (-1 < param_5) {\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" (if "if") (parenthesized_expression "(-1 < param_5)" (( "(") (binary_expression "-1 < param_5" (number_literal "-1") (< "<") (identifier "param_5")) () ")")) (compound_statement "{\n      iVar5 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);\n    }" ({ "{") (expression_statement "iVar5 = param_5;" (assignment_expression "iVar5 = param_5" (identifier "iVar5") (= "=") (identifier "param_5")) (; ";")) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      } while (iVar5 != -1);" (do "do") (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar5);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }\n        iVar5 = iVar5 + -1;\n      }" ({ "{") (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar5);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar5)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1[4] + iVar5)" (* "*") (cast_expression "(byte *)(param_1[4] + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + iVar5)" (( "(") (binary_expression "param_1[4] + iVar5" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (if_statement "if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" (if "if") (parenthesized_expression "((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0))" (( "(") (binary_expression "(0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" (parenthesized_expression "(0x17 < (byte)(bVar1 - 9))" (( "(") (binary_expression "0x17 < (byte)(bVar1 - 9)" (number_literal "0x17") (< "<") (call_expression "(byte)(bVar1 - 9)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar1 - 9)" (( "(") (binary_expression "bVar1 - 9" (identifier "bVar1") (- "-") (number_literal "9")) () ")")))) () ")")) (|| "||") (parenthesized_expression "((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)" (( "(") (binary_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0" (parenthesized_expression "(0x800013U >> (bVar1 - 9 & 0x1f) & 1)" (( "(") (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f) & 1" (binary_expression "0x800013U >> (bVar1 - 9 & 0x1f)" (number_literal "0x800013U") (>> ">>") (parenthesized_expression "(bVar1 - 9 & 0x1f)" (( "(") (binary_expression "bVar1 - 9 & 0x1f" (binary_expression "bVar1 - 9" (identifier "bVar1") (- "-") (number_literal "9")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }\n          break;\n        }" ({ "{") (if_statement "if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" (if "if") (parenthesized_expression "((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" (( "(") (binary_expression "(param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar5)" (( "(") (binary_expression "param_5 != iVar5" (identifier "param_5") (!= "!=") (identifier "iVar5")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 == 0x2e || (bVar1 == 0x3a)))" (( "(") (parenthesized_expression "(bVar1 == 0x2e || (bVar1 == 0x3a))" (( "(") (binary_expression "bVar1 == 0x2e || (bVar1 == 0x3a)" (binary_expression "bVar1 == 0x2e" (identifier "bVar1") (== "==") (number_literal "0x2e")) (|| "||") (parenthesized_expression "(bVar1 == 0x3a)" (( "(") (binary_expression "bVar1 == 0x3a" (identifier "bVar1") (== "==") (number_literal "0x3a")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            iVar5 = param_1[1];\n            if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }\n            iVar5 = param_1[2];\n            param_1[2] = iVar5 + 1;\n            *(int *)(param_1[3] + iVar5 * 4) = iVar3;\n            iVar3 = *param_1;\n          }" ({ "{") (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar5 == param_1[2]) {\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" (if "if") (parenthesized_expression "(iVar5 == param_1[2])" (( "(") (binary_expression "iVar5 == param_1[2]" (identifier "iVar5") (== "==") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")")) (compound_statement "{\n              if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }\n              iVar2 = FUN_00067fc0();\n              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;\n              param_1[3] = iVar2;\n              param_1[1] = iVar5;\n            }" ({ "{") (if_statement "if (iVar5 == 0) {\n                iVar5 = 0x40;\n              }\n              else {\n                iVar5 = iVar5 * 2;\n              }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                iVar5 = 0x40;\n              }" ({ "{") (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" (identifier "iVar5") (= "=") (number_literal "0x40")) (; ";")) (} "}")) (else_clause "else {\n                iVar5 = iVar5 * 2;\n              }" (else "else") (compound_statement "{\n                iVar5 = iVar5 * 2;\n              }" ({ "{") (expression_statement "iVar5 = iVar5 * 2;" (assignment_expression "iVar5 = iVar5 * 2" (identifier "iVar5") (= "=") (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2"))) (; ";")) (} "}")))) (expression_statement "iVar2 = FUN_00067fc0();" (assignment_expression "iVar2 = FUN_00067fc0()" (identifier "iVar2") (= "=") (call_expression "FUN_00067fc0()" (identifier "FUN_00067fc0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;" (if "if") (parenthesized_expression "((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0))" (( "(") (binary_expression "(iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = FUN_00055930(), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00055930(), iVar2 == 0" (assignment_expression "iVar2 = FUN_00055930()" (identifier "iVar2") (= "=") (call_expression "FUN_00055930()" (identifier "FUN_00055930") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00119930;" (goto "goto") (statement_identifier "LAB_00119930") (; ";"))) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" (identifier "iVar5") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1[3] + iVar5 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[3] + iVar5 * 4) = iVar3" (pointer_expression "*(int *)(param_1[3] + iVar5 * 4)" (* "*") (cast_expression "(int *)(param_1[3] + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar5 * 4)" (( "(") (binary_expression "param_1[3] + iVar5 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != -1)" (( "(") (binary_expression "iVar5 != -1" (identifier "iVar5") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_001197fd;" (goto "goto") (statement_identifier "LAB_001197fd") (; ";")) (} "}"))) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" (identifier "iVar5") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar2 = param_1[3];" (assignment_expression "iVar2 = param_1[3]" (identifier "iVar2") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar3 == iVar5) {\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" (if "if") (parenthesized_expression "(iVar3 == iVar5)" (( "(") (binary_expression "iVar3 == iVar5" (identifier "iVar3") (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\n    if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }\n    iVar3 = FUN_00067fc0(iVar3,0);\n    if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }\n    iVar2 = FUN_00055930();\n    if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }\n    param_1[3] = iVar2;\n    param_1[1] = iVar5;\n    iVar5 = param_1[2];\n  }" ({ "{") (if_statement "if (iVar3 == 0) {\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }\n    else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = 0x100;\n      iVar5 = 0x40;\n    }" ({ "{") (expression_statement "iVar3 = 0x100;" (assignment_expression "iVar3 = 0x100" (identifier "iVar3") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "iVar5 = 0x40;" (assignment_expression "iVar5 = 0x40" (identifier "iVar5") (= "=") (number_literal "0x40")) (; ";")) (} "}")) (else_clause "else {\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" (else "else") (compound_statement "{\n      iVar5 = iVar3 * 2;\n      iVar3 = iVar3 << 3;\n    }" ({ "{") (expression_statement "iVar5 = iVar3 * 2;" (assignment_expression "iVar5 = iVar3 * 2" (identifier "iVar5") (= "=") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar3 = iVar3 << 3;" (assignment_expression "iVar3 = iVar3 << 3" (identifier "iVar3") (= "=") (binary_expression "iVar3 << 3" (identifier "iVar3") (<< "<<") (number_literal "3"))) (; ";")) (} "}")))) (expression_statement "iVar3 = FUN_00067fc0(iVar3,0);" (assignment_expression "iVar3 = FUN_00067fc0(iVar3,0)" (identifier "iVar3") (= "=") (call_expression "FUN_00067fc0(iVar3,0)" (identifier "FUN_00067fc0") (argument_list "(iVar3,0)" (( "(") (identifier "iVar3") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00119930:\n      uVar4 = 7;\n      iVar3 = *param_1;\n      goto LAB_001197fd;\n    }" ({ "{") (labeled_statement "LAB_00119930:\n      uVar4 = 7;" (statement_identifier "LAB_00119930") (: ":") (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" (identifier "uVar4") (= "=") (number_literal "7")) (; ";"))) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (goto_statement "goto LAB_001197fd;" (goto "goto") (statement_identifier "LAB_001197fd") (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_00055930();" (assignment_expression "iVar2 = FUN_00055930()" (identifier "iVar2") (= "=") (call_expression "FUN_00055930()" (identifier "FUN_00055930") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *param_1;\n      uVar4 = 7;\n      goto LAB_001197fd;\n    }" ({ "{") (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" (identifier "uVar4") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_001197fd;" (goto "goto") (statement_identifier "LAB_001197fd") (; ";")) (} "}"))) (expression_statement "param_1[3] = iVar2;" (assignment_expression "param_1[3] = iVar2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "iVar5 = param_1[2];" (assignment_expression "iVar5 = param_1[2]" (identifier "iVar5") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (expression_statement "param_1[2] = iVar5 + 1;" (assignment_expression "param_1[2] = iVar5 + 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + iVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar5 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar5 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar5 * 4)" (( "(") (binary_expression "iVar2 + iVar5 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (labeled_statement "LAB_001197fd:\n  *param_1 = iVar3 + 1;" (statement_identifier "LAB_001197fd") (: ":") (expression_statement "*param_1 = iVar3 + 1;" (assignment_expression "*param_1 = iVar3 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";"))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1
              (void *pContext,int var_1,char *pToken,int nToken,int var_3,int iEndOff)

{
  type_1 var_6;
  int var_5;
  void *var_10;
  int var_2;
  int iVar5;
  int var_4;
  type_2 in_stack_ffffffd8;
  type_2 uVar7;
  
  if ((var_1 & 1U) != 0) {
    return 0;
  }
                    /* WARNING: Load size is inaccurate */
  var_2 = *pContext;
  iVar5 = 0;
  if (0 < var_2) {
    var_4 = var_3 + -1;
    if (-1 < var_4) {
      var_5 = var_4;
      do {
        var_6 = *(type_1 *)(*(int *)((int)pContext + 0x10) + var_5);
        if ((0x17 < (type_1)(var_6 - 9)) || ((0x800013U >> (var_6 - 9 & 0x1f) & 1) == 0)) {
          if ((var_4 != var_5) && ((var_6 == 0x2e || (var_6 == 0x3a)))) {
            var_4 = *(int *)((int)pContext + 4);
            if (var_4 == *(int *)((int)pContext + 8)) {
              if (var_4 == 0) {
                var_4 = 0x40;
              }
              else {
                var_4 = var_4 * 2;
              }
              var_10 = *(void **)((int)pContext + 0xc);
              var_5 = var_7();
              if ((var_5 != 0) ||
                 (var_10 = var_8(var_10,var_9(in_stack_ffffffd8,var_2)),
                 var_10 == (void *)0x0)) goto LAB_00119930;
              *(void **)((int)pContext + 0xc) = var_10;
              *(int *)((int)pContext + 4) = var_4;
            }
            var_4 = *(int *)((int)pContext + 8);
            *(int *)((int)pContext + 8) = var_4 + 1;
            *(int *)(*(int *)((int)pContext + 0xc) + var_4 * 4) = var_2;
                    /* WARNING: Load size is inaccurate */
            var_2 = *pContext;
          }
          break;
        }
        var_5 = var_5 + -1;
      } while (var_5 != -1);
    }
    goto LAB_001197fd;
  }
  var_2 = *(int *)((int)pContext + 4);
  var_4 = *(int *)((int)pContext + 8);
  var_10 = *(void **)((int)pContext + 0xc);
  if (var_2 == var_4) {
    if (var_2 == 0) {
      var_2 = 0x100;
      var_4 = 0x40;
    }
    else {
      var_4 = var_2 * 2;
      var_2 = var_2 << 3;
    }
    uVar7 = 0;
    var_5 = var_7();
    if (var_5 != 0) {
LAB_00119930:
      iVar5 = 7;
                    /* WARNING: Load size is inaccurate */
      var_2 = *pContext;
      goto LAB_001197fd;
    }
    var_10 = var_8(var_10,var_9(uVar7,var_2));
    if (var_10 == (void *)0x0) {
                    /* WARNING: Load size is inaccurate */
      var_2 = *pContext;
      iVar5 = 7;
      goto LAB_001197fd;
    }
    *(void **)((int)pContext + 0xc) = var_10;
    *(int *)((int)pContext + 4) = var_4;
    var_4 = *(int *)((int)pContext + 8);
  }
  *(int *)((int)pContext + 8) = var_4 + 1;
  *(type_2 *)((int)var_10 + var_4 * 4) = 0;
                    /* WARNING: Load size is inaccurate */
  var_2 = *pContext;
LAB_001197fd:
  *(int *)pContext = var_2 + 1;
  return iVar5;
}


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

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

{
  byte bVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  
  if ((param_2 & 1) != 0) {
    return 0;
  }
  iVar3 = *param_1;
  uVar4 = 0;
  if (0 < iVar3) {
    param_5 = param_5 + -1;
    if (-1 < param_5) {
      iVar5 = param_5;
      do {
        bVar1 = *(byte *)(param_1[4] + iVar5);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((param_5 != iVar5) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            iVar5 = param_1[1];
            if (iVar5 == param_1[2]) {
              if (iVar5 == 0) {
                iVar5 = 0x40;
              }
              else {
                iVar5 = iVar5 * 2;
              }
              iVar2 = FUN_00067fc0();
              if ((iVar2 != 0) || (iVar2 = FUN_00055930(), iVar2 == 0)) goto LAB_00119930;
              param_1[3] = iVar2;
              param_1[1] = iVar5;
            }
            iVar5 = param_1[2];
            param_1[2] = iVar5 + 1;
            *(int *)(param_1[3] + iVar5 * 4) = iVar3;
            iVar3 = *param_1;
          }
          break;
        }
        iVar5 = iVar5 + -1;
      } while (iVar5 != -1);
    }
    goto LAB_001197fd;
  }
  iVar3 = param_1[1];
  iVar5 = param_1[2];
  iVar2 = param_1[3];
  if (iVar3 == iVar5) {
    if (iVar3 == 0) {
      iVar3 = 0x100;
      iVar5 = 0x40;
    }
    else {
      iVar5 = iVar3 * 2;
      iVar3 = iVar3 << 3;
    }
    iVar3 = FUN_00067fc0(iVar3,0);
    if (iVar3 != 0) {
LAB_00119930:
      uVar4 = 7;
      iVar3 = *param_1;
      goto LAB_001197fd;
    }
    iVar2 = FUN_00055930();
    if (iVar2 == 0) {
      iVar3 = *param_1;
      uVar4 = 7;
      goto LAB_001197fd;
    }
    param_1[3] = iVar2;
    param_1[1] = iVar5;
    iVar5 = param_1[2];
  }
  param_1[2] = iVar5 + 1;
  *(undefined4 *)(iVar2 + iVar5 * 4) = 0;
  iVar3 = *param_1;
LAB_001197fd:
  *param_1 = iVar3 + 1;
  return uVar4;
}

