
int walkWindowList(Walker *pWalker,Window *pList)

{
  int iVar1;
  
  if (pList == (Window *)0x0) {
    return 0;
  }
  while (((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&
            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&
           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)
            ))) && ((pList->pStart == (Expr *)0x0 ||
                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&
         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))) {
    pList = pList->pNextWin;
    if (pList == (Window *)0x0) {
      return 0;
    }
  }
  return 2;
}



undefined4 FUN_0002f398(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 == 0) {
    return 0;
  }
  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&
            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&
           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&
          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&
         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {
    param_2 = *(int *)(param_2 + 0x24);
    if (param_2 == 0) {
      return 0;
    }
  }
  return 2;
}


lui gp,0xd
addiu gp,gp,-0x20f8
addu gp,gp,t9
beq a1,zero,0x0002f4ac
_nop
addiu sp,sp,-0x30
sw s3,0x28(sp)
sw s2,0x24(sp)
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
or s0,a1,zero
sw ra,0x2c(sp)
lw s2,-0x7fb4(gp)
lw s3,-0x7fb4(gp)
addiu s2,s2,-0xdf0
b 0x0002f458
_addiu s3,s3,-0xf88
lw a1,0x8(s0)
bal 0x0002f210
_or a0,s1,zero
bne v0,zero,0x0002f474
_lw ra,0x2c(sp)
lw a1,0x28(s0)
beq a1,zero,0x0002f414
_or t9,s3,zero
bal 0x0002f078
_or a0,s1,zero
bne v0,zero,0x0002f474
_lw ra,0x2c(sp)
lw a1,0x18(s0)
beq a1,zero,0x0002f430
_or t9,s3,zero
bal 0x0002f078
_or a0,s1,zero
bne v0,zero,0x0002f474
_lw ra,0x2c(sp)
lw a1,0x1c(s0)
beq a1,zero,0x0002f44c
_or t9,s3,zero
bal 0x0002f078
_or a0,s1,zero
bne v0,zero,0x0002f474
_lw ra,0x2c(sp)
lw s0,0x24(s0)
beq s0,zero,0x0002f490
_lw ra,0x2c(sp)
lw a1,0xc(s0)
or t9,s2,zero
bal 0x0002f210
_or a0,s1,zero
beq v0,zero,0x0002f3e4
_or t9,s2,zero
lw ra,0x2c(sp)
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
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
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_0002f398(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 FUN_0002f398(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_0002f398(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "(((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))))" ( (parenthesized_expression "((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0))" ( (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" identifier = (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) )))) , (binary_expression "iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" identifier = (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 8))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x28) == 0" (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x18) == 0" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x1c) == 0" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) )) (compound_statement "{\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "param_2 = *(int *)(param_2 + 0x24);" (assignment_expression "param_2 = *(int *)(param_2 + 0x24)" identifier = (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "int walkWindowList(Walker *pWalker,Window *pList)\n\n{\n  int iVar1;\n  \n  if (pList == (Window *)0x0) {\n    return 0;\n  }\n  while (((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))) {\n    pList = pList->pNextWin;\n    if (pList == (Window *)0x0) {\n      return 0;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "int walkWindowList(Walker *pWalker,Window *pList)\n\n{\n  int iVar1;\n  \n  if (pList == (Window *)0x0) {\n    return 0;\n  }\n  while (((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))) {\n    pList = pList->pNextWin;\n    if (pList == (Window *)0x0) {\n      return 0;\n    }\n  }\n  return 2;\n}" primitive_type (function_declarator "walkWindowList(Walker *pWalker,Window *pList)" identifier (parameter_list "(Walker *pWalker,Window *pList)" ( (parameter_declaration "Walker *pWalker" type_identifier (pointer_declarator "*pWalker" * identifier)) , (parameter_declaration "Window *pList" type_identifier (pointer_declarator "*pList" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (pList == (Window *)0x0) {\n    return 0;\n  }\n  while (((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))) {\n    pList = pList->pNextWin;\n    if (pList == (Window *)0x0) {\n      return 0;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (pList == (Window *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(pList == (Window *)0x0)" ( (binary_expression "pList == (Window *)0x0" identifier == (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while (((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))) {\n    pList = pList->pNextWin;\n    if (pList == (Window *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "(((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0)))))" ( (parenthesized_expression "((((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))))" ( (binary_expression "(((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))) &&\n         ((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0)))" (parenthesized_expression "(((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0))))" ( (binary_expression "((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))) && ((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))" (parenthesized_expression "((iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            )))" ( (binary_expression "(iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)) &&\n           ((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))" (parenthesized_expression "(iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0))" ( (comma_expression "iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy), iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)" (assignment_expression "iVar1 = sqlite3WalkExprList(pWalker,pList->pOrderBy)" identifier = (call_expression "sqlite3WalkExprList(pWalker,pList->pOrderBy)" identifier (argument_list "(pWalker,pList->pOrderBy)" ( identifier , (field_expression "pList->pOrderBy" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0 &&\n            (iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0)" ( (comma_expression "iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition), iVar1 == 0" (assignment_expression "iVar1 = sqlite3WalkExprList(pWalker,pList->pPartition)" identifier = (call_expression "sqlite3WalkExprList(pWalker,pList->pPartition)" identifier (argument_list "(pWalker,pList->pPartition)" ( identifier , (field_expression "pList->pPartition" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )))) )) && (parenthesized_expression "((pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            ))" ( (parenthesized_expression "(pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)\n            )" ( (binary_expression "pList->pFilter == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)" (binary_expression "pList->pFilter == (Expr *)0x0" (field_expression "pList->pFilter" identifier -> field_identifier) == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0)" ( (comma_expression "iVar1 = walkExpr(pWalker,pList->pFilter), iVar1 == 0" (assignment_expression "iVar1 = walkExpr(pWalker,pList->pFilter)" identifier = (call_expression "walkExpr(pWalker,pList->pFilter)" identifier (argument_list "(pWalker,pList->pFilter)" ( identifier , (field_expression "pList->pFilter" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)))" ( (parenthesized_expression "(pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0))" ( (binary_expression "pList->pStart == (Expr *)0x0 ||\n                    (iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)" (binary_expression "pList->pStart == (Expr *)0x0" (field_expression "pList->pStart" identifier -> field_identifier) == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0)" ( (comma_expression "iVar1 = walkExpr(pWalker,pList->pStart), iVar1 == 0" (assignment_expression "iVar1 = walkExpr(pWalker,pList->pStart)" identifier = (call_expression "walkExpr(pWalker,pList->pStart)" identifier (argument_list "(pWalker,pList->pStart)" ( identifier , (field_expression "pList->pStart" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0)))" ( (parenthesized_expression "(pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0))" ( (binary_expression "pList->pEnd == (Expr *)0x0 || (iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0)" (binary_expression "pList->pEnd == (Expr *)0x0" (field_expression "pList->pEnd" identifier -> field_identifier) == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0)" ( (comma_expression "iVar1 = walkExpr(pWalker,pList->pEnd), iVar1 == 0" (assignment_expression "iVar1 = walkExpr(pWalker,pList->pEnd)" identifier = (call_expression "walkExpr(pWalker,pList->pEnd)" identifier (argument_list "(pWalker,pList->pEnd)" ( identifier , (field_expression "pList->pEnd" identifier -> field_identifier) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) )) (compound_statement "{\n    pList = pList->pNextWin;\n    if (pList == (Window *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "pList = pList->pNextWin;" (assignment_expression "pList = pList->pNextWin" identifier = (field_expression "pList->pNextWin" identifier -> field_identifier)) ;) (if_statement "if (pList == (Window *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pList == (Window *)0x0)" ( (binary_expression "pList == (Window *)0x0" identifier == (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0002f398(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 FUN_0002f398(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_0002f398(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "(((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))))" ( (parenthesized_expression "((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" ( (binary_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0))" ( (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" identifier = (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) )))) , (binary_expression "iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (binary_expression "iVar1 == 0" identifier == number_literal) && (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" identifier = (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 8))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) )))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x28) == 0" (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x18) == 0" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) && (parenthesized_expression "((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" ( (binary_expression "*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x1c) == 0" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" ( (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" identifier = (call_expression "FUN_0002f078(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) ))) )) )) (compound_statement "{\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "param_2 = *(int *)(param_2 + 0x24);" (assignment_expression "param_2 = *(int *)(param_2 + 0x24)" identifier = (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (param_2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT == LIT)) )))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) )) (compound_statement { (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 IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0002f398(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002f398(undefined4 param_1,int param_2)" (identifier "FUN_0002f398") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (while_statement "while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" (while "while") (parenthesized_expression "(((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))))" (( "(") (parenthesized_expression "((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" (( "(") (binary_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" (( "(") (binary_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&\n          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))" (( "(") (binary_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&\n           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0))" (( "(") (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" (identifier "iVar1") (= "=") (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc))" (identifier "FUN_0002f210") (argument_list "(param_1,*(undefined4 *)(param_2 + 0xc))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (, ",") (binary_expression "iVar1 == 0 &&\n            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" (identifier "iVar1") (= "=") (call_expression "FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8))" (identifier "FUN_0002f210") (argument_list "(param_1,*(undefined4 *)(param_2 + 8))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")")))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" (( "(") (binary_expression "*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x28) == 0" (pointer_expression "*(int *)(param_2 + 0x28)" (* "*") (cast_expression "(int *)(param_2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0002f078(param_1)" (identifier "FUN_0002f078") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" (( "(") (binary_expression "*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x18) == 0" (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0002f078(param_1)" (identifier "FUN_0002f078") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))" (( "(") (binary_expression "*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (binary_expression "*(int *)(param_2 + 0x1c) == 0" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar1 = FUN_0002f078(param_1), iVar1 == 0)" (( "(") (comma_expression "iVar1 = FUN_0002f078(param_1), iVar1 == 0" (assignment_expression "iVar1 = FUN_0002f078(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0002f078(param_1)" (identifier "FUN_0002f078") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) () ")")) (compound_statement "{\n    param_2 = *(int *)(param_2 + 0x24);\n    if (param_2 == 0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "param_2 = *(int *)(param_2 + 0x24);" (assignment_expression "param_2 = *(int *)(param_2 + 0x24)" (identifier "param_2") (= "=") (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (param_2 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))
(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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal))))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal))))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  
  if (param_2 == 0) {
    return 0;
  }
  while (((((iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 0xc)), iVar1 == 0 &&
            (iVar1 = FUN_0002f210(param_1,*(undefined4 *)(param_2 + 8)), iVar1 == 0)) &&
           ((*(int *)(param_2 + 0x28) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&
          ((*(int *)(param_2 + 0x18) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0)))) &&
         ((*(int *)(param_2 + 0x1c) == 0 || (iVar1 = FUN_0002f078(param_1), iVar1 == 0))))) {
    param_2 = *(int *)(param_2 + 0x24);
    if (param_2 == 0) {
      return 0;
    }
  }
  return 2;
}

