
void sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)

{
  int iVar1;
  SrcList_item *pSVar2;
  int iVar3;
  
  if (pList != (SrcList *)0x0) {
    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {
      iVar3 = 0;
      pSVar2 = pList->a;
      do {
        iVar1 = pParse->nTab;
        iVar3 = iVar3 + 1;
        pParse->nTab = iVar1 + 1;
        pSVar2->iCursor = iVar1;
        if (pSVar2->pSelect != (Select *)0x0) {
          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);
        }
      } while ((iVar3 < pList->nSrc) &&
              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));
    }
    return;
  }
  return;
}



void FUN_00042488(int param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  
  if (param_2 != (int *)0x0) {
    if ((0 < *param_2) && (param_2[0xc] < 0)) {
      iVar4 = 0;
      piVar3 = param_2 + 2;
      do {
        iVar2 = *(int *)(param_1 + 0x28);
        iVar4 = iVar4 + 1;
        *(int *)(param_1 + 0x28) = iVar2 + 1;
        piVar3[10] = iVar2;
        if (piVar3[5] != 0) {
          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));
        }
      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));
    }
    return;
  }
  return;
}


lui gp,0x15
addiu gp,gp,0x6498
addu gp,gp,t9
beq a1,zero,0x00042550
_nop
addiu sp,sp,-0x30
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
lw v0,0x0(a1)
blez v0,0x00042530
_addiu s0,a1,0x8
lw v0,0x30(a1)
bgez v0,0x00042530
_lw s4,-0x7de0(gp)
or s2,zero,zero
or s1,a0,zero
or s3,a1,zero
addiu s4,s4,0x2488
lw v0,0x28(s1)
addiu s2,s2,0x1
addiu s0,s0,0x48
addiu v1,v0,0x1
sw v1,0x28(s1)
sw v0,-0x20(s0)
lw v0,-0x34(s0)
beq v0,zero,0x00042514
_or a0,s1,zero
or t9,s4,zero
bal 0x00042488
_lw a1,0x20(v0)
lw v0,0x0(s3)
slt v0,s2,v0
beq v0,zero,0x00042534
_lw ra,0x2c(sp)
lw v0,0x28(s0)
bltz v0,0x000424e4
_nop
lw ra,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,0x30
jr ra
_nop
(translation_unit "void FUN_00042488(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00042488(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00042488(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" { (if_statement "if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" if (parenthesized_expression "((0 < *param_2) && (param_2[0xc] < 0))" ( (binary_expression "(0 < *param_2) && (param_2[0xc] < 0)" (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(param_2[0xc] < 0)" ( (binary_expression "param_2[0xc] < 0" (subscript_expression "param_2[0xc]" identifier [ number_literal ]) < number_literal) ))) )) (compound_statement "{\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = param_2 + 2;" (assignment_expression "piVar3 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (do_statement "do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));" do (compound_statement "{\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar2 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar2 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[10] = iVar2;" (assignment_expression "piVar3[10] = iVar2" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" if (parenthesized_expression "(piVar3[5] != 0)" ( (binary_expression "piVar3[5] != 0" (subscript_expression "piVar3[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" { (expression_statement "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));" (call_expression "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20))" identifier (argument_list "(param_1,*(undefined4 *)(piVar3[5] + 0x20))" ( identifier , (pointer_expression "*(undefined4 *)(piVar3[5] + 0x20)" * (cast_expression "(undefined4 *)(piVar3[5] + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[5] + 0x20)" ( (binary_expression "piVar3[5] + 0x20" (subscript_expression "piVar3[5]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) }) while (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0))" ( (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" ( (comma_expression "piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1c" identifier = (binary_expression "piVar3 + 0x1c" identifier + number_literal)) , (comma_expression "piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x12" identifier = (binary_expression "piVar3 + 0x12" identifier + number_literal)) , (binary_expression "*piVar1 < 0" (pointer_expression "*piVar1" * identifier) < number_literal))) ))) )) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)\n\n{\n  int iVar1;\n  SrcList_item *pSVar2;\n  int iVar3;\n  \n  if (pList != (SrcList *)0x0) {\n    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)\n\n{\n  int iVar1;\n  SrcList_item *pSVar2;\n  int iVar3;\n  \n  if (pList != (SrcList *)0x0) {\n    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)" identifier (parameter_list "(Parse *pParse,SrcList *pList)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "SrcList *pList" type_identifier (pointer_declarator "*pList" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  SrcList_item *pSVar2;\n  int iVar3;\n  \n  if (pList != (SrcList *)0x0) {\n    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "SrcList_item *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (pList != (SrcList *)0x0) {\n    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }\n    return;\n  }" if (parenthesized_expression "(pList != (SrcList *)0x0)" ( (binary_expression "pList != (SrcList *)0x0" identifier != (cast_expression "(SrcList *)0x0" ( (type_descriptor "SrcList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }\n    return;\n  }" { (if_statement "if ((0 < pList->nSrc) && (pList->a[0].iCursor < 0)) {\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }" if (parenthesized_expression "((0 < pList->nSrc) && (pList->a[0].iCursor < 0))" ( (binary_expression "(0 < pList->nSrc) && (pList->a[0].iCursor < 0)" (parenthesized_expression "(0 < pList->nSrc)" ( (binary_expression "0 < pList->nSrc" number_literal < (field_expression "pList->nSrc" identifier -> field_identifier)) )) && (parenthesized_expression "(pList->a[0].iCursor < 0)" ( (binary_expression "pList->a[0].iCursor < 0" (field_expression "pList->a[0].iCursor" (subscript_expression "pList->a[0]" (field_expression "pList->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) < number_literal) ))) )) (compound_statement "{\n      iVar3 = 0;\n      pSVar2 = pList->a;\n      do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "pSVar2 = pList->a;" (assignment_expression "pSVar2 = pList->a" identifier = (field_expression "pList->a" identifier -> field_identifier)) ;) (do_statement "do {\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      } while ((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));" do (compound_statement "{\n        iVar1 = pParse->nTab;\n        iVar3 = iVar3 + 1;\n        pParse->nTab = iVar1 + 1;\n        pSVar2->iCursor = iVar1;\n        if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }\n      }" { (expression_statement "iVar1 = pParse->nTab;" (assignment_expression "iVar1 = pParse->nTab" identifier = (field_expression "pParse->nTab" identifier -> field_identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "pParse->nTab = iVar1 + 1;" (assignment_expression "pParse->nTab = iVar1 + 1" (field_expression "pParse->nTab" identifier -> field_identifier) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "pSVar2->iCursor = iVar1;" (assignment_expression "pSVar2->iCursor = iVar1" (field_expression "pSVar2->iCursor" identifier -> field_identifier) = identifier) ;) (if_statement "if (pSVar2->pSelect != (Select *)0x0) {\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }" if (parenthesized_expression "(pSVar2->pSelect != (Select *)0x0)" ( (binary_expression "pSVar2->pSelect != (Select *)0x0" (field_expression "pSVar2->pSelect" identifier -> field_identifier) != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n        }" { (expression_statement "sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);" (call_expression "sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc)" identifier (argument_list "(pParse,pSVar2->pSelect->pSrc)" ( identifier , (field_expression "pSVar2->pSelect->pSrc" (field_expression "pSVar2->pSelect" identifier -> field_identifier) -> field_identifier) ))) ;) })) }) while (parenthesized_expression "((iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0))" ( (binary_expression "(iVar3 < pList->nSrc) &&\n              (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0)" (parenthesized_expression "(iVar3 < pList->nSrc)" ( (binary_expression "iVar3 < pList->nSrc" identifier < (field_expression "pList->nSrc" identifier -> field_identifier)) )) && (parenthesized_expression "(iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0)" ( (comma_expression "iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0" (assignment_expression "iVar1 = (int)(pSVar2 + 1)" identifier = (cast_expression "(int)(pSVar2 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pSVar2 + 1)" ( (binary_expression "pSVar2 + 1" identifier + number_literal) )))) , (comma_expression "pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0" (assignment_expression "pSVar2 = pSVar2 + 1" identifier = (binary_expression "pSVar2 + 1" identifier + number_literal)) , (binary_expression "*(int *)(iVar1 + 0x28) < 0" (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) < number_literal))) ))) )) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00042488(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00042488(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00042488(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" { (if_statement "if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" if (parenthesized_expression "((0 < *param_2) && (param_2[0xc] < 0))" ( (binary_expression "(0 < *param_2) && (param_2[0xc] < 0)" (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(param_2[0xc] < 0)" ( (binary_expression "param_2[0xc] < 0" (subscript_expression "param_2[0xc]" identifier [ number_literal ]) < number_literal) ))) )) (compound_statement "{\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = param_2 + 2;" (assignment_expression "piVar3 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (do_statement "do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));" do (compound_statement "{\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x28)" identifier = (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x28) = iVar2 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar2 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[10] = iVar2;" (assignment_expression "piVar3[10] = iVar2" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" if (parenthesized_expression "(piVar3[5] != 0)" ( (binary_expression "piVar3[5] != 0" (subscript_expression "piVar3[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" { (expression_statement "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));" (call_expression "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20))" identifier (argument_list "(param_1,*(undefined4 *)(piVar3[5] + 0x20))" ( identifier , (pointer_expression "*(undefined4 *)(piVar3[5] + 0x20)" * (cast_expression "(undefined4 *)(piVar3[5] + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar3[5] + 0x20)" ( (binary_expression "piVar3[5] + 0x20" (subscript_expression "piVar3[5]" identifier [ number_literal ]) + number_literal) )))) ))) ;) })) }) while (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0))" ( (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" ( (comma_expression "piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1c" identifier = (binary_expression "piVar3 + 0x1c" identifier + number_literal)) , (comma_expression "piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x12" identifier = (binary_expression "piVar3 + 0x12" identifier + number_literal)) , (binary_expression "*piVar1 < 0" (pointer_expression "*piVar1" * identifier) < number_literal))) ))) )) ;) })) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ))) ;) })) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (pointer_expression * IDENT) < LIT))) ))) )) ;) })) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00042488(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00042488(int param_1,int *param_2)" (identifier "FUN_00042488") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  \n  if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }\n    return;\n  }" ({ "{") (if_statement "if ((0 < *param_2) && (param_2[0xc] < 0)) {\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" (if "if") (parenthesized_expression "((0 < *param_2) && (param_2[0xc] < 0))" (( "(") (binary_expression "(0 < *param_2) && (param_2[0xc] < 0)" (parenthesized_expression "(0 < *param_2)" (( "(") (binary_expression "0 < *param_2" (number_literal "0") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (&& "&&") (parenthesized_expression "(param_2[0xc] < 0)" (( "(") (binary_expression "param_2[0xc] < 0" (subscript_expression "param_2[0xc]" (identifier "param_2") ([ "[") (number_literal "0xc") (] "]")) (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      iVar4 = 0;\n      piVar3 = param_2 + 2;\n      do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = param_2 + 2;" (assignment_expression "piVar3 = param_2 + 2" (identifier "piVar3") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));" (do "do") (compound_statement "{\n        iVar2 = *(int *)(param_1 + 0x28);\n        iVar4 = iVar4 + 1;\n        *(int *)(param_1 + 0x28) = iVar2 + 1;\n        piVar3[10] = iVar2;\n        if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(param_1 + 0x28);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x28)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x28) = iVar2 + 1;" (assignment_expression "*(int *)(param_1 + 0x28) = iVar2 + 1" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3[10] = iVar2;" (assignment_expression "piVar3[10] = iVar2" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (piVar3[5] != 0) {\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" (if "if") (parenthesized_expression "(piVar3[5] != 0)" (( "(") (binary_expression "piVar3[5] != 0" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));\n        }" ({ "{") (expression_statement "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20));" (call_expression "FUN_00042488(param_1,*(undefined4 *)(piVar3[5] + 0x20))" (identifier "FUN_00042488") (argument_list "(param_1,*(undefined4 *)(piVar3[5] + 0x20))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(piVar3[5] + 0x20)" (* "*") (cast_expression "(undefined4 *)(piVar3[5] + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar3[5] + 0x20)" (( "(") (binary_expression "piVar3[5] + 0x20" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0))" (( "(") (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" (parenthesized_expression "(iVar4 < *param_2)" (( "(") (binary_expression "iVar4 < *param_2" (identifier "iVar4") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (&& "&&") (parenthesized_expression "(piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0)" (( "(") (comma_expression "piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1c" (identifier "piVar1") (= "=") (binary_expression "piVar3 + 0x1c" (identifier "piVar3") (+ "+") (number_literal "0x1c"))) (, ",") (comma_expression "piVar3 = piVar3 + 0x12, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x12" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 0x12" (identifier "piVar3") (+ "+") (number_literal "0x12"))) (, ",") (binary_expression "*piVar1 < 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (< "<") (number_literal "0")))) () ")"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pParse,type_2 *var_1)

{
  int var_3;
  type_3 *var_4;
  int var_2;
  
  if (var_1 != (type_2 *)0x0) {
    if ((0 < var_1->nSrc) && (var_1->a[0].iCursor < 0)) {
      var_2 = 0;
      var_4 = var_1->a;
      do {
        var_3 = pParse->nTab;
        var_2 = var_2 + 1;
        pParse->nTab = var_3 + 1;
        var_4->iCursor = var_3;
        if (var_4->pSelect != (type_4 *)0x0) {
          function_1(pParse,var_4->pSelect->pSrc);
        }
      } while ((var_2 < var_1->nSrc) &&
              (var_3 = (int)(var_4 + 1), var_4 = var_4 + 1, *(int *)(var_3 + 0x28) < 0));
    }
    return;
  }
  return;
}


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

void MASKED(int param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  
  if (param_2 != (int *)0x0) {
    if ((0 < *param_2) && (param_2[0xc] < 0)) {
      iVar4 = 0;
      piVar3 = param_2 + 2;
      do {
        iVar2 = *(int *)(param_1 + 0x28);
        iVar4 = iVar4 + 1;
        *(int *)(param_1 + 0x28) = iVar2 + 1;
        piVar3[10] = iVar2;
        if (piVar3[5] != 0) {
          MASKED(param_1,*(undefined4 *)(piVar3[5] + 0x20));
        }
      } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1c, piVar3 = piVar3 + 0x12, *piVar1 < 0));
    }
    return;
  }
  return;
}

