
void __regparm3 renameWalkWith(Walker *pWalker,Select *pSelect)

{
  int iVar1;
  int iVar2;
  Select *p;
  uint uVar3;
  Expr **ppEVar4;
  int iVar5;
  int in_GS_OFFSET;
  NameContext sNC;
  
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if ((pSelect != (Select *)0x0) &&
     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow
     , 0 < iVar5)) {
    ppEVar4 = (Expr **)&pSelect->iOffset;
    iVar5 = 0;
    do {
      p = (Select *)ppEVar4[1];
      uVar3 = 0;
      do {
        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;
        uVar3 = uVar3 + 4;
      } while (uVar3 < 0x1c);
      sNC.pParse = pWalker->pParse;
      sqlite3SelectPrep(sNC.pParse,p,&sNC);
      if ((p != (Select *)0x0) &&
         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {
        sqlite3WalkSelect(pWalker,p);
      }
      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {
        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);
      }
      iVar5 = iVar5 + 1;
      ppEVar4 = ppEVar4 + 4;
      iVar1._0_1_ = pSelect->op;
      iVar1._1_1_ = pSelect->field_0x1;
      iVar1._2_2_ = pSelect->nSelectRow;
    } while (iVar5 < iVar1);
  }
  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



void __regparm3 FUN_0002a920(int param_1,int *param_2)

