
KeyInfo * sqlite3KeyInfoFromExprList(Parse *pParse,ExprList *pList,int iStart,int nExtra)

{
  KeyInfo *pKVar1;
  CollSeq *pCVar2;
  u8 *puVar3;
  ExprList_item *pEVar4;
  int iVar5;
  int iVar6;
  CollSeq **ppCVar7;
  
  iVar5 = pList->nExpr;
  iVar6 = iVar5 - iStart;
  pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1);
  if ((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)) {
    iVar5 = 0;
    pEVar4 = pList->a + iStart;
    ppCVar7 = pKVar1->aColl;
    do {
      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {
        *ppCVar7 = pParse->db->pDfltColl;
        puVar3 = pKVar1->aSortOrder + iVar5;
        iVar5 = iVar5 + 1;
        *puVar3 = pEVar4->sortOrder;
        pEVar4 = pEVar4 + 1;
        ppCVar7 = ppCVar7 + 1;
        if (iVar5 == iVar6) {
          return pKVar1;
        }
      }
      *ppCVar7 = pCVar2;
      puVar3 = pKVar1->aSortOrder + iVar5;
      iVar5 = iVar5 + 1;
      *puVar3 = pEVar4->sortOrder;
      pEVar4 = pEVar4 + 1;
      ppCVar7 = ppCVar7 + 1;
    } while (iVar5 != iVar6);
  }
  return pKVar1;
}



int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)

{
  int iVar1;
  int iVar2;
  undefined1 *puVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  
  iVar5 = *param_2;
  iVar6 = iVar5 - param_3;
  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);
  if ((iVar1 != 0) && (param_3 < iVar5)) {
    iVar5 = 0;
    piVar4 = param_2 + param_3 * 5 + 1;
    piVar7 = (int *)(iVar1 + 0x14);
    do {
      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {
        *piVar7 = *(int *)(*param_1 + 8);
        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);
        iVar5 = iVar5 + 1;
        *puVar3 = *(undefined1 *)(piVar4 + 3);
        piVar4 = piVar4 + 5;
        piVar7 = piVar7 + 1;
        if (iVar5 == iVar6) {
          return iVar1;
        }
      }
      *piVar7 = iVar2;
      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);
      iVar5 = iVar5 + 1;
      *puVar3 = *(undefined1 *)(piVar4 + 3);
      piVar4 = piVar4 + 5;
      piVar7 = piVar7 + 1;
    } while (iVar5 != iVar6);
  }
  return iVar1;
}


