
int sqlite3ExprCollSeqMatch(Parse *pParse,Expr *pE1,Expr *pE2)

{
  byte *pbVar1;
  CollSeq *pCVar2;
  CollSeq *pCVar3;
  byte *pbVar4;
  byte *pbVar5;
  uint uVar6;
  
  pCVar2 = sqlite3ExprCollSeq(pParse,pE1);
  if (pCVar2 == (CollSeq *)0x0) {
    pCVar2 = pParse->db->pDfltColl;
  }
  pCVar3 = sqlite3ExprCollSeq(pParse,pE2);
  if (pCVar3 == (CollSeq *)0x0) {
    pCVar3 = pParse->db->pDfltColl;
  }
  pbVar4 = (byte *)pCVar2->zName;
  pbVar5 = (byte *)pCVar3->zName;
  uVar6 = (uint)*pbVar4;
  if (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]) {
    do {
      pbVar4 = pbVar4 + 1;
      if (uVar6 == 0) {
        return 1;
      }
      pbVar1 = pbVar5 + 1;
      uVar6 = (uint)*pbVar4;
      pbVar5 = pbVar5 + 1;
    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);
  }
  return 0;
}



ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)

{
  byte *pbVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  byte *pbVar4;
  byte *pbVar5;
  byte *pbVar6;
  uint uVar7;
  
  puVar2 = (undefined4 *)FUN_00099d8c();
  if (puVar2 == (undefined4 *)0x0) {
    puVar2 = *(undefined4 **)(*param_1 + 8);
  }
  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);
  if (puVar3 == (undefined4 *)0x0) {
    puVar3 = *(undefined4 **)(*param_1 + 8);
  }
  pbVar4 = (byte *)*puVar2;
  pbVar6 = (byte *)*puVar3;
  uVar7 = (uint)*pbVar4;
  pbVar5 = pbVar4;
  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {
    do {
      pbVar4 = pbVar5 + 1;
      if (uVar7 == 0) {
        return CONCAT44(1,pbVar5);
      }
      pbVar1 = pbVar6 + 1;
      uVar7 = (uint)*pbVar4;
      pbVar6 = pbVar6 + 1;
      pbVar5 = pbVar4;
    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);
  }
  return ZEXT48(pbVar4);
}