{
  int iVar1;
  uint uVar2;
  int *piVar3;
  int iVar4;
  int in_GS_OFFSET;
  undefined4 local_3c [7];
  int local_20;
  
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2 != (int *)0x0) && (0 < *param_2)) {
    piVar3 = param_2 + 3;
    iVar4 = 0;
    do {
      iVar1 = piVar3[1];
      uVar2 = 0;
      do {
        *(undefined4 *)((int)local_3c + uVar2) = 0;
        uVar2 = uVar2 + 4;
      } while (uVar2 < 0x1c);
      FUN_0002a7d0();
      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {
        FUN_00028900();
      }
      if (*piVar3 != 0) {
        FUN_00029d00();
      }
      iVar4 = iVar4 + 1;
      piVar3 = piVar3 + 4;
    } while (iVar4 < *param_2);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000a9ea0();
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
TEST EDX,EDX
JZ 0x0002a9b8
MOV EBP,EDX
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JLE 0x0002a9b8
LEA EAX,[ESP + 0x20]
LEA EBX,[EBP + 0xc]
XOR ESI,ESI
MOV dword ptr [ESP + 0x8],EBP
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[ESP + 0x1c]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
MOV EBP,dword ptr [EBX + 0x4]
XOR EAX,EAX
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [ECX + EAX*0x1],0x0
ADD EAX,0x4
CMP EAX,0x1c
JC 0x0002a965
MOV EAX,dword ptr [EDI]
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,EBP
MOV dword ptr [ESP + 0x1c],EAX
CALL 0x0002a7d0
TEST EBP,EBP
JZ 0x0002a99d
MOV EAX,dword ptr [EDI + 0x8]
TEST EAX,EAX
JZ 0x0002a99d
MOV EDX,EBP
MOV EAX,EDI
CALL 0x00028900
MOV EDX,dword ptr [EBX]
TEST EDX,EDX
JZ 0x0002a9aa
MOV EAX,dword ptr [EDI]
CALL 0x00029d00
MOV EAX,dword ptr [ESP + 0x8]
ADD ESI,0x1
ADD EBX,0x10
CMP ESI,dword ptr [EAX]
JL 0x0002a960
MOV EAX,dword ptr [ESP + 0x3c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0002a9cd
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x000a9ea0
(translation_unit "void __regparm3 FUN_0002a920(int param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000a9ea0();\n}\n\n" (function_definition "void __regparm3 FUN_0002a920(int param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000a9ea0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002a920(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 iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000a9ea0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_3c [7];" type_identifier (array_declarator "local_3c [7]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" if (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)) ))) )) (compound_statement "{\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" { (expression_statement "piVar3 = param_2 + 3;" (assignment_expression "piVar3 = param_2 + 3" identifier = (binary_expression "param_2 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);" do (compound_statement "{\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    }" { (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);" do (compound_statement "{\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)local_3c + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)local_3c + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)local_3c + uVar2)" * (cast_expression "(undefined4 *)((int)local_3c + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_3c + uVar2)" ( (binary_expression "(int)local_3c + uVar2" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x1c)" ( (binary_expression "uVar2 < 0x1c" identifier < number_literal) )) ;) (expression_statement "FUN_0002a7d0();" (call_expression "FUN_0002a7d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 8) != 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 8) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" ( (binary_expression "*(int *)(param_1 + 8) != 0" (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" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        FUN_00028900();\n      }" { (expression_statement "FUN_00028900();" (call_expression "FUN_00028900()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*piVar3 != 0) {\n        FUN_00029d00();\n      }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n        FUN_00029d00();\n      }" { (expression_statement "FUN_00029d00();" (call_expression "FUN_00029d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_000a9ea0();" (call_expression "FUN_000a9ea0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 renameWalkWith(Walker *pWalker,Select *pSelect)\n\n{\n  int iVar1;\n  int iVar2;\n  Select *p;\n  uint uVar3;\n  Expr **ppEVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  NameContext sNC;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)) {\n    ppEVar4 = (Expr **)&pSelect->iOffset;\n    iVar5 = 0;\n    do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);\n  }\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" (function_definition "void __regparm3 renameWalkWith(Walker *pWalker,Select *pSelect)\n\n{\n  int iVar1;\n  int iVar2;\n  Select *p;\n  uint uVar3;\n  Expr **ppEVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  NameContext sNC;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)) {\n    ppEVar4 = (Expr **)&pSelect->iOffset;\n    iVar5 = 0;\n    do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);\n  }\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "renameWalkWith(Walker *pWalker,Select *pSelect)" identifier (parameter_list "(Walker *pWalker,Select *pSelect)" ( (parameter_declaration "Walker *pWalker" type_identifier (pointer_declarator "*pWalker" * identifier)) , (parameter_declaration "Select *pSelect" type_identifier (pointer_declarator "*pSelect" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  Select *p;\n  uint uVar3;\n  Expr **ppEVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  NameContext sNC;\n  \n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)) {\n    ppEVar4 = (Expr **)&pSelect->iOffset;\n    iVar5 = 0;\n    do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);\n  }\n  if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Select *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Expr **ppEVar4;" type_identifier (pointer_declarator "**ppEVar4" * (pointer_declarator "*ppEVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "NameContext sNC;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)) {\n    ppEVar4 = (Expr **)&pSelect->iOffset;\n    iVar5 = 0;\n    do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);\n  }" if (parenthesized_expression "((pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5))" ( (binary_expression "(pSelect != (Select *)0x0) &&\n     (iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)" (parenthesized_expression "(pSelect != (Select *)0x0)" ( (binary_expression "pSelect != (Select *)0x0" identifier != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5)" ( (comma_expression "iVar5._0_1_ = pSelect->op, iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5" (assignment_expression "iVar5._0_1_ = pSelect->op" (field_expression "iVar5._0_1_" identifier . field_identifier) = (field_expression "pSelect->op" identifier -> field_identifier)) , (comma_expression "iVar5._1_1_ = pSelect->field_0x1, iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5" (assignment_expression "iVar5._1_1_ = pSelect->field_0x1" (field_expression "iVar5._1_1_" identifier . field_identifier) = (field_expression "pSelect->field_0x1" identifier -> field_identifier)) , (comma_expression "iVar5._2_2_ = pSelect->nSelectRow\n     , 0 < iVar5" (assignment_expression "iVar5._2_2_ = pSelect->nSelectRow" (field_expression "iVar5._2_2_" identifier . field_identifier) = (field_expression "pSelect->nSelectRow" identifier -> field_identifier)) , (binary_expression "0 < iVar5" number_literal < identifier)))) ))) )) (compound_statement "{\n    ppEVar4 = (Expr **)&pSelect->iOffset;\n    iVar5 = 0;\n    do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);\n  }" { (expression_statement "ppEVar4 = (Expr **)&pSelect->iOffset;" (assignment_expression "ppEVar4 = (Expr **)&pSelect->iOffset" identifier = (cast_expression "(Expr **)&pSelect->iOffset" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pSelect->iOffset" & (field_expression "pSelect->iOffset" identifier -> field_identifier)))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    } while (iVar5 < iVar1);" do (compound_statement "{\n      p = (Select *)ppEVar4[1];\n      uVar3 = 0;\n      do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);\n      sNC.pParse = pWalker->pParse;\n      sqlite3SelectPrep(sNC.pParse,p,&sNC);\n      if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }\n      if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }\n      iVar5 = iVar5 + 1;\n      ppEVar4 = ppEVar4 + 4;\n      iVar1._0_1_ = pSelect->op;\n      iVar1._1_1_ = pSelect->field_0x1;\n      iVar1._2_2_ = pSelect->nSelectRow;\n    }" { (expression_statement "p = (Select *)ppEVar4[1];" (assignment_expression "p = (Select *)ppEVar4[1]" identifier = (cast_expression "(Select *)ppEVar4[1]" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppEVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      } while (uVar3 < 0x1c);" do (compound_statement "{\n        *(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;\n        uVar3 = uVar3 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0;" (assignment_expression "*(undefined4 *)((int)&sNC.pSrcList + uVar3) = 0" (pointer_expression "*(undefined4 *)((int)&sNC.pSrcList + uVar3)" * (cast_expression "(undefined4 *)((int)&sNC.pSrcList + uVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sNC.pSrcList + uVar3)" ( (binary_expression "(int)&sNC.pSrcList + uVar3" (cast_expression "(int)&sNC.pSrcList" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sNC.pSrcList" & (field_expression "sNC.pSrcList" identifier . field_identifier))) + identifier) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x1c)" ( (binary_expression "uVar3 < 0x1c" identifier < number_literal) )) ;) (expression_statement "sNC.pParse = pWalker->pParse;" (assignment_expression "sNC.pParse = pWalker->pParse" (field_expression "sNC.pParse" identifier . field_identifier) = (field_expression "pWalker->pParse" identifier -> field_identifier)) ;) (expression_statement "sqlite3SelectPrep(sNC.pParse,p,&sNC);" (call_expression "sqlite3SelectPrep(sNC.pParse,p,&sNC)" identifier (argument_list "(sNC.pParse,p,&sNC)" ( (field_expression "sNC.pParse" identifier . field_identifier) , identifier , (pointer_expression "&sNC" & identifier) ))) ;) (if_statement "if ((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n        sqlite3WalkSelect(pWalker,p);\n      }" if (parenthesized_expression "((p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0))" ( (binary_expression "(p != (Select *)0x0) &&\n         (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)" (parenthesized_expression "(p != (Select *)0x0)" ( (binary_expression "p != (Select *)0x0" identifier != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)" ( (binary_expression "pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0" (field_expression "pWalker->xSelectCallback" identifier -> field_identifier) != (cast_expression "(_func_int_Walker_ptr_Select_ptr *)0x0" ( (type_descriptor "_func_int_Walker_ptr_Select_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        sqlite3WalkSelect(pWalker,p);\n      }" { (expression_statement "sqlite3WalkSelect(pWalker,p);" (call_expression "sqlite3WalkSelect(pWalker,p)" identifier (argument_list "(pWalker,p)" ( identifier , identifier ))) ;) })) (if_statement "if ((ExprList *)*ppEVar4 != (ExprList *)0x0) {\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }" if (parenthesized_expression "((ExprList *)*ppEVar4 != (ExprList *)0x0)" ( (binary_expression "(ExprList *)*ppEVar4 != (ExprList *)0x0" (cast_expression "(ExprList *)*ppEVar4" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppEVar4" * identifier)) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);\n      }" { (expression_statement "sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4);" (call_expression "sqlite3RenameExprlistUnmap(pWalker->pParse,(ExprList *)*ppEVar4)" identifier (argument_list "(pWalker->pParse,(ExprList *)*ppEVar4)" ( (field_expression "pWalker->pParse" identifier -> field_identifier) , (cast_expression "(ExprList *)*ppEVar4" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppEVar4" * identifier)) ))) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "ppEVar4 = ppEVar4 + 4;" (assignment_expression "ppEVar4 = ppEVar4 + 4" identifier = (binary_expression "ppEVar4 + 4" identifier + number_literal)) ;) (expression_statement "iVar1._0_1_ = pSelect->op;" (assignment_expression "iVar1._0_1_ = pSelect->op" (field_expression "iVar1._0_1_" identifier . field_identifier) = (field_expression "pSelect->op" identifier -> field_identifier)) ;) (expression_statement "iVar1._1_1_ = pSelect->field_0x1;" (assignment_expression "iVar1._1_1_ = pSelect->field_0x1" (field_expression "iVar1._1_1_" identifier . field_identifier) = (field_expression "pSelect->field_0x1" identifier -> field_identifier)) ;) (expression_statement "iVar1._2_2_ = pSelect->nSelectRow;" (assignment_expression "iVar1._2_2_ = pSelect->nSelectRow" (field_expression "iVar1._2_2_" identifier . field_identifier) = (field_expression "pSelect->nSelectRow" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(iVar5 < iVar1)" ( (binary_expression "iVar5 < iVar1" identifier < identifier) )) ;) })) (if_statement "if (iVar2 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar2 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_0002a920(int param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000a9ea0();\n}\n\n" (function_definition "void __regparm3 FUN_0002a920(int param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000a9ea0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002a920(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 iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000a9ea0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_3c [7];" type_identifier (array_declarator "local_3c [7]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" if (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)) ))) )) (compound_statement "{\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" { (expression_statement "piVar3 = param_2 + 3;" (assignment_expression "piVar3 = param_2 + 3" identifier = (binary_expression "param_2 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);" do (compound_statement "{\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    }" { (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);" do (compound_statement "{\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" { (expression_statement "*(undefined4 *)((int)local_3c + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)local_3c + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)local_3c + uVar2)" * (cast_expression "(undefined4 *)((int)local_3c + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_3c + uVar2)" ( (binary_expression "(int)local_3c + uVar2" (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x1c)" ( (binary_expression "uVar2 < 0x1c" identifier < number_literal) )) ;) (expression_statement "FUN_0002a7d0();" (call_expression "FUN_0002a7d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }" if (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 8) != 0))" ( (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 8) != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" ( (binary_expression "*(int *)(param_1 + 8) != 0" (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" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        FUN_00028900();\n      }" { (expression_statement "FUN_00028900();" (call_expression "FUN_00028900()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*piVar3 != 0) {\n        FUN_00029d00();\n      }" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n        FUN_00029d00();\n      }" { (expression_statement "FUN_00029d00();" (call_expression "FUN_00029d00()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" identifier = (binary_expression "piVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_2)" ( (binary_expression "iVar4 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_000a9ea0();" (call_expression "FUN_000a9ea0()" identifier (argument_list "()" ( ))) ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (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)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_0002a920(int param_1,int *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000a9ea0();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002a920(int param_1,int *param_2)" (identifier "FUN_0002a920") (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 iVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int in_GS_OFFSET;\n  undefined4 local_3c [7];\n  int local_20;\n  \n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000a9ea0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_3c [7];" (type_identifier "undefined4") (array_declarator "local_3c [7]" (identifier "local_3c") ([ "[") (number_literal "7") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((param_2 != (int *)0x0) && (0 < *param_2)) {\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" (if "if") (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"))) () ")"))) () ")")) (compound_statement "{\n    piVar3 = param_2 + 3;\n    iVar4 = 0;\n    do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);\n  }" ({ "{") (expression_statement "piVar3 = param_2 + 3;" (assignment_expression "piVar3 = param_2 + 3" (identifier "piVar3") (= "=") (binary_expression "param_2 + 3" (identifier "param_2") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    } while (iVar4 < *param_2);" (do "do") (compound_statement "{\n      iVar1 = piVar3[1];\n      uVar2 = 0;\n      do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);\n      FUN_0002a7d0();\n      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }\n      if (*piVar3 != 0) {\n        FUN_00029d00();\n      }\n      iVar4 = iVar4 + 1;\n      piVar3 = piVar3 + 4;\n    }" ({ "{") (expression_statement "iVar1 = piVar3[1];" (assignment_expression "iVar1 = piVar3[1]" (identifier "iVar1") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      } while (uVar2 < 0x1c);" (do "do") (compound_statement "{\n        *(undefined4 *)((int)local_3c + uVar2) = 0;\n        uVar2 = uVar2 + 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)((int)local_3c + uVar2) = 0;" (assignment_expression "*(undefined4 *)((int)local_3c + uVar2) = 0" (pointer_expression "*(undefined4 *)((int)local_3c + uVar2)" (* "*") (cast_expression "(undefined4 *)((int)local_3c + uVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_3c + uVar2)" (( "(") (binary_expression "(int)local_3c + uVar2" (cast_expression "(int)local_3c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_3c")) (+ "+") (identifier "uVar2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 4" (identifier "uVar2") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 < 0x1c)" (( "(") (binary_expression "uVar2 < 0x1c" (identifier "uVar2") (< "<") (number_literal "0x1c")) () ")")) (; ";")) (expression_statement "FUN_0002a7d0();" (call_expression "FUN_0002a7d0()" (identifier "FUN_0002a7d0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {\n        FUN_00028900();\n      }" (if "if") (parenthesized_expression "((iVar1 != 0) && (*(int *)(param_1 + 8) != 0))" (( "(") (binary_expression "(iVar1 != 0) && (*(int *)(param_1 + 8) != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 8) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) != 0" (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" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        FUN_00028900();\n      }" ({ "{") (expression_statement "FUN_00028900();" (call_expression "FUN_00028900()" (identifier "FUN_00028900") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*piVar3 != 0) {\n        FUN_00029d00();\n      }" (if "if") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00029d00();\n      }" ({ "{") (expression_statement "FUN_00029d00();" (call_expression "FUN_00029d00()" (identifier "FUN_00029d00") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3 = piVar3 + 4;" (assignment_expression "piVar3 = piVar3 + 4" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 4" (identifier "piVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < *param_2)" (( "(") (binary_expression "iVar4 < *param_2" (identifier "iVar4") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000a9ea0();" (call_expression "FUN_000a9ea0()" (identifier "FUN_000a9ea0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pWalker,type_2 *var_2)

{
  int var_10;
  int var_11;
  type_2 *var_6;
  type_3 var_4;
  type_4 **var_9;
  int var_3;
  int var_1;
  type_5 sNC;
  
  var_11 = *(int *)(var_1 + 0x14);
  if ((var_2 != (type_2 *)0x0) &&
     (var_3._0_1_ = var_2->op, var_3._1_1_ = var_2->field_0x1, var_3._2_2_ = var_2->nSelectRow
     , 0 < var_3)) {
    var_9 = (type_4 **)&var_2->iOffset;
    var_3 = 0;
    do {
      var_6 = (type_2 *)var_9[1];
      var_4 = 0;
      do {
        *(type_6 *)((int)&sNC.pSrcList + var_4) = 0;
        var_4 = var_4 + 4;
      } while (var_4 < 0x1c);
      sNC.pParse = pWalker->pParse;
      var_5(sNC.pParse,var_6,&sNC);
      if ((var_6 != (type_2 *)0x0) &&
         (pWalker->xSelectCallback != (type_7 *)0x0)) {
        var_7(pWalker,var_6);
      }
      if ((type_8 *)*var_9 != (type_8 *)0x0) {
        var_8(pWalker->pParse,(type_8 *)*var_9);
      }
      var_3 = var_3 + 1;
      var_9 = var_9 + 4;
      var_10._0_1_ = var_2->op;
      var_10._1_1_ = var_2->field_0x1;
      var_10._2_2_ = var_2->nSelectRow;
    } while (var_3 < var_10);
  }
  if (var_11 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_12();
}


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

void __regparm3 MASKED(int param_1,int *param_2)

{
  int iVar1;
  uint uVar2;
  int *piVar3;
  int iVar4;
  int in_GS_OFFSET;
  undefined4 local_3c [7];
  int local_20;
  
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2 != (int *)0x0) && (0 < *param_2)) {
    piVar3 = param_2 + 3;
    iVar4 = 0;
    do {
      iVar1 = piVar3[1];
      uVar2 = 0;
      do {
        *(undefined4 *)((int)local_3c + uVar2) = 0;
        uVar2 = uVar2 + 4;
      } while (uVar2 < 0x1c);
      FUN_0002a7d0();
      if ((iVar1 != 0) && (*(int *)(param_1 + 8) != 0)) {
        FUN_00028900();
      }
      if (*piVar3 != 0) {
        FUN_00029d00();
      }
      iVar4 = iVar4 + 1;
      piVar3 = piVar3 + 4;
    } while (iVar4 < *param_2);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000a9ea0();
}

