
/* WARNING: Unknown calling convention */

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

{
  byte bVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int local_20;
  
  if ((tflags & 1U) != 0) {
    return 0;
  }
                    /* WARNING: Load size is inaccurate */
  local_20 = *pContext;
  if (local_20 < 1) {
    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);
                    /* WARNING: Load size is inaccurate */
    local_20 = *pContext;
  }
  else {
    iVar4 = iStartOff + -1;
    iVar2 = 0;
    if (-1 < iVar4) {
      iVar3 = iVar4;
      do {
        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);
                    /* WARNING: Load size is inaccurate */
            local_20 = *pContext;
          }
          break;
        }
        iVar3 = iVar3 + -1;
      } while (iVar3 != -1);
    }
  }
  *(int *)pContext = local_20 + 1;
  return iVar2;
}



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

{
  byte bVar1;
  undefined4 uVar2;
  int iVar3;
  int local_20;
  
  if ((param_2 & 1) != 0) {
    return 0;
  }
  local_20 = *param_1;
  if (local_20 < 1) {
    uVar2 = FUN_0006aa70();
    local_20 = *param_1;
  }
  else {
    param_5 = param_5 + -1;
    uVar2 = 0;
    if (-1 < param_5) {
      iVar3 = param_5;
      do {
        bVar1 = *(byte *)(param_1[4] + iVar3);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            uVar2 = FUN_0006aa70();
            local_20 = *param_1;
          }
          break;
        }
        iVar3 = iVar3 + -1;
      } while (iVar3 != -1);
    }
  }
  *param_1 = local_20 + 1;
  return uVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