lui gp,0x10
addiu gp,gp,-0x1ffc
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x1c(sp)
lw s0,-0x7d5c(gp)
sw s3,0x28(sp)
or s3,a2,zero
sw s2,0x24(sp)
or s2,a0,zero
addiu s0,s0,-0x6274
sw gp,0x10(sp)
sw ra,0x2c(sp)
or t9,s0,zero
bal 0x00099d8c
_sw s1,0x20(sp)
beq v0,zero,0x0009aa30
_nop
or s1,v0,zero
or a1,s3,zero
or t9,s0,zero
bal 0x00099d8c
_or a0,s2,zero
beq v0,zero,0x0009aa24
_lw gp,0x10(sp)
lw v1,0x0(s1)
lw a0,0x0(v0)
lw a2,-0x7d8c(gp)
lbu a1,0x0(v1)
lbu v0,0x0(a0)
addiu a2,a2,-0x3c18
addu a3,a2,a1
addu v0,a2,v0
lbu a3,0x0(a3)
lbu v0,0x0(v0)
beq a3,v0,0x0009a9d8
_lw ra,0x2c(sp)
b 0x0009aa0c
_or v0,zero,zero
lbu v0,0x1(a0)
lbu a1,0x0(v1)
addu v0,a2,v0
addu a3,a2,a1
lbu v0,0x0(v0)
lbu a3,0x0(a3)
bne a3,v0,0x0009aa04
_addiu a0,a0,0x1
bne a1,zero,0x0009a9b8
_addiu v1,v1,0x1
addiu v1,v1,-0x1
lw ra,0x2c(sp)
li v0,0x1
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
or v0,zero,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw v0,0x0(s2)
b 0x0009a980
_lw v0,0x8(v0)
lw v0,0x0(s2)
b 0x0009a968
_lw s1,0x8(v0)
(translation_unit "ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}\n\n" (function_definition "ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" type_identifier (function_declarator "FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)FUN_00099d8c();" (assignment_expression "puVar2 = (undefined4 *)FUN_00099d8c()" identifier = (cast_expression "(undefined4 *)FUN_00099d8c()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00099d8c()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" { (expression_statement "puVar2 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 8)" * (cast_expression "(undefined4 **)(*param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);" (assignment_expression "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3)" identifier = (cast_expression "(undefined4 *)FUN_00099d8c(param_1,param_3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00099d8c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" { (expression_statement "puVar3 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar3 = *(undefined4 **)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 8)" * (cast_expression "(undefined4 **)(*param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) (expression_statement "pbVar4 = (byte *)*puVar2;" (assignment_expression "pbVar4 = (byte *)*puVar2" identifier = (cast_expression "(byte *)*puVar2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "pbVar6 = (byte *)*puVar3;" (assignment_expression "pbVar6 = (byte *)*puVar3" identifier = (cast_expression "(byte *)*puVar3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" identifier = identifier) ;) (if_statement "if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" if (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" identifier [ (binary_expression "uVar7 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar6 - 0x3c18]" identifier [ (binary_expression "*pbVar6 - 0x3c18" (pointer_expression "*pbVar6" * identifier) - number_literal) ])) )) (compound_statement "{\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" { (do_statement "do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);" do (compound_statement "{\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    }" { (expression_statement "pbVar4 = pbVar5 + 1;" (assignment_expression "pbVar4 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return CONCAT44(1,pbVar5);\n      }" { (return_statement "return CONCAT44(1,pbVar5);" return (call_expression "CONCAT44(1,pbVar5)" identifier (argument_list "(1,pbVar5)" ( number_literal , identifier ))) ;) })) (expression_statement "pbVar1 = pbVar6 + 1;" (assignment_expression "pbVar1 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" identifier = identifier) ;) }) while (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" identifier [ (binary_expression "uVar7 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar1 - 0x3c18]" identifier [ (binary_expression "*pbVar1 - 0x3c18" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (return_statement "return ZEXT48(pbVar4);" return (call_expression "ZEXT48(pbVar4)" identifier (argument_list "(pbVar4)" ( identifier ))) ;) })))
(translation_unit "int sqlite3ExprCollSeqMatch(Parse *pParse,Expr *pE1,Expr *pE2)\n\n{\n  byte *pbVar1;\n  CollSeq *pCVar2;\n  CollSeq *pCVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  uint uVar6;\n  \n  pCVar2 = sqlite3ExprCollSeq(pParse,pE1);\n  if (pCVar2 == (CollSeq *)0x0) {\n    pCVar2 = pParse->db->pDfltColl;\n  }\n  pCVar3 = sqlite3ExprCollSeq(pParse,pE2);\n  if (pCVar3 == (CollSeq *)0x0) {\n    pCVar3 = pParse->db->pDfltColl;\n  }\n  pbVar4 = (byte *)pCVar2->zName;\n  pbVar5 = (byte *)pCVar3->zName;\n  uVar6 = (uint)*pbVar4;\n  if (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3ExprCollSeqMatch(Parse *pParse,Expr *pE1,Expr *pE2)\n\n{\n  byte *pbVar1;\n  CollSeq *pCVar2;\n  CollSeq *pCVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  uint uVar6;\n  \n  pCVar2 = sqlite3ExprCollSeq(pParse,pE1);\n  if (pCVar2 == (CollSeq *)0x0) {\n    pCVar2 = pParse->db->pDfltColl;\n  }\n  pCVar3 = sqlite3ExprCollSeq(pParse,pE2);\n  if (pCVar3 == (CollSeq *)0x0) {\n    pCVar3 = pParse->db->pDfltColl;\n  }\n  pbVar4 = (byte *)pCVar2->zName;\n  pbVar5 = (byte *)pCVar3->zName;\n  uVar6 = (uint)*pbVar4;\n  if (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3ExprCollSeqMatch(Parse *pParse,Expr *pE1,Expr *pE2)" identifier (parameter_list "(Parse *pParse,Expr *pE1,Expr *pE2)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Expr *pE1" type_identifier (pointer_declarator "*pE1" * identifier)) , (parameter_declaration "Expr *pE2" type_identifier (pointer_declarator "*pE2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  CollSeq *pCVar2;\n  CollSeq *pCVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  uint uVar6;\n  \n  pCVar2 = sqlite3ExprCollSeq(pParse,pE1);\n  if (pCVar2 == (CollSeq *)0x0) {\n    pCVar2 = pParse->db->pDfltColl;\n  }\n  pCVar3 = sqlite3ExprCollSeq(pParse,pE2);\n  if (pCVar3 == (CollSeq *)0x0) {\n    pCVar3 = pParse->db->pDfltColl;\n  }\n  pbVar4 = (byte *)pCVar2->zName;\n  pbVar5 = (byte *)pCVar3->zName;\n  uVar6 = (uint)*pbVar4;\n  if (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return 0;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "CollSeq *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (declaration "CollSeq *pCVar3;" type_identifier (pointer_declarator "*pCVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "pCVar2 = sqlite3ExprCollSeq(pParse,pE1);" (assignment_expression "pCVar2 = sqlite3ExprCollSeq(pParse,pE1)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pE1)" identifier (argument_list "(pParse,pE1)" ( identifier , identifier )))) ;) (if_statement "if (pCVar2 == (CollSeq *)0x0) {\n    pCVar2 = pParse->db->pDfltColl;\n  }" if (parenthesized_expression "(pCVar2 == (CollSeq *)0x0)" ( (binary_expression "pCVar2 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar2 = pParse->db->pDfltColl;\n  }" { (expression_statement "pCVar2 = pParse->db->pDfltColl;" (assignment_expression "pCVar2 = pParse->db->pDfltColl" identifier = (field_expression "pParse->db->pDfltColl" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier)) ;) })) (expression_statement "pCVar3 = sqlite3ExprCollSeq(pParse,pE2);" (assignment_expression "pCVar3 = sqlite3ExprCollSeq(pParse,pE2)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pE2)" identifier (argument_list "(pParse,pE2)" ( identifier , identifier )))) ;) (if_statement "if (pCVar3 == (CollSeq *)0x0) {\n    pCVar3 = pParse->db->pDfltColl;\n  }" if (parenthesized_expression "(pCVar3 == (CollSeq *)0x0)" ( (binary_expression "pCVar3 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar3 = pParse->db->pDfltColl;\n  }" { (expression_statement "pCVar3 = pParse->db->pDfltColl;" (assignment_expression "pCVar3 = pParse->db->pDfltColl" identifier = (field_expression "pParse->db->pDfltColl" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier)) ;) })) (expression_statement "pbVar4 = (byte *)pCVar2->zName;" (assignment_expression "pbVar4 = (byte *)pCVar2->zName" identifier = (cast_expression "(byte *)pCVar2->zName" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pCVar2->zName" identifier -> field_identifier))) ;) (expression_statement "pbVar5 = (byte *)pCVar3->zName;" (assignment_expression "pbVar5 = (byte *)pCVar3->zName" identifier = (cast_expression "(byte *)pCVar3->zName" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pCVar3->zName" identifier -> field_identifier))) ;) (expression_statement "uVar6 = (uint)*pbVar4;" (assignment_expression "uVar6 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" if (parenthesized_expression "(PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar5 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar6 - 0x3c18]" identifier [ (binary_expression "uVar6 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar5 - 0x3c18]" identifier [ (binary_expression "*pbVar5 - 0x3c18" (pointer_expression "*pbVar5" * identifier) - number_literal) ])) )) (compound_statement "{\n    do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" { (do_statement "do {\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    } while (PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);" do (compound_statement "{\n      pbVar4 = pbVar4 + 1;\n      if (uVar6 == 0) {\n        return 1;\n      }\n      pbVar1 = pbVar5 + 1;\n      uVar6 = (uint)*pbVar4;\n      pbVar5 = pbVar5 + 1;\n    }" { (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pbVar1 = pbVar5 + 1;" (assignment_expression "pbVar1 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)*pbVar4;" (assignment_expression "uVar6 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (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_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar6 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar6 - 0x3c18]" identifier [ (binary_expression "uVar6 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar1 - 0x3c18]" identifier [ (binary_expression "*pbVar1 - 0x3c18" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}\n\n" (function_definition "ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" type_identifier (function_declarator "FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)FUN_00099d8c();" (assignment_expression "puVar2 = (undefined4 *)FUN_00099d8c()" identifier = (cast_expression "(undefined4 *)FUN_00099d8c()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00099d8c()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" ( (binary_expression "puVar2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" { (expression_statement "puVar2 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 8)" * (cast_expression "(undefined4 **)(*param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) (expression_statement "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);" (assignment_expression "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3)" identifier = (cast_expression "(undefined4 *)FUN_00099d8c(param_1,param_3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00099d8c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" { (expression_statement "puVar3 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar3 = *(undefined4 **)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(*param_1 + 8)" * (cast_expression "(undefined4 **)(*param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) })) (expression_statement "pbVar4 = (byte *)*puVar2;" (assignment_expression "pbVar4 = (byte *)*puVar2" identifier = (cast_expression "(byte *)*puVar2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "pbVar6 = (byte *)*puVar3;" (assignment_expression "pbVar6 = (byte *)*puVar3" identifier = (cast_expression "(byte *)*puVar3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" identifier = identifier) ;) (if_statement "if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" if (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" identifier [ (binary_expression "uVar7 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar6 - 0x3c18]" identifier [ (binary_expression "*pbVar6 - 0x3c18" (pointer_expression "*pbVar6" * identifier) - number_literal) ])) )) (compound_statement "{\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" { (do_statement "do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);" do (compound_statement "{\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    }" { (expression_statement "pbVar4 = pbVar5 + 1;" (assignment_expression "pbVar4 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        return CONCAT44(1,pbVar5);\n      }" { (return_statement "return CONCAT44(1,pbVar5);" return (call_expression "CONCAT44(1,pbVar5)" identifier (argument_list "(1,pbVar5)" ( number_literal , identifier ))) ;) })) (expression_statement "pbVar1 = pbVar6 + 1;" (assignment_expression "pbVar1 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" identifier = (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" identifier = identifier) ;) }) while (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18])" ( (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" identifier [ (binary_expression "uVar7 - 0x3c18" identifier - number_literal) ]) == (subscript_expression "PTR_DAT_00190b94[*pbVar1 - 0x3c18]" identifier [ (binary_expression "*pbVar1 - 0x3c18" (pointer_expression "*pbVar1" * identifier) - number_literal) ])) )) ;) })) (return_statement "return ZEXT48(pbVar4);" return (call_expression "ZEXT48(pbVar4)" identifier (argument_list "(pbVar4)" ( 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) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) - LIT) ])) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) })) (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)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) - LIT) ])) )) ;) })) (return_statement return (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "ulonglong FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" (type_identifier "ulonglong") (function_declarator "FUN_0009a91c(int *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0009a91c") (parameter_list "(int *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  uint uVar7;\n  \n  puVar2 = (undefined4 *)FUN_00099d8c();\n  if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }\n  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);\n  if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }\n  pbVar4 = (byte *)*puVar2;\n  pbVar6 = (byte *)*puVar3;\n  uVar7 = (uint)*pbVar4;\n  pbVar5 = pbVar4;\n  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }\n  return ZEXT48(pbVar4);\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (expression_statement "puVar2 = (undefined4 *)FUN_00099d8c();" (assignment_expression "puVar2 = (undefined4 *)FUN_00099d8c()" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)FUN_00099d8c()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00099d8c()" (identifier "FUN_00099d8c") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined4 *)0x0) {\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined4 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = *(undefined4 **)(*param_1 + 8);\n  }" ({ "{") (expression_statement "puVar2 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar2 = *(undefined4 **)(*param_1 + 8)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);" (assignment_expression "puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_00099d8c(param_1,param_3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00099d8c(param_1,param_3)" (identifier "FUN_00099d8c") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))))) (; ";")) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar3 = *(undefined4 **)(*param_1 + 8);\n  }" ({ "{") (expression_statement "puVar3 = *(undefined4 **)(*param_1 + 8);" (assignment_expression "puVar3 = *(undefined4 **)(*param_1 + 8)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "pbVar4 = (byte *)*puVar2;" (assignment_expression "pbVar4 = (byte *)*puVar2" (identifier "pbVar4") (= "=") (cast_expression "(byte *)*puVar2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "pbVar6 = (byte *)*puVar3;" (assignment_expression "pbVar6 = (byte *)*puVar3" (identifier "pbVar6") (= "=") (cast_expression "(byte *)*puVar3" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" (identifier "uVar7") (= "=") (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" (identifier "pbVar5") (= "=") (identifier "pbVar4")) (; ";")) (if_statement "if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" (if "if") (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18])" (( "(") (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" (identifier "PTR_DAT_00190b94") ([ "[") (binary_expression "uVar7 - 0x3c18" (identifier "uVar7") (- "-") (number_literal "0x3c18")) (] "]")) (== "==") (subscript_expression "PTR_DAT_00190b94[*pbVar6 - 0x3c18]" (identifier "PTR_DAT_00190b94") ([ "[") (binary_expression "*pbVar6 - 0x3c18" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (- "-") (number_literal "0x3c18")) (] "]"))) () ")")) (compound_statement "{\n    do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);\n  }" ({ "{") (do_statement "do {\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);" (do "do") (compound_statement "{\n      pbVar4 = pbVar5 + 1;\n      if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }\n      pbVar1 = pbVar6 + 1;\n      uVar7 = (uint)*pbVar4;\n      pbVar6 = pbVar6 + 1;\n      pbVar5 = pbVar4;\n    }" ({ "{") (expression_statement "pbVar4 = pbVar5 + 1;" (assignment_expression "pbVar4 = pbVar5 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar7 == 0) {\n        return CONCAT44(1,pbVar5);\n      }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return CONCAT44(1,pbVar5);\n      }" ({ "{") (return_statement "return CONCAT44(1,pbVar5);" (return "return") (call_expression "CONCAT44(1,pbVar5)" (identifier "CONCAT44") (argument_list "(1,pbVar5)" (( "(") (number_literal "1") (, ",") (identifier "pbVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "pbVar1 = pbVar6 + 1;" (assignment_expression "pbVar1 = pbVar6 + 1" (identifier "pbVar1") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = (uint)*pbVar4;" (assignment_expression "uVar7 = (uint)*pbVar4" (identifier "uVar7") (= "=") (binary_expression "(uint)*pbVar4" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar4"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar5 = pbVar4;" (assignment_expression "pbVar5 = pbVar4" (identifier "pbVar5") (= "=") (identifier "pbVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18])" (( "(") (binary_expression "PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]" (subscript_expression "PTR_DAT_00190b94[uVar7 - 0x3c18]" (identifier "PTR_DAT_00190b94") ([ "[") (binary_expression "uVar7 - 0x3c18" (identifier "uVar7") (- "-") (number_literal "0x3c18")) (] "]")) (== "==") (subscript_expression "PTR_DAT_00190b94[*pbVar1 - 0x3c18]" (identifier "PTR_DAT_00190b94") ([ "[") (binary_expression "*pbVar1 - 0x3c18" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (- "-") (number_literal "0x3c18")) (] "]"))) () ")")) (; ";")) (} "}"))) (return_statement "return ZEXT48(pbVar4);" (return "return") (call_expression "ZEXT48(pbVar4)" (identifier "ZEXT48") (argument_list "(pbVar4)" (( "(") (identifier "pbVar4") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *pParse,type_2 *pE1,type_2 *pE2)

{
  type_3 *pbVar1;
  type_4 *var_2;
  type_4 *var_3;
  type_3 *var_4;
  type_3 *var_6;
  type_5 var_5;
  
  var_2 = var_1(pParse,pE1);
  if (var_2 == (type_4 *)0x0) {
    var_2 = pParse->db->pDfltColl;
  }
  var_3 = var_1(pParse,pE2);
  if (var_3 == (type_4 *)0x0) {
    var_3 = pParse->db->pDfltColl;
  }
  var_4 = (type_3 *)var_2->zName;
  var_6 = (type_3 *)var_3->zName;
  var_5 = (type_5)*var_4;
  if (PTR_DAT_00190b94[var_5 - 0x3c18] == PTR_DAT_00190b94[*var_6 - 0x3c18]) {
    do {
      var_4 = var_4 + 1;
      if (var_5 == 0) {
        return 1;
      }
      pbVar1 = var_6 + 1;
      var_5 = (type_5)*var_4;
      var_6 = var_6 + 1;
    } while (PTR_DAT_00190b94[var_5 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);
  }
  return 0;
}


(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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement 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))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) 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)))))))) (return_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))

ulonglong MASKED(int *param_1,undefined4 param_2,undefined4 param_3)

{
  byte *pbVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  byte *pbVar4;
  byte *pbVar5;
  byte *pbVar6;
  uint uVar7;
  
  puVar2 = (undefined4 *)FUN_00099d8c();
  if (puVar2 == (undefined4 *)0x0) {
    puVar2 = *(undefined4 **)(*param_1 + 8);
  }
  puVar3 = (undefined4 *)FUN_00099d8c(param_1,param_3);
  if (puVar3 == (undefined4 *)0x0) {
    puVar3 = *(undefined4 **)(*param_1 + 8);
  }
  pbVar4 = (byte *)*puVar2;
  pbVar6 = (byte *)*puVar3;
  uVar7 = (uint)*pbVar4;
  pbVar5 = pbVar4;
  if (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar6 - 0x3c18]) {
    do {
      pbVar4 = pbVar5 + 1;
      if (uVar7 == 0) {
        return CONCAT44(1,pbVar5);
      }
      pbVar1 = pbVar6 + 1;
      uVar7 = (uint)*pbVar4;
      pbVar6 = pbVar6 + 1;
      pbVar5 = pbVar4;
    } while (PTR_DAT_00190b94[uVar7 - 0x3c18] == PTR_DAT_00190b94[*pbVar1 - 0x3c18]);
  }
  return ZEXT48(pbVar4);
}

