
/* DWARF original prototype: int resolveAsName(Parse * pParse, ExprList * pEList, Expr * pE, Expr *
   pE) */

int resolveAsName(Parse *pParse,ExprList *pEList,Expr *pE,Expr *pE_1)

{
  byte *pbVar1;
  sqlite3 *psVar2;
  Vdbe *pVVar3;
  uint uVar4;
  byte *pbVar5;
  Vdbe **ppVVar6;
  
  if (0 < (int)pParse->db) {
    ppVVar6 = &pParse->pVdbe;
    psVar2 = (sqlite3 *)0x0;
    do {
      pVVar3 = *ppVVar6;
      if ((pVVar3 != (Vdbe *)0x0) &&
         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,
         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {
        do {
          if (uVar4 == 0) {
            return (int)((int)&psVar2->pVfs + 1);
          }
          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);
          pbVar1 = pbVar5 + 1;
          uVar4 = (uint)*(byte *)&pVVar3->db;
          pbVar5 = pbVar5 + 1;
        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);
      }
      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);
      ppVVar6 = ppVVar6 + 5;
    } while (psVar2 != pParse->db);
  }
  return 0;
}



int FUN_00037f34(int *param_1,undefined4 *param_2)

{
  byte *pbVar1;
  int iVar2;
  byte *pbVar3;
  uint uVar4;
  byte *pbVar5;
  int *piVar6;
  
  if (0 < *param_1) {
    piVar6 = param_1 + 2;
    iVar2 = 0;
    do {
      pbVar3 = (byte *)*piVar6;
      if ((pbVar3 != (byte *)0x0) &&
         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,
         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {
        do {
          if (uVar4 == 0) {
            return iVar2 + 1;
          }
          pbVar3 = pbVar3 + 1;
          pbVar1 = pbVar5 + 1;
          uVar4 = (uint)*pbVar3;
          pbVar5 = pbVar5 + 1;
        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);
      }
      iVar2 = iVar2 + 1;
      piVar6 = piVar6 + 5;
    } while (iVar2 != *param_1);
  }
  return 0;
}


lui gp,0x13
addiu gp,gp,-0x3984
addu gp,gp,t9
lw t2,0x0(a0)
blez t2,0x00037fdc
_lw t3,0x0(a1)
lw a3,-0x7f18(gp)
addiu t1,a0,0x8
or v0,zero,zero
b 0x00037f6c
_addiu a3,a3,-0x70f8
addiu v0,v0,0x1
beq v0,t2,0x00037fdc
_addiu t1,t1,0x14
lw a0,0x0(t1)
beq a0,zero,0x00037f60
_nop
lbu a1,0x0(a0)
lbu v1,0x0(t3)
addu a2,a3,a1
addu v1,a3,v1
lbu a2,0x0(a2)
lbu v1,0x0(v1)
bne v1,a2,0x00037f60
_nop
beq a1,zero,0x00037fd4
_nop
or a1,t3,zero
addiu a0,a0,0x1
lbu v1,0x1(a1)
lbu a2,0x0(a0)
addu v1,a3,v1
addu t0,a3,a2
lbu v1,0x0(v1)
lbu t0,0x0(t0)
bne t0,v1,0x00037f60
_addiu a1,a1,0x1
bne a2,zero,0x00037fa8
_addiu a0,a0,0x1
addiu a0,a0,-0x1
jr ra
_addiu v0,v0,0x1
jr ra
_or v0,zero,zero
(translation_unit "int FUN_00037f34(int *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00037f34(int *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00037f34(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (if_statement "if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" { (expression_statement "piVar6 = param_1 + 2;" (assignment_expression "piVar6 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);" do (compound_statement "{\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    }" { (expression_statement "pbVar3 = (byte *)*piVar6;" (assignment_expression "pbVar3 = (byte *)*piVar6" identifier = (cast_expression "(byte *)*piVar6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" if (parenthesized_expression "((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]))" ( (binary_expression "(pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" ( (comma_expression "uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "uVar4 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) , (comma_expression "pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "pbVar5 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) , (binary_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8]" identifier [ (binary_expression "*(byte *)*param_2 - 0x70f8" (pointer_expression "*(byte *)*param_2" * (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ])))) ))) )) (compound_statement "{\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" { (do_statement "do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);" do (compound_statement "{\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        }" { (if_statement "if (uVar4 == 0) {\n            return iVar2 + 1;\n          }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            return iVar2 + 1;\n          }" { (return_statement "return iVar2 + 1;" return (binary_expression "iVar2 + 1" identifier + number_literal) ;) })) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar1 = pbVar5 + 1;" (assignment_expression "pbVar1 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*pbVar3;" (assignment_expression "uVar4 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8])" ( (binary_expression "PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[*pbVar1 - 0x70f8]" identifier [ (binary_expression "*pbVar1 - 0x70f8" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar6 = piVar6 + 5;" (assignment_expression "piVar6 = piVar6 + 5" identifier = (binary_expression "piVar6 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != *param_1)" ( (binary_expression "iVar2 != *param_1" identifier != (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: int resolveAsName(Parse * pParse, ExprList * pEList, Expr * pE, Expr *\n   pE) */\n\nint resolveAsName(Parse *pParse,ExprList *pEList,Expr *pE,Expr *pE_1)\n\n{\n  byte *pbVar1;\n  sqlite3 *psVar2;\n  Vdbe *pVVar3;\n  uint uVar4;\n  byte *pbVar5;\n  Vdbe **ppVVar6;\n  \n  if (0 < (int)pParse->db) {\n    ppVVar6 = &pParse->pVdbe;\n    psVar2 = (sqlite3 *)0x0;\n    do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);\n  }\n  return 0;\n}\n\n" comment (function_definition "int resolveAsName(Parse *pParse,ExprList *pEList,Expr *pE,Expr *pE_1)\n\n{\n  byte *pbVar1;\n  sqlite3 *psVar2;\n  Vdbe *pVVar3;\n  uint uVar4;\n  byte *pbVar5;\n  Vdbe **ppVVar6;\n  \n  if (0 < (int)pParse->db) {\n    ppVVar6 = &pParse->pVdbe;\n    psVar2 = (sqlite3 *)0x0;\n    do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);\n  }\n  return 0;\n}" primitive_type (function_declarator "resolveAsName(Parse *pParse,ExprList *pEList,Expr *pE,Expr *pE_1)" identifier (parameter_list "(Parse *pParse,ExprList *pEList,Expr *pE,Expr *pE_1)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "ExprList *pEList" type_identifier (pointer_declarator "*pEList" * identifier)) , (parameter_declaration "Expr *pE" type_identifier (pointer_declarator "*pE" * identifier)) , (parameter_declaration "Expr *pE_1" type_identifier (pointer_declarator "*pE_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  sqlite3 *psVar2;\n  Vdbe *pVVar3;\n  uint uVar4;\n  byte *pbVar5;\n  Vdbe **ppVVar6;\n  \n  if (0 < (int)pParse->db) {\n    ppVVar6 = &pParse->pVdbe;\n    psVar2 = (sqlite3 *)0x0;\n    do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "sqlite3 *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "Vdbe *pVVar3;" type_identifier (pointer_declarator "*pVVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "Vdbe **ppVVar6;" type_identifier (pointer_declarator "**ppVVar6" * (pointer_declarator "*ppVVar6" * identifier)) ;) (if_statement "if (0 < (int)pParse->db) {\n    ppVVar6 = &pParse->pVdbe;\n    psVar2 = (sqlite3 *)0x0;\n    do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);\n  }" if (parenthesized_expression "(0 < (int)pParse->db)" ( (binary_expression "0 < (int)pParse->db" number_literal < (cast_expression "(int)pParse->db" ( (type_descriptor "int" primitive_type) ) (field_expression "pParse->db" identifier -> field_identifier))) )) (compound_statement "{\n    ppVVar6 = &pParse->pVdbe;\n    psVar2 = (sqlite3 *)0x0;\n    do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);\n  }" { (expression_statement "ppVVar6 = &pParse->pVdbe;" (assignment_expression "ppVVar6 = &pParse->pVdbe" identifier = (pointer_expression "&pParse->pVdbe" & (field_expression "pParse->pVdbe" identifier -> field_identifier))) ;) (expression_statement "psVar2 = (sqlite3 *)0x0;" (assignment_expression "psVar2 = (sqlite3 *)0x0" identifier = (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    } while (psVar2 != pParse->db);" do (compound_statement "{\n      pVVar3 = *ppVVar6;\n      if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);\n      ppVVar6 = ppVVar6 + 5;\n    }" { (expression_statement "pVVar3 = *ppVVar6;" (assignment_expression "pVVar3 = *ppVVar6" identifier = (pointer_expression "*ppVVar6" * identifier)) ;) (if_statement "if ((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" if (parenthesized_expression "((pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]))" ( (binary_expression "(pVVar3 != (Vdbe *)0x0) &&\n         (uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" (parenthesized_expression "(pVVar3 != (Vdbe *)0x0)" ( (binary_expression "pVVar3 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" ( (comma_expression "uVar4 = (uint)*(byte *)&pVVar3->db, pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "uVar4 = (uint)*(byte *)&pVVar3->db" identifier = (binary_expression "(uint)*(byte *)&pVVar3->db" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)&pVVar3->db" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pVVar3->db" & (field_expression "pVVar3->db" identifier -> field_identifier))))) , (comma_expression "pbVar5 = (byte *)pEList->nExpr,\n         PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "pbVar5 = (byte *)pEList->nExpr" identifier = (cast_expression "(byte *)pEList->nExpr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pEList->nExpr" identifier -> field_identifier))) , (binary_expression "PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[*(byte *)pEList->nExpr - 0x70f8]" identifier [ (binary_expression "*(byte *)pEList->nExpr - 0x70f8" (pointer_expression "*(byte *)pEList->nExpr" * (cast_expression "(byte *)pEList->nExpr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pEList->nExpr" identifier -> field_identifier))) - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ])))) ))) )) (compound_statement "{\n        do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" { (do_statement "do {\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);" do (compound_statement "{\n          if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }\n          pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*(byte *)&pVVar3->db;\n          pbVar5 = pbVar5 + 1;\n        }" { (if_statement "if (uVar4 == 0) {\n            return (int)((int)&psVar2->pVfs + 1);\n          }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            return (int)((int)&psVar2->pVfs + 1);\n          }" { (return_statement "return (int)((int)&psVar2->pVfs + 1);" return (cast_expression "(int)((int)&psVar2->pVfs + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)&psVar2->pVfs + 1)" ( (binary_expression "(int)&psVar2->pVfs + 1" (cast_expression "(int)&psVar2->pVfs" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar2->pVfs" & (field_expression "psVar2->pVfs" identifier -> field_identifier))) + number_literal) ))) ;) })) (expression_statement "pVVar3 = (Vdbe *)((int)&pVVar3->db + 1);" (assignment_expression "pVVar3 = (Vdbe *)((int)&pVVar3->db + 1)" identifier = (cast_expression "(Vdbe *)((int)&pVVar3->db + 1)" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pVVar3->db + 1)" ( (binary_expression "(int)&pVVar3->db + 1" (cast_expression "(int)&pVVar3->db" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pVVar3->db" & (field_expression "pVVar3->db" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "pbVar1 = pbVar5 + 1;" (assignment_expression "pbVar1 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*(byte *)&pVVar3->db;" (assignment_expression "uVar4 = (uint)*(byte *)&pVVar3->db" identifier = (binary_expression "(uint)*(byte *)&pVVar3->db" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)&pVVar3->db" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pVVar3->db" & (field_expression "pVVar3->db" identifier -> field_identifier))))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8])" ( (binary_expression "PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[*pbVar1 - 0x70f8]" identifier [ (binary_expression "*pbVar1 - 0x70f8" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (expression_statement "psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1);" (assignment_expression "psVar2 = (sqlite3 *)((int)&psVar2->pVfs + 1)" identifier = (cast_expression "(sqlite3 *)((int)&psVar2->pVfs + 1)" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar2->pVfs + 1)" ( (binary_expression "(int)&psVar2->pVfs + 1" (cast_expression "(int)&psVar2->pVfs" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar2->pVfs" & (field_expression "psVar2->pVfs" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "ppVVar6 = ppVVar6 + 5;" (assignment_expression "ppVVar6 = ppVVar6 + 5" identifier = (binary_expression "ppVVar6 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(psVar2 != pParse->db)" ( (binary_expression "psVar2 != pParse->db" identifier != (field_expression "pParse->db" identifier -> field_identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int FUN_00037f34(int *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00037f34(int *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00037f34(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (if_statement "if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" if (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" { (expression_statement "piVar6 = param_1 + 2;" (assignment_expression "piVar6 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);" do (compound_statement "{\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    }" { (expression_statement "pbVar3 = (byte *)*piVar6;" (assignment_expression "pbVar3 = (byte *)*piVar6" identifier = (cast_expression "(byte *)*piVar6" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" if (parenthesized_expression "((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]))" ( (binary_expression "(pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" ( (comma_expression "uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "uVar4 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) , (comma_expression "pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "pbVar5 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) , (binary_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8]" identifier [ (binary_expression "*(byte *)*param_2 - 0x70f8" (pointer_expression "*(byte *)*param_2" * (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ])))) ))) )) (compound_statement "{\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" { (do_statement "do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);" do (compound_statement "{\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        }" { (if_statement "if (uVar4 == 0) {\n            return iVar2 + 1;\n          }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            return iVar2 + 1;\n          }" { (return_statement "return iVar2 + 1;" return (binary_expression "iVar2 + 1" identifier + number_literal) ;) })) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar1 = pbVar5 + 1;" (assignment_expression "pbVar1 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*pbVar3;" (assignment_expression "uVar4 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8])" ( (binary_expression "PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" identifier [ (binary_expression "uVar4 - 0x70f8" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_0015c698[*pbVar1 - 0x70f8]" identifier [ (binary_expression "*pbVar1 - 0x70f8" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar6 = piVar6 + 5;" (assignment_expression "piVar6 = piVar6 + 5" identifier = (binary_expression "piVar6 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != *param_1)" ( (binary_expression "iVar2 != *param_1" identifier != (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (subscript_expression IDENT [ (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) - LIT) ]) == (subscript_expression IDENT [ (binary_expression IDENT - LIT) ])))) ))) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) - LIT) ])) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00037f34(int *param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_00037f34(int *param_1,undefined4 *param_2)" (identifier "FUN_00037f34") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  byte *pbVar3;\n  uint uVar4;\n  byte *pbVar5;\n  int *piVar6;\n  \n  if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }\n  return 0;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (if_statement "if (0 < *param_1) {\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" (if "if") (parenthesized_expression "(0 < *param_1)" (( "(") (binary_expression "0 < *param_1" (number_literal "0") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    piVar6 = param_1 + 2;\n    iVar2 = 0;\n    do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);\n  }" ({ "{") (expression_statement "piVar6 = param_1 + 2;" (assignment_expression "piVar6 = param_1 + 2" (identifier "piVar6") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    } while (iVar2 != *param_1);" (do "do") (compound_statement "{\n      pbVar3 = (byte *)*piVar6;\n      if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }\n      iVar2 = iVar2 + 1;\n      piVar6 = piVar6 + 5;\n    }" ({ "{") (expression_statement "pbVar3 = (byte *)*piVar6;" (assignment_expression "pbVar3 = (byte *)*piVar6" (identifier "pbVar3") (= "=") (cast_expression "(byte *)*piVar6" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if ((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" (if "if") (parenthesized_expression "((pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]))" (( "(") (binary_expression "(pbVar3 != (byte *)0x0) &&\n         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" (parenthesized_expression "(pbVar3 != (byte *)0x0)" (( "(") (binary_expression "pbVar3 != (byte *)0x0" (identifier "pbVar3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])" (( "(") (comma_expression "uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "uVar4 = (uint)*pbVar3" (identifier "uVar4") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (, ",") (comma_expression "pbVar5 = (byte *)*param_2,\n         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (assignment_expression "pbVar5 = (byte *)*param_2" (identifier "pbVar5") (= "=") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (, ",") (binary_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8]" (identifier "PTR_DAT_0015c698") ([ "[") (binary_expression "*(byte *)*param_2 - 0x70f8" (pointer_expression "*(byte *)*param_2" (* "*") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (- "-") (number_literal "0x70f8")) (] "]")) (== "==") (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" (identifier "PTR_DAT_0015c698") ([ "[") (binary_expression "uVar4 - 0x70f8" (identifier "uVar4") (- "-") (number_literal "0x70f8")) (] "]"))))) () ")"))) () ")")) (compound_statement "{\n        do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);\n      }" ({ "{") (do_statement "do {\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);" (do "do") (compound_statement "{\n          if (uVar4 == 0) {\n            return iVar2 + 1;\n          }\n          pbVar3 = pbVar3 + 1;\n          pbVar1 = pbVar5 + 1;\n          uVar4 = (uint)*pbVar3;\n          pbVar5 = pbVar5 + 1;\n        }" ({ "{") (if_statement "if (uVar4 == 0) {\n            return iVar2 + 1;\n          }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return iVar2 + 1;\n          }" ({ "{") (return_statement "return iVar2 + 1;" (return "return") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar1 = pbVar5 + 1;" (assignment_expression "pbVar1 = pbVar5 + 1" (identifier "pbVar1") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = (uint)*pbVar3;" (assignment_expression "uVar4 = (uint)*pbVar3" (identifier "uVar4") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8])" (( "(") (binary_expression "PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]" (subscript_expression "PTR_DAT_0015c698[uVar4 - 0x70f8]" (identifier "PTR_DAT_0015c698") ([ "[") (binary_expression "uVar4 - 0x70f8" (identifier "uVar4") (- "-") (number_literal "0x70f8")) (] "]")) (== "==") (subscript_expression "PTR_DAT_0015c698[*pbVar1 - 0x70f8]" (identifier "PTR_DAT_0015c698") ([ "[") (binary_expression "*pbVar1 - 0x70f8" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (- "-") (number_literal "0x70f8")) (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar6 = piVar6 + 5;" (assignment_expression "piVar6 = piVar6 + 5" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 5" (identifier "piVar6") (+ "+") (number_literal "5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != *param_1)" (( "(") (binary_expression "iVar2 != *param_1" (identifier "iVar2") (!= "!=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* DWARF original prototype: int resolveAsName(Parse * pParse, ExprList * pEList, Expr * pE, Expr *
   pE) */

int function_1(type_1 *pParse,type_2 *pEList,type_3 *pE,type_3 *pE_1)

{
  type_4 *pbVar1;
  type_5 *var_5;
  type_6 *var_1;
  type_7 var_2;
  type_4 *var_3;
  type_6 **var_4;
  
  if (0 < (int)pParse->db) {
    var_4 = &pParse->pVdbe;
    var_5 = (type_5 *)0x0;
    do {
      var_1 = *var_4;
      if ((var_1 != (type_6 *)0x0) &&
         (var_2 = (type_7)*(type_4 *)&var_1->db, var_3 = (type_4 *)pEList->nExpr,
         PTR_DAT_0015c698[*(type_4 *)pEList->nExpr - 0x70f8] == PTR_DAT_0015c698[var_2 - 0x70f8])) {
        do {
          if (var_2 == 0) {
            return (int)((int)&var_5->pVfs + 1);
          }
          var_1 = (type_6 *)((int)&var_1->db + 1);
          pbVar1 = var_3 + 1;
          var_2 = (type_7)*(type_4 *)&var_1->db;
          var_3 = var_3 + 1;
        } while (PTR_DAT_0015c698[var_2 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);
      }
      var_5 = (type_5 *)((int)&var_5->pVfs + 1);
      var_4 = var_4 + 5;
    } while (var_5 != pParse->db);
  }
  return 0;
}


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

int MASKED(int *param_1,undefined4 *param_2)

{
  byte *pbVar1;
  int iVar2;
  byte *pbVar3;
  uint uVar4;
  byte *pbVar5;
  int *piVar6;
  
  if (0 < *param_1) {
    piVar6 = param_1 + 2;
    iVar2 = 0;
    do {
      pbVar3 = (byte *)*piVar6;
      if ((pbVar3 != (byte *)0x0) &&
         (uVar4 = (uint)*pbVar3, pbVar5 = (byte *)*param_2,
         PTR_DAT_0015c698[*(byte *)*param_2 - 0x70f8] == PTR_DAT_0015c698[uVar4 - 0x70f8])) {
        do {
          if (uVar4 == 0) {
            return iVar2 + 1;
          }
          pbVar3 = pbVar3 + 1;
          pbVar1 = pbVar5 + 1;
          uVar4 = (uint)*pbVar3;
          pbVar5 = pbVar5 + 1;
        } while (PTR_DAT_0015c698[uVar4 - 0x70f8] == PTR_DAT_0015c698[*pbVar1 - 0x70f8]);
      }
      iVar2 = iVar2 + 1;
      piVar6 = piVar6 + 5;
    } while (iVar2 != *param_1);
  }
  return 0;
}