AND EAX,0x1
JNZ 0x0006ab88
MOV ESI,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESI]
MOV dword ptr [ESP + 0xc],ESI
TEST ESI,ESI
JLE 0x0006ab98
MOV EDI,dword ptr [ESP + 0x40]
SUB EDI,0x1
JS 0x0006ab6d
MOV ESI,dword ptr [ESP + 0x30]
MOV EDX,EDI
MOV EBP,0x800013
MOV ESI,dword ptr [ESI + 0x10]
JMP 0x0006ab5d
BT EBP,ECX
JNC 0x0006ab69
SUB EDX,0x1
CMP EDX,-0x1
JZ 0x0006ab6d
MOVZX EBX,byte ptr [ESI + EDX*0x1]
LEA ECX,[EBX + -0x9]
CMP CL,0x17
JBE 0x0006ab50
CMP EDI,EDX
JNZ 0x0006abb0
MOV EDX,dword ptr [ESP + 0xc]
MOV EDI,dword ptr [ESP + 0x30]
ADD EDX,0x1
MOV dword ptr [EDI],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
XOR EDX,EDX
CALL 0x0006aa70
MOV EDI,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [EDI]
MOV dword ptr [ESP + 0xc],EDI
JMP 0x0006ab6d
CMP BL,0x2e
JNZ 0x0006abce
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x30]
CALL 0x0006aa70
MOV EDI,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [EDI]
MOV dword ptr [ESP + 0xc],ESI
JMP 0x0006ab6d
CMP BL,0x3a
JZ 0x0006abb5
JMP 0x0006ab6d
(translation_unit "undefined4 FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006ab10(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  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int local_20;" 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 "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" if (parenthesized_expression "(local_20 < 1)" ( (binary_expression "local_20 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }" { (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" identifier = (call_expression "FUN_0006aa70()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" else (compound_statement "{\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" { (expression_statement "param_5 = param_5 + -1;" (assignment_expression "param_5 = param_5 + -1" identifier = (binary_expression "param_5 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" if (parenthesized_expression "(-1 < param_5)" ( (binary_expression "-1 < param_5" number_literal < identifier) )) (compound_statement "{\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" { (expression_statement "iVar3 = param_5;" (assignment_expression "iVar3 = param_5" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar3);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar3)" identifier = (pointer_expression "*(byte *)(param_1[4] + iVar3)" * (cast_expression "(byte *)(param_1[4] + iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar3)" ( (binary_expression "param_1[4] + iVar3" (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 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *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 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }" { (if_statement "if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" if (parenthesized_expression "((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar3)" ( (binary_expression "param_5 != iVar3" 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            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" { (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" identifier = (call_expression "FUN_0006aa70()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) ;) })) }))) (expression_statement "*param_1 = local_20 + 1;" (assignment_expression "*param_1 = local_20 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (return_statement "return uVar2;" 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  int iVar3;\n  int iVar4;\n  int local_20;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  local_20 = *pContext;\n  if (local_20 < 1) {\n    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);\n                    /* WARNING: Load size is inaccurate */\n    local_20 = *pContext;\n  }\n  else {\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *(int *)pContext = local_20 + 1;\n  return iVar2;\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  int iVar3;\n  int iVar4;\n  int local_20;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  local_20 = *pContext;\n  if (local_20 < 1) {\n    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);\n                    /* WARNING: Load size is inaccurate */\n    local_20 = *pContext;\n  }\n  else {\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *(int *)pContext = local_20 + 1;\n  return iVar2;\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  int iVar3;\n  int iVar4;\n  int local_20;\n  \n  if ((tflags & 1U) != 0) {\n    return 0;\n  }\n                    /* WARNING: Load size is inaccurate */\n  local_20 = *pContext;\n  if (local_20 < 1) {\n    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);\n                    /* WARNING: Load size is inaccurate */\n    local_20 = *pContext;\n  }\n  else {\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *(int *)pContext = local_20 + 1;\n  return iVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int local_20;" primitive_type 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 "local_20 = *pContext;" (assignment_expression "local_20 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) (if_statement "if (local_20 < 1) {\n    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);\n                    /* WARNING: Load size is inaccurate */\n    local_20 = *pContext;\n  }\n  else {\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" if (parenthesized_expression "(local_20 < 1)" ( (binary_expression "local_20 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);\n                    /* WARNING: Load size is inaccurate */\n    local_20 = *pContext;\n  }" { (expression_statement "iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0);" (assignment_expression "iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,0)" identifier = (call_expression "fts5SentenceFinderAdd((Fts5SFinder *)pContext,0)" identifier (argument_list "((Fts5SFinder *)pContext,0)" ( (cast_expression "(Fts5SFinder *)pContext" ( (type_descriptor "Fts5SFinder *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) comment (expression_statement "local_20 = *pContext;" (assignment_expression "local_20 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) }) (else_clause "else {\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" else (compound_statement "{\n    iVar4 = iStartOff + -1;\n    iVar2 = 0;\n    if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" { (expression_statement "iVar4 = iStartOff + -1;" (assignment_expression "iVar4 = iStartOff + -1" identifier = (binary_expression "iStartOff + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar4) {\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n      iVar3 = iVar4;\n      do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" { (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3);" (assignment_expression "bVar1 = *(byte *)(*(int *)((int)pContext + 0x10) + iVar3)" identifier = (pointer_expression "*(byte *)(*(int *)((int)pContext + 0x10) + iVar3)" * (cast_expression "(byte *)(*(int *)((int)pContext + 0x10) + iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pContext + 0x10) + iVar3)" ( (binary_expression "*(int *)((int)pContext + 0x10) + iVar3" (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 ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *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 ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }\n          break;\n        }" { (if_statement "if ((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }" if (parenthesized_expression "((iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(iVar4 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(iVar4 != iVar3)" ( (binary_expression "iVar4 != iVar3" 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            iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);\n                    /* WARNING: Load size is inaccurate */\n            local_20 = *pContext;\n          }" { (expression_statement "iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20);" (assignment_expression "iVar2 = fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20)" identifier = (call_expression "fts5SentenceFinderAdd((Fts5SFinder *)pContext,local_20)" identifier (argument_list "((Fts5SFinder *)pContext,local_20)" ( (cast_expression "(Fts5SFinder *)pContext" ( (type_descriptor "Fts5SFinder *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) comment (expression_statement "local_20 = *pContext;" (assignment_expression "local_20 = *pContext" identifier = (pointer_expression "*pContext" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) ;) })) }))) (expression_statement "*(int *)pContext = local_20 + 1;" (assignment_expression "*(int *)pContext = local_20 + 1" (pointer_expression "*(int *)pContext" * (cast_expression "(int *)pContext" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006ab10(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  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int local_20;" 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 "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" if (parenthesized_expression "(local_20 < 1)" ( (binary_expression "local_20 < 1" identifier < number_literal) )) (compound_statement "{\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }" { (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" identifier = (call_expression "FUN_0006aa70()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" else (compound_statement "{\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" { (expression_statement "param_5 = param_5 + -1;" (assignment_expression "param_5 = param_5 + -1" identifier = (binary_expression "param_5 + -1" identifier + number_literal)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" if (parenthesized_expression "(-1 < param_5)" ( (binary_expression "-1 < param_5" number_literal < identifier) )) (compound_statement "{\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" { (expression_statement "iVar3 = param_5;" (assignment_expression "iVar3 = param_5" identifier = identifier) ;) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);" do (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      }" { (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar3);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar3)" identifier = (pointer_expression "*(byte *)(param_1[4] + iVar3)" * (cast_expression "(byte *)(param_1[4] + iVar3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + iVar3)" ( (binary_expression "param_1[4] + iVar3" (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 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *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 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }" { (if_statement "if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" if (parenthesized_expression "((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" ( (binary_expression "(param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar3)" ( (binary_expression "param_5 != iVar3" 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            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" { (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" identifier = (call_expression "FUN_0006aa70()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) ;) })) }))) (expression_statement "*param_1 = local_20 + 1;" (assignment_expression "*param_1 = local_20 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (return_statement "return uVar2;" 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 ;) (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)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_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 = (call_expression IDENT (argument_list ( )))) ;) (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) )) ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0006ab10(int *param_1,uint param_2,undefined4 param_3,undefined4 param_4,int param_5)" (identifier "FUN_0006ab10") (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  undefined4 uVar2;\n  int iVar3;\n  int local_20;\n  \n  if ((param_2 & 1) != 0) {\n    return 0;\n  }\n  local_20 = *param_1;\n  if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }\n  *param_1 = local_20 + 1;\n  return uVar2;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (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 "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" (identifier "local_20") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (local_20 < 1) {\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }\n  else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" (if "if") (parenthesized_expression "(local_20 < 1)" (( "(") (binary_expression "local_20 < 1" (identifier "local_20") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    uVar2 = FUN_0006aa70();\n    local_20 = *param_1;\n  }" ({ "{") (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" (identifier "uVar2") (= "=") (call_expression "FUN_0006aa70()" (identifier "FUN_0006aa70") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" (identifier "local_20") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else {\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\n  }" (else "else") (compound_statement "{\n    param_5 = param_5 + -1;\n    uVar2 = 0;\n    if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }\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"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < param_5) {\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" (if "if") (parenthesized_expression "(-1 < param_5)" (( "(") (binary_expression "-1 < param_5" (number_literal "-1") (< "<") (identifier "param_5")) () ")")) (compound_statement "{\n      iVar3 = param_5;\n      do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);\n    }" ({ "{") (expression_statement "iVar3 = param_5;" (assignment_expression "iVar3 = param_5" (identifier "iVar3") (= "=") (identifier "param_5")) (; ";")) (do_statement "do {\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      } while (iVar3 != -1);" (do "do") (compound_statement "{\n        bVar1 = *(byte *)(param_1[4] + iVar3);\n        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }\n        iVar3 = iVar3 + -1;\n      }" ({ "{") (expression_statement "bVar1 = *(byte *)(param_1[4] + iVar3);" (assignment_expression "bVar1 = *(byte *)(param_1[4] + iVar3)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1[4] + iVar3)" (* "*") (cast_expression "(byte *)(param_1[4] + iVar3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + iVar3)" (( "(") (binary_expression "param_1[4] + iVar3" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (identifier "iVar3")) () ")"))))) (; ";")) (if_statement "if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {\n          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *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 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }\n          break;\n        }" ({ "{") (if_statement "if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {\n            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" (if "if") (parenthesized_expression "((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a))))" (( "(") (binary_expression "(param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))" (parenthesized_expression "(param_5 != iVar3)" (( "(") (binary_expression "param_5 != iVar3" (identifier "param_5") (!= "!=") (identifier "iVar3")) () ")")) (&& "&&") (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            uVar2 = FUN_0006aa70();\n            local_20 = *param_1;\n          }" ({ "{") (expression_statement "uVar2 = FUN_0006aa70();" (assignment_expression "uVar2 = FUN_0006aa70()" (identifier "uVar2") (= "=") (call_expression "FUN_0006aa70()" (identifier "FUN_0006aa70") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_20 = *param_1;" (assignment_expression "local_20 = *param_1" (identifier "local_20") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != -1)" (( "(") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (} "}")))) (expression_statement "*param_1 = local_20 + 1;" (assignment_expression "*param_1 = local_20 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "local_20 + 1" (identifier "local_20") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

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

{
  type_1 var_7;
  int iVar2;
  int var_6;
  int var_5;
  int var_2;
  
  if ((var_1 & 1U) != 0) {
    return 0;
  }
                    /* WARNING: Load size is inaccurate */
  var_2 = *pContext;
  if (var_2 < 1) {
    iVar2 = var_3((type_2 *)pContext,0);
                    /* WARNING: Load size is inaccurate */
    var_2 = *pContext;
  }
  else {
    var_5 = var_4 + -1;
    iVar2 = 0;
    if (-1 < var_5) {
      var_6 = var_5;
      do {
        var_7 = *(type_1 *)(*(int *)((int)pContext + 0x10) + var_6);
        if ((0x17 < (type_1)(var_7 - 9)) || ((0x800013U >> (var_7 - 9 & 0x1f) & 1) == 0)) {
          if ((var_5 != var_6) && ((var_7 == 0x2e || (var_7 == 0x3a)))) {
            iVar2 = var_3((type_2 *)pContext,var_2);
                    /* WARNING: Load size is inaccurate */
            var_2 = *pContext;
          }
          break;
        }
        var_6 = var_6 + -1;
      } while (var_6 != -1);
    }
  }
  *(int *)pContext = var_2 + 1;
  return iVar2;
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) 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: (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: (call_expression function: (identifier) arguments: (argument_list)))) (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))))))))) (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;
  undefined4 uVar2;
  int iVar3;
  int local_20;
  
  if ((param_2 & 1) != 0) {
    return 0;
  }
  local_20 = *param_1;
  if (local_20 < 1) {
    uVar2 = FUN_0006aa70();
    local_20 = *param_1;
  }
  else {
    param_5 = param_5 + -1;
    uVar2 = 0;
    if (-1 < param_5) {
      iVar3 = param_5;
      do {
        bVar1 = *(byte *)(param_1[4] + iVar3);
        if ((0x17 < (byte)(bVar1 - 9)) || ((0x800013U >> (bVar1 - 9 & 0x1f) & 1) == 0)) {
          if ((param_5 != iVar3) && ((bVar1 == 0x2e || (bVar1 == 0x3a)))) {
            uVar2 = FUN_0006aa70();
            local_20 = *param_1;
          }
          break;
        }
        iVar3 = iVar3 + -1;
      } while (iVar3 != -1);
    }
  }
  *param_1 = local_20 + 1;
  return uVar2;
}

