
int sqlite3WalkExprList(Walker *pWalker,ExprList *p)

{
  Expr **ppEVar1;
  int iVar2;
  ExprList_item *pEVar3;
  int iVar4;
  
  if (p == (ExprList *)0x0) {
    return 0;
  }
  iVar4 = p->nExpr;
  pEVar3 = p->a;
  if (0 < iVar4) {
    do {
      ppEVar1 = &pEVar3->pExpr;
      iVar4 = iVar4 + -1;
      pEVar3 = pEVar3 + 1;
      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {
        return 2;
      }
    } while (iVar4 != 0);
  }
  return 0;
}



undefined4 FUN_0005a448(undefined4 param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_2 == (int *)0x0) {
    return 0;
  }
  iVar2 = *param_2;
  param_2 = param_2 + 1;
  if (0 < iVar2) {
    do {
      iVar1 = *param_2;
      iVar2 = iVar2 + -1;
      param_2 = param_2 + 5;
      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {
        return 2;
      }
    } while (iVar2 != 0);
  }
  return 0;
}


lui gp,0x14
addiu gp,gp,-0x1b28
addu gp,gp,t9
beq a1,zero,0x0005a500
_nop
addiu sp,sp,-0x30
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
lw s1,0x0(a1)
blez s1,0x0005a4c4
_addiu s0,a1,0x4
lw s3,-0x7d7c(gp)
or s2,a0,zero
addiu s3,s3,-0x5d38
lw v0,0x0(s0)
addiu s1,s1,-0x1
or a0,s2,zero
addiu s0,s0,0x14
beq v0,zero,0x0005a4bc
_or a1,v0,zero
or t9,s3,zero
bal 0x0005a2c8
_nop
bne v0,zero,0x0005a4e4
_lw ra,0x2c(sp)
bne s1,zero,0x0005a490
_nop
lw ra,0x2c(sp)
or v0,zero,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
li v0,0x2
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_0005a448(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0005a448(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0005a448(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" { (do_statement "do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);" do (compound_statement "{\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    }" { (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0005a2c8(param_1,iVar1)" identifier = (call_expression "FUN_0005a2c8(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int sqlite3WalkExprList(Walker *pWalker,ExprList *p)\n\n{\n  Expr **ppEVar1;\n  int iVar2;\n  ExprList_item *pEVar3;\n  int iVar4;\n  \n  if (p == (ExprList *)0x0) {\n    return 0;\n  }\n  iVar4 = p->nExpr;\n  pEVar3 = p->a;\n  if (0 < iVar4) {\n    do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3WalkExprList(Walker *pWalker,ExprList *p)\n\n{\n  Expr **ppEVar1;\n  int iVar2;\n  ExprList_item *pEVar3;\n  int iVar4;\n  \n  if (p == (ExprList *)0x0) {\n    return 0;\n  }\n  iVar4 = p->nExpr;\n  pEVar3 = p->a;\n  if (0 < iVar4) {\n    do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3WalkExprList(Walker *pWalker,ExprList *p)" identifier (parameter_list "(Walker *pWalker,ExprList *p)" ( (parameter_declaration "Walker *pWalker" type_identifier (pointer_declarator "*pWalker" * identifier)) , (parameter_declaration "ExprList *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  Expr **ppEVar1;\n  int iVar2;\n  ExprList_item *pEVar3;\n  int iVar4;\n  \n  if (p == (ExprList *)0x0) {\n    return 0;\n  }\n  iVar4 = p->nExpr;\n  pEVar3 = p->a;\n  if (0 < iVar4) {\n    do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);\n  }\n  return 0;\n}" { (declaration "Expr **ppEVar1;" type_identifier (pointer_declarator "**ppEVar1" * (pointer_declarator "*ppEVar1" * identifier)) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ExprList_item *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (p == (ExprList *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(p == (ExprList *)0x0)" ( (binary_expression "p == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = p->nExpr;" (assignment_expression "iVar4 = p->nExpr" identifier = (field_expression "p->nExpr" identifier -> field_identifier)) ;) (expression_statement "pEVar3 = p->a;" (assignment_expression "pEVar3 = p->a" identifier = (field_expression "p->a" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar4) {\n    do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);\n  }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n    do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);\n  }" { (do_statement "do {\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    } while (iVar4 != 0);" do (compound_statement "{\n      ppEVar1 = &pEVar3->pExpr;\n      iVar4 = iVar4 + -1;\n      pEVar3 = pEVar3 + 1;\n      if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }\n    }" { (expression_statement "ppEVar1 = &pEVar3->pExpr;" (assignment_expression "ppEVar1 = &pEVar3->pExpr" identifier = (pointer_expression "&pEVar3->pExpr" & (field_expression "pEVar3->pExpr" identifier -> field_identifier))) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "pEVar3 = pEVar3 + 1;" (assignment_expression "pEVar3 = pEVar3 + 1" identifier = (binary_expression "pEVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)) {\n        return 2;\n      }" if (parenthesized_expression "((*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0))" ( (binary_expression "(*ppEVar1 != (Expr *)0x0) && (iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)" (parenthesized_expression "(*ppEVar1 != (Expr *)0x0)" ( (binary_expression "*ppEVar1 != (Expr *)0x0" (pointer_expression "*ppEVar1" * identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0)" ( (comma_expression "iVar2 = walkExpr(pWalker,*ppEVar1), iVar2 != 0" (assignment_expression "iVar2 = walkExpr(pWalker,*ppEVar1)" identifier = (call_expression "walkExpr(pWalker,*ppEVar1)" identifier (argument_list "(pWalker,*ppEVar1)" ( identifier , (pointer_expression "*ppEVar1" * identifier) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0005a448(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0005a448(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0005a448(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 == (int *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" { (do_statement "do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);" do (compound_statement "{\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    }" { (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0005a2c8(param_1,iVar1)" identifier = (call_expression "FUN_0005a2c8(param_1,iVar1)" identifier (argument_list "(param_1,iVar1)" ( identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0005a448(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005a448(undefined4 param_1,int *param_2)" (identifier "FUN_0005a448") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 == (int *)0x0) {\n    return 0;\n  }\n  iVar2 = *param_2;\n  param_2 = param_2 + 1;\n  if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_2 == (int *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0 < iVar2) {\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);\n  }" ({ "{") (do_statement "do {\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    } while (iVar2 != 0);" (do "do") (compound_statement "{\n      iVar1 = *param_2;\n      iVar2 = iVar2 + -1;\n      param_2 = param_2 + 5;\n      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }\n    }" ({ "{") (expression_statement "iVar1 = *param_2;" (assignment_expression "iVar1 = *param_2" (identifier "iVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" (identifier "param_2") (= "=") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5"))) (; ";")) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {\n        return 2;\n      }" (if "if") (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0005a2c8(param_1,iVar1)" (identifier "iVar1") (= "=") (call_expression "FUN_0005a2c8(param_1,iVar1)" (identifier "FUN_0005a2c8") (argument_list "(param_1,iVar1)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        return 2;\n      }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *pWalker,type_2 *var_1)

{
  type_3 **ppEVar1;
  int var_5;
  type_4 *var_3;
  int var_2;
  
  if (var_1 == (type_2 *)0x0) {
    return 0;
  }
  var_2 = var_1->nExpr;
  var_3 = var_1->a;
  if (0 < var_2) {
    do {
      ppEVar1 = &var_3->pExpr;
      var_2 = var_2 + -1;
      var_3 = var_3 + 1;
      if ((*ppEVar1 != (type_3 *)0x0) && (var_5 = var_4(pWalker,*ppEVar1), var_5 != 0)) {
        return 2;
      }
    } while (var_2 != 0);
  }
  return 0;
}


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

undefined4 MASKED(undefined4 param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_2 == (int *)0x0) {
    return 0;
  }
  iVar2 = *param_2;
  param_2 = param_2 + 1;
  if (0 < iVar2) {
    do {
      iVar1 = *param_2;
      iVar2 = iVar2 + -1;
      param_2 = param_2 + 5;
      if ((iVar1 != 0) && (iVar1 = FUN_0005a2c8(param_1,iVar1), iVar1 != 0)) {
        return 2;
      }
    } while (iVar2 != 0);
  }
  return 0;
}