lui gp,0x10
addiu gp,gp,-0x1ecc
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7d78(gp)
sw gp,0x10(sp)
addiu t9,t9,0x1dec
sw s6,0x30(sp)
sw s4,0x28(sp)
or s4,a2,zero
sw s3,0x24(sp)
addiu a2,a3,0x1
sw s2,0x20(sp)
or s2,a0,zero
sw s0,0x18(sp)
or s0,a1,zero
sw ra,0x34(sp)
sw s5,0x2c(sp)
sw s1,0x1c(sp)
lw s1,0x0(a1)
lw a0,0x0(a0)
subu s3,s1,s4
jalr t9
_or a1,s3,zero
lw gp,0x10(sp)
beq v0,zero,0x0009a8f0
_or s6,v0,zero
sll v0,s4,0x2
addiu s0,s0,0x4
addu v0,v0,s4
slt s1,s4,s1
sll v0,v0,0x2
beq s1,zero,0x0009a8f0
_addu s0,s0,v0
lw s5,-0x7d5c(gp)
addiu s4,s6,0x14
or s1,zero,zero
b 0x0009a8ac
_addiu s5,s5,-0x6274
addiu s4,s4,0x4
sw v0,-0x4(s4)
lw v0,0x10(s6)
addiu s0,s0,0x14
lbu v1,-0x8(s0)
addu v0,v0,s1
addiu s1,s1,0x1
beq s1,s3,0x0009a8f0
_sb v1,0x0(v0)
lw a1,0x0(s0)
or t9,s5,zero
bal 0x00099d8c
_or a0,s2,zero
bne v0,zero,0x0009a888
_nop
lw v0,0x0(s2)
addiu s4,s4,0x4
addiu s0,s0,0x14
lw v0,0x8(v0)
sw v0,-0x4(s4)
lw v0,0x10(s6)
lbu v1,-0x8(s0)
addu v0,v0,s1
addiu s1,s1,0x1
bne s1,s3,0x0009a8ac
_sb v1,0x0(v0)
lw ra,0x34(sp)
or v0,s6,zero
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar6 = iVar5 - param_3;" (assignment_expression "iVar6 = iVar5 - param_3" identifier = (binary_expression "iVar5 - param_3" identifier - identifier)) ;) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x1dec)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x1dec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x1dec)" ( (binary_expression "PTR_LAB_00190ba8 + 0x1dec" identifier + number_literal) )))) )) (argument_list "(*param_1,iVar6,param_4 + 1)" ( (pointer_expression "*param_1" * identifier) , identifier , (binary_expression "param_4 + 1" identifier + number_literal) )))) ;) (if_statement "if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" if (parenthesized_expression "((iVar1 != 0) && (param_3 < iVar5))" ( (binary_expression "(iVar1 != 0) && (param_3 < iVar5)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 < iVar5)" ( (binary_expression "param_3 < iVar5" identifier < identifier) ))) )) (compound_statement "{\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = param_2 + param_3 * 5 + 1;" (assignment_expression "piVar4 = param_2 + param_3 * 5 + 1" identifier = (binary_expression "param_2 + param_3 * 5 + 1" (binary_expression "param_2 + param_3 * 5" identifier + (binary_expression "param_3 * 5" identifier * number_literal)) + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar1 + 0x14);" (assignment_expression "piVar7 = (int *)(iVar1 + 0x14)" identifier = (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) ;) (do_statement "do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);" do (compound_statement "{\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    }" { (while_statement "while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" while (parenthesized_expression "(iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0" (assignment_expression "iVar2 = FUN_00099d8c(param_1,*piVar4)" identifier = (call_expression "FUN_00099d8c(param_1,*piVar4)" identifier (argument_list "(param_1,*piVar4)" ( identifier , (pointer_expression "*piVar4" * identifier) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" { (expression_statement "*piVar7 = *(int *)(*param_1 + 8);" (assignment_expression "*piVar7 = *(int *)(*param_1 + 8)" (pointer_expression "*piVar7" * identifier) = (pointer_expression "*(int *)(*param_1 + 8)" * (cast_expression "(int *)(*param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*(undefined1 *)(piVar4 + 3)" * (cast_expression "(undefined1 *)(piVar4 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 3)" ( (binary_expression "piVar4 + 3" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" identifier = (binary_expression "piVar4 + 5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == iVar6) {\n          return iVar1;\n        }" if (parenthesized_expression "(iVar5 == iVar6)" ( (binary_expression "iVar5 == iVar6" identifier == identifier) )) (compound_statement "{\n          return iVar1;\n        }" { (return_statement "return iVar1;" return identifier ;) })) })) (expression_statement "*piVar7 = iVar2;" (assignment_expression "*piVar7 = iVar2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*(undefined1 *)(piVar4 + 3)" * (cast_expression "(undefined1 *)(piVar4 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 3)" ( (binary_expression "piVar4 + 3" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" identifier = (binary_expression "piVar4 + 5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar6)" ( (binary_expression "iVar5 != iVar6" identifier != identifier) )) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "KeyInfo * sqlite3KeyInfoFromExprList(Parse *pParse,ExprList *pList,int iStart,int nExtra)\n\n{\n  KeyInfo *pKVar1;\n  CollSeq *pCVar2;\n  u8 *puVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  int iVar6;\n  CollSeq **ppCVar7;\n  \n  iVar5 = pList->nExpr;\n  iVar6 = iVar5 - iStart;\n  pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1);\n  if ((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)) {\n    iVar5 = 0;\n    pEVar4 = pList->a + iStart;\n    ppCVar7 = pKVar1->aColl;\n    do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return pKVar1;\n}\n\n" (function_definition "KeyInfo * sqlite3KeyInfoFromExprList(Parse *pParse,ExprList *pList,int iStart,int nExtra)\n\n{\n  KeyInfo *pKVar1;\n  CollSeq *pCVar2;\n  u8 *puVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  int iVar6;\n  CollSeq **ppCVar7;\n  \n  iVar5 = pList->nExpr;\n  iVar6 = iVar5 - iStart;\n  pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1);\n  if ((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)) {\n    iVar5 = 0;\n    pEVar4 = pList->a + iStart;\n    ppCVar7 = pKVar1->aColl;\n    do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return pKVar1;\n}" type_identifier (pointer_declarator "* sqlite3KeyInfoFromExprList(Parse *pParse,ExprList *pList,int iStart,int nExtra)" * (function_declarator "sqlite3KeyInfoFromExprList(Parse *pParse,ExprList *pList,int iStart,int nExtra)" identifier (parameter_list "(Parse *pParse,ExprList *pList,int iStart,int nExtra)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "ExprList *pList" type_identifier (pointer_declarator "*pList" * identifier)) , (parameter_declaration "int iStart" primitive_type identifier) , (parameter_declaration "int nExtra" primitive_type identifier) )))) (compound_statement "{\n  KeyInfo *pKVar1;\n  CollSeq *pCVar2;\n  u8 *puVar3;\n  ExprList_item *pEVar4;\n  int iVar5;\n  int iVar6;\n  CollSeq **ppCVar7;\n  \n  iVar5 = pList->nExpr;\n  iVar6 = iVar5 - iStart;\n  pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1);\n  if ((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)) {\n    iVar5 = 0;\n    pEVar4 = pList->a + iStart;\n    ppCVar7 = pKVar1->aColl;\n    do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return pKVar1;\n}" { (declaration "KeyInfo *pKVar1;" type_identifier (pointer_declarator "*pKVar1" * identifier) ;) (declaration "CollSeq *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (declaration "u8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ExprList_item *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "CollSeq **ppCVar7;" type_identifier (pointer_declarator "**ppCVar7" * (pointer_declarator "*ppCVar7" * identifier)) ;) (expression_statement "iVar5 = pList->nExpr;" (assignment_expression "iVar5 = pList->nExpr" identifier = (field_expression "pList->nExpr" identifier -> field_identifier)) ;) (expression_statement "iVar6 = iVar5 - iStart;" (assignment_expression "iVar6 = iVar5 - iStart" identifier = (binary_expression "iVar5 - iStart" identifier - identifier)) ;) (expression_statement "pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1);" (assignment_expression "pKVar1 = (KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1)" identifier = (cast_expression "(KeyInfo *)(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1)" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(pParse->db,iVar6,nExtra + 1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x1dec)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x1dec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x1dec)" ( (binary_expression "PTR_LAB_00190ba8 + 0x1dec" identifier + number_literal) )))) )) (argument_list "(pParse->db,iVar6,nExtra + 1)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , (binary_expression "nExtra + 1" identifier + number_literal) ))))) ;) (if_statement "if ((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)) {\n    iVar5 = 0;\n    pEVar4 = pList->a + iStart;\n    ppCVar7 = pKVar1->aColl;\n    do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" if (parenthesized_expression "((pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5))" ( (binary_expression "(pKVar1 != (KeyInfo *)0x0) && (iStart < iVar5)" (parenthesized_expression "(pKVar1 != (KeyInfo *)0x0)" ( (binary_expression "pKVar1 != (KeyInfo *)0x0" identifier != (cast_expression "(KeyInfo *)0x0" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iStart < iVar5)" ( (binary_expression "iStart < iVar5" identifier < identifier) ))) )) (compound_statement "{\n    iVar5 = 0;\n    pEVar4 = pList->a + iStart;\n    ppCVar7 = pKVar1->aColl;\n    do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "pEVar4 = pList->a + iStart;" (assignment_expression "pEVar4 = pList->a + iStart" identifier = (binary_expression "pList->a + iStart" (field_expression "pList->a" identifier -> field_identifier) + identifier)) ;) (expression_statement "ppCVar7 = pKVar1->aColl;" (assignment_expression "ppCVar7 = pKVar1->aColl" identifier = (field_expression "pKVar1->aColl" identifier -> field_identifier)) ;) (do_statement "do {\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    } while (iVar5 != iVar6);" do (compound_statement "{\n      while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }\n      *ppCVar7 = pCVar2;\n      puVar3 = pKVar1->aSortOrder + iVar5;\n      iVar5 = iVar5 + 1;\n      *puVar3 = pEVar4->sortOrder;\n      pEVar4 = pEVar4 + 1;\n      ppCVar7 = ppCVar7 + 1;\n    }" { (while_statement "while (pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0) {\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }" while (parenthesized_expression "(pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0)" ( (comma_expression "pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr), pCVar2 == (CollSeq *)0x0" (assignment_expression "pCVar2 = sqlite3ExprCollSeq(pParse,pEVar4->pExpr)" identifier = (call_expression "sqlite3ExprCollSeq(pParse,pEVar4->pExpr)" identifier (argument_list "(pParse,pEVar4->pExpr)" ( identifier , (field_expression "pEVar4->pExpr" identifier -> field_identifier) )))) , (binary_expression "pCVar2 == (CollSeq *)0x0" identifier == (cast_expression "(CollSeq *)0x0" ( (type_descriptor "CollSeq *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        *ppCVar7 = pParse->db->pDfltColl;\n        puVar3 = pKVar1->aSortOrder + iVar5;\n        iVar5 = iVar5 + 1;\n        *puVar3 = pEVar4->sortOrder;\n        pEVar4 = pEVar4 + 1;\n        ppCVar7 = ppCVar7 + 1;\n        if (iVar5 == iVar6) {\n          return pKVar1;\n        }\n      }" { (expression_statement "*ppCVar7 = pParse->db->pDfltColl;" (assignment_expression "*ppCVar7 = pParse->db->pDfltColl" (pointer_expression "*ppCVar7" * identifier) = (field_expression "pParse->db->pDfltColl" (field_expression "pParse->db" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar3 = pKVar1->aSortOrder + iVar5;" (assignment_expression "puVar3 = pKVar1->aSortOrder + iVar5" identifier = (binary_expression "pKVar1->aSortOrder + iVar5" (field_expression "pKVar1->aSortOrder" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = pEVar4->sortOrder;" (assignment_expression "*puVar3 = pEVar4->sortOrder" (pointer_expression "*puVar3" * identifier) = (field_expression "pEVar4->sortOrder" identifier -> field_identifier)) ;) (expression_statement "pEVar4 = pEVar4 + 1;" (assignment_expression "pEVar4 = pEVar4 + 1" identifier = (binary_expression "pEVar4 + 1" identifier + number_literal)) ;) (expression_statement "ppCVar7 = ppCVar7 + 1;" (assignment_expression "ppCVar7 = ppCVar7 + 1" identifier = (binary_expression "ppCVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == iVar6) {\n          return pKVar1;\n        }" if (parenthesized_expression "(iVar5 == iVar6)" ( (binary_expression "iVar5 == iVar6" identifier == identifier) )) (compound_statement "{\n          return pKVar1;\n        }" { (return_statement "return pKVar1;" return identifier ;) })) })) (expression_statement "*ppCVar7 = pCVar2;" (assignment_expression "*ppCVar7 = pCVar2" (pointer_expression "*ppCVar7" * identifier) = identifier) ;) (expression_statement "puVar3 = pKVar1->aSortOrder + iVar5;" (assignment_expression "puVar3 = pKVar1->aSortOrder + iVar5" identifier = (binary_expression "pKVar1->aSortOrder + iVar5" (field_expression "pKVar1->aSortOrder" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = pEVar4->sortOrder;" (assignment_expression "*puVar3 = pEVar4->sortOrder" (pointer_expression "*puVar3" * identifier) = (field_expression "pEVar4->sortOrder" identifier -> field_identifier)) ;) (expression_statement "pEVar4 = pEVar4 + 1;" (assignment_expression "pEVar4 = pEVar4 + 1" identifier = (binary_expression "pEVar4 + 1" identifier + number_literal)) ;) (expression_statement "ppCVar7 = ppCVar7 + 1;" (assignment_expression "ppCVar7 = ppCVar7 + 1" identifier = (binary_expression "ppCVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar6)" ( (binary_expression "iVar5 != iVar6" identifier != identifier) )) ;) })) (return_statement "return pKVar1;" return identifier ;) })))
(translation_unit "int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar6 = iVar5 - param_3;" (assignment_expression "iVar6 = iVar5 - param_3" identifier = (binary_expression "iVar5 - param_3" identifier - identifier)) ;) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x1dec)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x1dec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x1dec)" ( (binary_expression "PTR_LAB_00190ba8 + 0x1dec" identifier + number_literal) )))) )) (argument_list "(*param_1,iVar6,param_4 + 1)" ( (pointer_expression "*param_1" * identifier) , identifier , (binary_expression "param_4 + 1" identifier + number_literal) )))) ;) (if_statement "if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" if (parenthesized_expression "((iVar1 != 0) && (param_3 < iVar5))" ( (binary_expression "(iVar1 != 0) && (param_3 < iVar5)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_3 < iVar5)" ( (binary_expression "param_3 < iVar5" identifier < identifier) ))) )) (compound_statement "{\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = param_2 + param_3 * 5 + 1;" (assignment_expression "piVar4 = param_2 + param_3 * 5 + 1" identifier = (binary_expression "param_2 + param_3 * 5 + 1" (binary_expression "param_2 + param_3 * 5" identifier + (binary_expression "param_3 * 5" identifier * number_literal)) + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar1 + 0x14);" (assignment_expression "piVar7 = (int *)(iVar1 + 0x14)" identifier = (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) ;) (do_statement "do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);" do (compound_statement "{\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    }" { (while_statement "while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" while (parenthesized_expression "(iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0" (assignment_expression "iVar2 = FUN_00099d8c(param_1,*piVar4)" identifier = (call_expression "FUN_00099d8c(param_1,*piVar4)" identifier (argument_list "(param_1,*piVar4)" ( identifier , (pointer_expression "*piVar4" * identifier) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" { (expression_statement "*piVar7 = *(int *)(*param_1 + 8);" (assignment_expression "*piVar7 = *(int *)(*param_1 + 8)" (pointer_expression "*piVar7" * identifier) = (pointer_expression "*(int *)(*param_1 + 8)" * (cast_expression "(int *)(*param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*(undefined1 *)(piVar4 + 3)" * (cast_expression "(undefined1 *)(piVar4 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 3)" ( (binary_expression "piVar4 + 3" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" identifier = (binary_expression "piVar4 + 5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar5 == iVar6) {\n          return iVar1;\n        }" if (parenthesized_expression "(iVar5 == iVar6)" ( (binary_expression "iVar5 == iVar6" identifier == identifier) )) (compound_statement "{\n          return iVar1;\n        }" { (return_statement "return iVar1;" return identifier ;) })) })) (expression_statement "*piVar7 = iVar2;" (assignment_expression "*piVar7 = iVar2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" * identifier) = (pointer_expression "*(undefined1 *)(piVar4 + 3)" * (cast_expression "(undefined1 *)(piVar4 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 3)" ( (binary_expression "piVar4 + 3" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" identifier = (binary_expression "piVar4 + 5" identifier + number_literal)) ;) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar6)" ( (binary_expression "iVar5 != iVar6" identifier != identifier) )) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) , (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0009a7ec(int *param_1,int *param_2,int param_3,int param_4)" (identifier "FUN_0009a7ec") (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  \n  iVar5 = *param_2;\n  iVar6 = iVar5 - param_3;\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);\n  if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" (identifier "iVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar6 = iVar5 - param_3;" (assignment_expression "iVar6 = iVar5 - param_3" (identifier "iVar6") (= "=") (binary_expression "iVar5 - param_3" (identifier "iVar5") (- "-") (identifier "param_3"))) (; ";")) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x1dec))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x1dec)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x1dec)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + 0x1dec)" (( "(") (binary_expression "PTR_LAB_00190ba8 + 0x1dec" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "0x1dec")) () ")")))) () ")")) (argument_list "(*param_1,iVar6,param_4 + 1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "iVar6") (, ",") (binary_expression "param_4 + 1" (identifier "param_4") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (param_3 < iVar5)) {\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (param_3 < iVar5))" (( "(") (binary_expression "(iVar1 != 0) && (param_3 < iVar5)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_3 < iVar5)" (( "(") (binary_expression "param_3 < iVar5" (identifier "param_3") (< "<") (identifier "iVar5")) () ")"))) () ")")) (compound_statement "{\n    iVar5 = 0;\n    piVar4 = param_2 + param_3 * 5 + 1;\n    piVar7 = (int *)(iVar1 + 0x14);\n    do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4 = param_2 + param_3 * 5 + 1;" (assignment_expression "piVar4 = param_2 + param_3 * 5 + 1" (identifier "piVar4") (= "=") (binary_expression "param_2 + param_3 * 5 + 1" (binary_expression "param_2 + param_3 * 5" (identifier "param_2") (+ "+") (binary_expression "param_3 * 5" (identifier "param_3") (* "*") (number_literal "5"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar7 = (int *)(iVar1 + 0x14);" (assignment_expression "piVar7 = (int *)(iVar1 + 0x14)" (identifier "piVar7") (= "=") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (do_statement "do {\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    } while (iVar5 != iVar6);" (do "do") (compound_statement "{\n      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }\n      *piVar7 = iVar2;\n      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n      iVar5 = iVar5 + 1;\n      *puVar3 = *(undefined1 *)(piVar4 + 3);\n      piVar4 = piVar4 + 5;\n      piVar7 = piVar7 + 1;\n    }" ({ "{") (while_statement "while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" (while "while") (parenthesized_expression "(iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0" (assignment_expression "iVar2 = FUN_00099d8c(param_1,*piVar4)" (identifier "iVar2") (= "=") (call_expression "FUN_00099d8c(param_1,*piVar4)" (identifier "FUN_00099d8c") (argument_list "(param_1,*piVar4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n        *piVar7 = *(int *)(*param_1 + 8);\n        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);\n        iVar5 = iVar5 + 1;\n        *puVar3 = *(undefined1 *)(piVar4 + 3);\n        piVar4 = piVar4 + 5;\n        piVar7 = piVar7 + 1;\n        if (iVar5 == iVar6) {\n          return iVar1;\n        }\n      }" ({ "{") (expression_statement "*piVar7 = *(int *)(*param_1 + 8);" (assignment_expression "*piVar7 = *(int *)(*param_1 + 8)" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (pointer_expression "*(int *)(*param_1 + 8)" (* "*") (cast_expression "(int *)(*param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (pointer_expression "*(undefined1 *)(piVar4 + 3)" (* "*") (cast_expression "(undefined1 *)(piVar4 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 3)" (( "(") (binary_expression "piVar4 + 3" (identifier "piVar4") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" (identifier "piVar4") (= "=") (binary_expression "piVar4 + 5" (identifier "piVar4") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar5 == iVar6) {\n          return iVar1;\n        }" (if "if") (parenthesized_expression "(iVar5 == iVar6)" (( "(") (binary_expression "iVar5 == iVar6" (identifier "iVar5") (== "==") (identifier "iVar6")) () ")")) (compound_statement "{\n          return iVar1;\n        }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}"))) (expression_statement "*piVar7 = iVar2;" (assignment_expression "*piVar7 = iVar2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + iVar5)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar3 = *(undefined1 *)(piVar4 + 3);" (assignment_expression "*puVar3 = *(undefined1 *)(piVar4 + 3)" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (pointer_expression "*(undefined1 *)(piVar4 + 3)" (* "*") (cast_expression "(undefined1 *)(piVar4 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 3)" (( "(") (binary_expression "piVar4 + 3" (identifier "piVar4") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "piVar4 = piVar4 + 5;" (assignment_expression "piVar4 = piVar4 + 5" (identifier "piVar4") (= "=") (binary_expression "piVar4 + 5" (identifier "piVar4") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != iVar6)" (( "(") (binary_expression "iVar5 != iVar6" (identifier "iVar5") (!= "!=") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse,type_3 *pList,int var_2,int var_4)

{
  type_1 *var_5;
  type_4 *var_7;
  type_5 *puVar3;
  type_6 *var_8;
  int var_1;
  int var_10;
  type_4 **var_9;
  
  var_1 = pList->nExpr;
  var_10 = var_1 - var_2;
  var_5 = (type_1 *)(*(type_7 *)(var_3 + 0x1dec))(pParse->db,var_10,var_4 + 1);
  if ((var_5 != (type_1 *)0x0) && (var_2 < var_1)) {
    var_1 = 0;
    var_8 = pList->a + var_2;
    var_9 = var_5->aColl;
    do {
      while (var_7 = var_6(pParse,var_8->pExpr), var_7 == (type_4 *)0x0) {
        *var_9 = pParse->db->pDfltColl;
        puVar3 = var_5->aSortOrder + var_1;
        var_1 = var_1 + 1;
        *puVar3 = var_8->sortOrder;
        var_8 = var_8 + 1;
        var_9 = var_9 + 1;
        if (var_1 == var_10) {
          return var_5;
        }
      }
      *var_9 = var_7;
      puVar3 = var_5->aSortOrder + var_1;
      var_1 = var_1 + 1;
      *puVar3 = var_8->sortOrder;
      var_8 = var_8 + 1;
      var_9 = var_9 + 1;
    } while (var_1 != var_10);
  }
  return var_5;
}


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

int MASKED(int *param_1,int *param_2,int param_3,int param_4)

{
  int iVar1;
  int iVar2;
  undefined1 *puVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  
  iVar5 = *param_2;
  iVar6 = iVar5 - param_3;
  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x1dec))(*param_1,iVar6,param_4 + 1);
  if ((iVar1 != 0) && (param_3 < iVar5)) {
    iVar5 = 0;
    piVar4 = param_2 + param_3 * 5 + 1;
    piVar7 = (int *)(iVar1 + 0x14);
    do {
      while (iVar2 = FUN_00099d8c(param_1,*piVar4), iVar2 == 0) {
        *piVar7 = *(int *)(*param_1 + 8);
        puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);
        iVar5 = iVar5 + 1;
        *puVar3 = *(undefined1 *)(piVar4 + 3);
        piVar4 = piVar4 + 5;
        piVar7 = piVar7 + 1;
        if (iVar5 == iVar6) {
          return iVar1;
        }
      }
      *piVar7 = iVar2;
      puVar3 = (undefined1 *)(*(int *)(iVar1 + 0x10) + iVar5);
      iVar5 = iVar5 + 1;
      *puVar3 = *(undefined1 *)(piVar4 + 3);
      piVar4 = piVar4 + 5;
      piVar7 = piVar7 + 1;
    } while (iVar5 != iVar6);
  }
  return iVar1;
}

