
void __regparm3 sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)

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



void __regparm3 FUN_00020360(int param_1,int *param_2)

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


TEST EDX,EDX
JZ 0x000203c0
MOV ECX,dword ptr [EDX]
TEST ECX,ECX
JLE 0x000203c0
MOV ECX,dword ptr [EDX + 0x30]
TEST ECX,ECX
JNS 0x000203c0
PUSH EBP
PUSH EDI
XOR EBP,EBP
PUSH ESI
PUSH EBX
LEA EBX,[EDX + 0x8]
MOV ESI,EDX
MOV EDI,EAX
SUB ESP,0xc
MOV EAX,dword ptr [EDI + 0x28]
LEA EDX,[EAX + 0x1]
MOV dword ptr [EDI + 0x28],EDX
MOV dword ptr [EBX + 0x28],EAX
MOV EAX,dword ptr [EBX + 0x14]
TEST EAX,EAX
JNZ 0x000203b0
ADD EBP,0x1
ADD EBX,0x44
CMP dword ptr [ESI],EBP
JLE 0x000203a5
MOV EAX,dword ptr [EBX + 0x28]
TEST EAX,EAX
JS 0x00020381
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EAX + 0x20]
MOV EAX,EDI
CALL 0x00020360
JMP 0x00020394
RET
(translation_unit "void __regparm3 FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }" if (parenthesized_expression "(((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0))" ( (binary_expression "((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0)" (parenthesized_expression "((param_2 != (int *)0x0) && (0 < *param_2))" ( (binary_expression "(param_2 != (int *)0x0) && (0 < *param_2)" (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)) )) && (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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));" do (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\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 "*(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_00020360();\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_00020360();\n      }" { (expression_statement "FUN_00020360();" (call_expression "FUN_00020360()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0))" ( (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0)" (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0)" ( (comma_expression "piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1b" identifier = (binary_expression "piVar3 + 0x1b" identifier + number_literal)) , (comma_expression "piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x11" identifier = (binary_expression "piVar3 + 0x11" identifier + number_literal)) , (binary_expression "*piVar1 < 0" (pointer_expression "*piVar1" * identifier) < number_literal))) ))) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)\n\n{\n  int iVar1;\n  SrcList_item *pSVar2;\n  int iVar3;\n  \n  if (((pList != (SrcList *)0x0) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0)) {\n    iVar3 = 0;\n    pSVar2 = pList->a;\n    do {\n      iVar1 = pParse->nTab;\n      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    } while ((iVar3 < pList->nSrc) &&\n            (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 sqlite3SrcListAssignCursors(Parse *pParse,SrcList *pList)\n\n{\n  int iVar1;\n  SrcList_item *pSVar2;\n  int iVar3;\n  \n  if (((pList != (SrcList *)0x0) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0)) {\n    iVar3 = 0;\n    pSVar2 = pList->a;\n    do {\n      iVar1 = pParse->nTab;\n      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    } while ((iVar3 < pList->nSrc) &&\n            (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (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) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0)) {\n    iVar3 = 0;\n    pSVar2 = pList->a;\n    do {\n      iVar1 = pParse->nTab;\n      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    } while ((iVar3 < pList->nSrc) &&\n            (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\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) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0)) {\n    iVar3 = 0;\n    pSVar2 = pList->a;\n    do {\n      iVar1 = pParse->nTab;\n      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    } while ((iVar3 < pList->nSrc) &&\n            (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    return;\n  }" if (parenthesized_expression "(((pList != (SrcList *)0x0) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0))" ( (binary_expression "((pList != (SrcList *)0x0) && (0 < pList->nSrc)) && (pList->a[0].iCursor < 0)" (parenthesized_expression "((pList != (SrcList *)0x0) && (0 < pList->nSrc))" ( (binary_expression "(pList != (SrcList *)0x0) && (0 < pList->nSrc)" (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)) )) && (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      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    } while ((iVar3 < pList->nSrc) &&\n            (iVar1 = (int)(pSVar2 + 1), pSVar2 = pSVar2 + 1, *(int *)(iVar1 + 0x28) < 0));\n    return;\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      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\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      pParse->nTab = iVar1 + 1;\n      pSVar2->iCursor = iVar1;\n      if (pSVar2->pSelect != (Select *)0x0) {\n        sqlite3SrcListAssignCursors(pParse,pSVar2->pSelect->pSrc);\n      }\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "iVar1 = pParse->nTab;" (assignment_expression "iVar1 = pParse->nTab" identifier = (field_expression "pParse->nTab" identifier -> field_identifier)) ;) (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) ))) ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) 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 __regparm3 FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }" if (parenthesized_expression "(((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0))" ( (binary_expression "((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0)" (parenthesized_expression "((param_2 != (int *)0x0) && (0 < *param_2))" ( (binary_expression "(param_2 != (int *)0x0) && (0 < *param_2)" (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)) )) && (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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));" do (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\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 "*(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_00020360();\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_00020360();\n      }" { (expression_statement "FUN_00020360();" (call_expression "FUN_00020360()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0))" ( (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0)" (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) && (parenthesized_expression "(piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0)" ( (comma_expression "piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1b" identifier = (binary_expression "piVar3 + 0x1b" identifier + number_literal)) , (comma_expression "piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x11" identifier = (binary_expression "piVar3 + 0x11" 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 (ERROR IDENT) (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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (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 (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 __regparm3 FUN_00020360(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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00020360(int param_1,int *param_2)" (identifier "FUN_00020360") (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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\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) && (0 < *param_2)) && (param_2[0xc] < 0)) {\n    iVar4 = 0;\n    piVar3 = param_2 + 2;\n    do {\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\n  }" (if "if") (parenthesized_expression "(((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0))" (( "(") (binary_expression "((param_2 != (int *)0x0) && (0 < *param_2)) && (param_2[0xc] < 0)" (parenthesized_expression "((param_2 != (int *)0x0) && (0 < *param_2))" (( "(") (binary_expression "(param_2 != (int *)0x0) && (0 < *param_2)" (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"))) () ")")) (&& "&&") (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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));\n    return;\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      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\n    } while ((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0));" (do "do") (compound_statement "{\n      iVar2 = *(int *)(param_1 + 0x28);\n      *(int *)(param_1 + 0x28) = iVar2 + 1;\n      piVar3[10] = iVar2;\n      if (piVar3[5] != 0) {\n        FUN_00020360();\n      }\n      iVar4 = iVar4 + 1;\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 "*(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_00020360();\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_00020360();\n      }" ({ "{") (expression_statement "FUN_00020360();" (call_expression "FUN_00020360()" (identifier "FUN_00020360") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0))" (( "(") (binary_expression "(iVar4 < *param_2) && (piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *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 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0)" (( "(") (comma_expression "piVar1 = piVar3 + 0x1b, piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar1 = piVar3 + 0x1b" (identifier "piVar1") (= "=") (binary_expression "piVar3 + 0x1b" (identifier "piVar3") (+ "+") (number_literal "0x1b"))) (, ",") (comma_expression "piVar3 = piVar3 + 0x11, *piVar1 < 0" (assignment_expression "piVar3 = piVar3 + 0x11" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 0x11" (identifier "piVar3") (+ "+") (number_literal "0x11"))) (, ",") (binary_expression "*piVar1 < 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (< "<") (number_literal "0")))) () ")"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pParse,type_2 *var_1)

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


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) 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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (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: (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) 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 __regparm3 MASKED(int param_1,int *param_2)

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

