
int sqlite3ExprReferencesUpdatedColumn(Expr *pExpr,int *aiChng,int chngRowid)

{
  undefined *puVar1;
  byte bVar2;
  Walker *pWalker;
  WindowRewrite *pWVar3;
  Select *pSVar4;
  Walker w;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8);
  w.pParse = (Parse *)0x0;
  w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;
  w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;
  w.walkerDepth = 0;
  w.eCode = '\0';
  w._21_3_ = 0;
  pWalker = *(Walker **)PTR___stack_chk_guard_00190e24;
  w.u.aiCol = aiChng;
  if (pExpr == (Expr *)0x0) {
    bVar2 = 0;
    pExpr = (Expr *)aiChng;
  }
  else {
    walkExpr(&w,pExpr);
    bVar2 = w.eCode;
  }
  if (chngRowid == 0) {
    bVar2 = bVar2 & 0xfd;
  }
  if (pWalker == *(Walker **)puVar1) {
    return (uint)(bVar2 != 0);
  }
  (*(code *)PTR___stack_chk_fail_00190df8)();
  pWVar3 = (pWalker->u).pRewrite;
  pSVar4 = pWVar3->pSubSelect;
  if (pSVar4 != (Select *)pExpr) {
    pWVar3->pSubSelect = (Select *)pExpr;
    if (((Select *)pExpr != (Select *)0x0) &&
       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {
      sqlite3WalkSelect(pWalker,(Select *)pExpr);
    }
    pWVar3->pSubSelect = pSVar4;
    return 1;
  }
  return 0;
}



bool FUN_0005a924(int param_1,int param_2,int param_3)

{
  undefined *puVar1;
  byte bVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 local_30;
  undefined *local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  int local_18;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  local_2c = PTR_LAB_00190ba4 + -0x33f8;
  local_30 = 0;
  local_28 = 0;
  local_24 = 0;
  local_20 = 0;
  local_1c = 0;
  local_14 = *(int *)PTR___stack_chk_guard_00190e24;
  local_18 = param_2;
  if (param_1 == 0) {
    local_1c._0_1_ = 0;
  }
  else {
    FUN_0005a2c8(&local_30);
    param_2 = param_1;
  }
  bVar2 = local_1c._0_1_;
  if (param_3 == 0) {
    bVar2 = local_1c._0_1_ & 0xfd;
  }
  if (local_14 == *(int *)puVar1) {
    return bVar2 != 0;
  }
  iVar3 = local_14;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  iVar4 = *(int *)(iVar3 + 0x18);
  iVar5 = *(int *)(iVar4 + 0xc);
  if (iVar5 != param_2) {
    *(int *)(iVar4 + 0xc) = param_2;
    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {
      FUN_0005a068();
    }
    *(int *)(iVar4 + 0xc) = iVar5;
    return true;
  }
  return false;
}


lui gp,0x14
addiu gp,gp,-0x2004
addu gp,gp,t9
addiu sp,sp,-0x48
lw v1,-0x7d7c(gp)
sw s0,0x3c(sp)
addiu v1,v1,-0x33f8
sw s1,0x40(sp)
or s1,a2,zero
sw gp,0x10(sp)
sw ra,0x44(sp)
sw v1,0x1c(sp)
lw s0,-0x7afc(gp)
sw zero,0x18(sp)
sw zero,0x20(sp)
sw zero,0x24(sp)
sw zero,0x28(sp)
sw zero,0x2c(sp)
sw a1,0x30(sp)
lw v1,0x0(s0)
sw v1,0x34(sp)
beq a0,zero,0x0005a9cc
_lw t9,-0x7d7c(gp)
addiu v0,sp,0x18
or a1,a0,zero
addiu t9,t9,-0x5d38
bal 0x0005a2c8
_or a0,v0,zero
lw gp,0x10(sp)
lbu v0,0x2c(sp)
bne s1,zero,0x0005a9a8
_nop
andi v0,v0,0xfd
lw a0,0x34(sp)
sltu v0,zero,v0
lw v1,0x0(s0)
bne a0,v1,0x0005a9d4
_lw ra,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x48
b 0x0005a99c
_or v0,zero,zero
lw t9,-0x7b28(gp)
jalr t9
_nop
lui gp,0x14
addiu gp,gp,-0x20c0
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw s0,0x18(a0)
lw s1,0xc(s0)
beq s1,a1,0x0005aa4c
_or v0,zero,zero
beq a1,zero,0x0005aa30
_sw a1,0xc(s0)
lw v0,0x8(a0)
beq v0,zero,0x0005aa30
_lw t9,-0x7d7c(gp)
addiu t9,t9,-0x5f98
bal 0x0005a068
_nop
sw s1,0xc(s0)
li v0,0x1
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "bool FUN_0005a924(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_0005a924(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_0005a924(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_2c = PTR_LAB_00190ba4 + -0x33f8;" (assignment_expression "local_2c = PTR_LAB_00190ba4 + -0x33f8" identifier = (binary_expression "PTR_LAB_00190ba4 + -0x33f8" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    local_1c._0_1_ = 0;\n  }" { (expression_statement "local_1c._0_1_ = 0;" (assignment_expression "local_1c._0_1_ = 0" (field_expression "local_1c._0_1_" identifier . field_identifier) = number_literal) ;) }) (else_clause "else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" else (compound_statement "{\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" { (expression_statement "FUN_0005a2c8(&local_30);" (call_expression "FUN_0005a2c8(&local_30)" identifier (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))) ;) (expression_statement "param_2 = param_1;" (assignment_expression "param_2 = param_1" identifier = identifier) ;) }))) (expression_statement "bVar2 = local_1c._0_1_;" (assignment_expression "bVar2 = local_1c._0_1_" identifier = (field_expression "local_1c._0_1_" identifier . field_identifier)) ;) (if_statement "if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" { (expression_statement "bVar2 = local_1c._0_1_ & 0xfd;" (assignment_expression "bVar2 = local_1c._0_1_ & 0xfd" identifier = (binary_expression "local_1c._0_1_ & 0xfd" (field_expression "local_1c._0_1_" identifier . field_identifier) & number_literal)) ;) })) (if_statement "if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return bVar2 != 0;\n  }" { (return_statement "return bVar2 != 0;" return (binary_expression "bVar2 != 0" identifier != number_literal) ;) })) (expression_statement "iVar3 = local_14;" (assignment_expression "iVar3 = local_14" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = *(int *)(iVar3 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x18)" identifier = (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" if (parenthesized_expression "(iVar5 != param_2)" ( (binary_expression "iVar5 != param_2" identifier != identifier) )) (compound_statement "{\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" { (expression_statement "*(int *)(iVar4 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar4 + 0xc) = param_2" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }" if (parenthesized_expression "((param_2 != 0) && (*(int *)(iVar3 + 8) != 0))" ( (binary_expression "(param_2 != 0) && (*(int *)(iVar3 + 8) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" ( (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_0005a068();\n    }" { (expression_statement "FUN_0005a068();" (call_expression "FUN_0005a068()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*(int *)(iVar4 + 0xc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return true;" return true ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "int sqlite3ExprReferencesUpdatedColumn(Expr *pExpr,int *aiChng,int chngRowid)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  Walker *pWalker;\n  WindowRewrite *pWVar3;\n  Select *pSVar4;\n  Walker w;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8);\n  w.pParse = (Parse *)0x0;\n  w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n  w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n  w.walkerDepth = 0;\n  w.eCode = '\0';\n  w._21_3_ = 0;\n  pWalker = *(Walker **)PTR___stack_chk_guard_00190e24;\n  w.u.aiCol = aiChng;\n  if (pExpr == (Expr *)0x0) {\n    bVar2 = 0;\n    pExpr = (Expr *)aiChng;\n  }\n  else {\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }\n  if (chngRowid == 0) {\n    bVar2 = bVar2 & 0xfd;\n  }\n  if (pWalker == *(Walker **)puVar1) {\n    return (uint)(bVar2 != 0);\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  pWVar3 = (pWalker->u).pRewrite;\n  pSVar4 = pWVar3->pSubSelect;\n  if (pSVar4 != (Select *)pExpr) {\n    pWVar3->pSubSelect = (Select *)pExpr;\n    if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }\n    pWVar3->pSubSelect = pSVar4;\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "int sqlite3ExprReferencesUpdatedColumn(Expr *pExpr,int *aiChng,int chngRowid)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  Walker *pWalker;\n  WindowRewrite *pWVar3;\n  Select *pSVar4;\n  Walker w;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8);\n  w.pParse = (Parse *)0x0;\n  w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n  w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n  w.walkerDepth = 0;\n  w.eCode = '\0';\n  w._21_3_ = 0;\n  pWalker = *(Walker **)PTR___stack_chk_guard_00190e24;\n  w.u.aiCol = aiChng;\n  if (pExpr == (Expr *)0x0) {\n    bVar2 = 0;\n    pExpr = (Expr *)aiChng;\n  }\n  else {\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }\n  if (chngRowid == 0) {\n    bVar2 = bVar2 & 0xfd;\n  }\n  if (pWalker == *(Walker **)puVar1) {\n    return (uint)(bVar2 != 0);\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  pWVar3 = (pWalker->u).pRewrite;\n  pSVar4 = pWVar3->pSubSelect;\n  if (pSVar4 != (Select *)pExpr) {\n    pWVar3->pSubSelect = (Select *)pExpr;\n    if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }\n    pWVar3->pSubSelect = pSVar4;\n    return 1;\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3ExprReferencesUpdatedColumn(Expr *pExpr,int *aiChng,int chngRowid)" identifier (parameter_list "(Expr *pExpr,int *aiChng,int chngRowid)" ( (parameter_declaration "Expr *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) , (parameter_declaration "int *aiChng" primitive_type (pointer_declarator "*aiChng" * identifier)) , (parameter_declaration "int chngRowid" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  Walker *pWalker;\n  WindowRewrite *pWVar3;\n  Select *pSVar4;\n  Walker w;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8);\n  w.pParse = (Parse *)0x0;\n  w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;\n  w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;\n  w.walkerDepth = 0;\n  w.eCode = '\0';\n  w._21_3_ = 0;\n  pWalker = *(Walker **)PTR___stack_chk_guard_00190e24;\n  w.u.aiCol = aiChng;\n  if (pExpr == (Expr *)0x0) {\n    bVar2 = 0;\n    pExpr = (Expr *)aiChng;\n  }\n  else {\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }\n  if (chngRowid == 0) {\n    bVar2 = bVar2 & 0xfd;\n  }\n  if (pWalker == *(Walker **)puVar1) {\n    return (uint)(bVar2 != 0);\n  }\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  pWVar3 = (pWalker->u).pRewrite;\n  pSVar4 = pWVar3->pSubSelect;\n  if (pSVar4 != (Select *)pExpr) {\n    pWVar3->pSubSelect = (Select *)pExpr;\n    if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }\n    pWVar3->pSubSelect = pSVar4;\n    return 1;\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "Walker *pWalker;" type_identifier (pointer_declarator "*pWalker" * identifier) ;) (declaration "WindowRewrite *pWVar3;" type_identifier (pointer_declarator "*pWVar3" * identifier) ;) (declaration "Select *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "Walker w;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8);" (assignment_expression "w.xExprCallback = (_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8)" (field_expression "w.xExprCallback" identifier . field_identifier) = (cast_expression "(_func_int_Walker_ptr_Expr_ptr *)(PTR_LAB_00190ba4 + -0x33f8)" ( (type_descriptor "_func_int_Walker_ptr_Expr_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba4 + -0x33f8)" ( (binary_expression "PTR_LAB_00190ba4 + -0x33f8" identifier + number_literal) )))) ;) (expression_statement "w.pParse = (Parse *)0x0;" (assignment_expression "w.pParse = (Parse *)0x0" (field_expression "w.pParse" identifier . field_identifier) = (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0;" (assignment_expression "w.xSelectCallback = (_func_int_Walker_ptr_Select_ptr *)0x0" (field_expression "w.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)) ;) (expression_statement "w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0;" (assignment_expression "w.xSelectCallback2 = (_func_void_Walker_ptr_Select_ptr *)0x0" (field_expression "w.xSelectCallback2" identifier . field_identifier) = (cast_expression "(_func_void_Walker_ptr_Select_ptr *)0x0" ( (type_descriptor "_func_void_Walker_ptr_Select_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "w.walkerDepth = 0;" (assignment_expression "w.walkerDepth = 0" (field_expression "w.walkerDepth" identifier . field_identifier) = number_literal) ;) (expression_statement "w.eCode = '\0';" (assignment_expression "w.eCode = '\0'" (field_expression "w.eCode" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "w._21_3_ = 0;" (assignment_expression "w._21_3_ = 0" (field_expression "w._21_3_" identifier . field_identifier) = number_literal) ;) (expression_statement "pWalker = *(Walker **)PTR___stack_chk_guard_00190e24;" (assignment_expression "pWalker = *(Walker **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(Walker **)PTR___stack_chk_guard_00190e24" * (cast_expression "(Walker **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "Walker **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "w.u.aiCol = aiChng;" (assignment_expression "w.u.aiCol = aiChng" (field_expression "w.u.aiCol" (field_expression "w.u" identifier . field_identifier) . field_identifier) = identifier) ;) (if_statement "if (pExpr == (Expr *)0x0) {\n    bVar2 = 0;\n    pExpr = (Expr *)aiChng;\n  }\n  else {\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }" if (parenthesized_expression "(pExpr == (Expr *)0x0)" ( (binary_expression "pExpr == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar2 = 0;\n    pExpr = (Expr *)aiChng;\n  }" { (expression_statement "bVar2 = 0;" (assignment_expression "bVar2 = 0" identifier = number_literal) ;) (expression_statement "pExpr = (Expr *)aiChng;" (assignment_expression "pExpr = (Expr *)aiChng" identifier = (cast_expression "(Expr *)aiChng" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }" else (compound_statement "{\n    walkExpr(&w,pExpr);\n    bVar2 = w.eCode;\n  }" { (expression_statement "walkExpr(&w,pExpr);" (call_expression "walkExpr(&w,pExpr)" identifier (argument_list "(&w,pExpr)" ( (pointer_expression "&w" & identifier) , identifier ))) ;) (expression_statement "bVar2 = w.eCode;" (assignment_expression "bVar2 = w.eCode" identifier = (field_expression "w.eCode" identifier . field_identifier)) ;) }))) (if_statement "if (chngRowid == 0) {\n    bVar2 = bVar2 & 0xfd;\n  }" if (parenthesized_expression "(chngRowid == 0)" ( (binary_expression "chngRowid == 0" identifier == number_literal) )) (compound_statement "{\n    bVar2 = bVar2 & 0xfd;\n  }" { (expression_statement "bVar2 = bVar2 & 0xfd;" (assignment_expression "bVar2 = bVar2 & 0xfd" identifier = (binary_expression "bVar2 & 0xfd" identifier & number_literal)) ;) })) (if_statement "if (pWalker == *(Walker **)puVar1) {\n    return (uint)(bVar2 != 0);\n  }" if (parenthesized_expression "(pWalker == *(Walker **)puVar1)" ( (binary_expression "pWalker == *(Walker **)puVar1" identifier == (pointer_expression "*(Walker **)puVar1" * (cast_expression "(Walker **)puVar1" ( (type_descriptor "Walker **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return (uint)(bVar2 != 0);\n  }" { (return_statement "return (uint)(bVar2 != 0);" return (call_expression "(uint)(bVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) ))) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pWVar3 = (pWalker->u).pRewrite;" (assignment_expression "pWVar3 = (pWalker->u).pRewrite" identifier = (field_expression "(pWalker->u).pRewrite" (parenthesized_expression "(pWalker->u)" ( (field_expression "pWalker->u" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pSVar4 = pWVar3->pSubSelect;" (assignment_expression "pSVar4 = pWVar3->pSubSelect" identifier = (field_expression "pWVar3->pSubSelect" identifier -> field_identifier)) ;) (if_statement "if (pSVar4 != (Select *)pExpr) {\n    pWVar3->pSubSelect = (Select *)pExpr;\n    if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }\n    pWVar3->pSubSelect = pSVar4;\n    return 1;\n  }" if (parenthesized_expression "(pSVar4 != (Select *)pExpr)" ( (binary_expression "pSVar4 != (Select *)pExpr" identifier != (cast_expression "(Select *)pExpr" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    pWVar3->pSubSelect = (Select *)pExpr;\n    if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }\n    pWVar3->pSubSelect = pSVar4;\n    return 1;\n  }" { (expression_statement "pWVar3->pSubSelect = (Select *)pExpr;" (assignment_expression "pWVar3->pSubSelect = (Select *)pExpr" (field_expression "pWVar3->pSubSelect" identifier -> field_identifier) = (cast_expression "(Select *)pExpr" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)) {\n      sqlite3WalkSelect(pWalker,(Select *)pExpr);\n    }" if (parenthesized_expression "(((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0))" ( (binary_expression "((Select *)pExpr != (Select *)0x0) &&\n       (pWalker->xSelectCallback != (_func_int_Walker_ptr_Select_ptr *)0x0)" (parenthesized_expression "((Select *)pExpr != (Select *)0x0)" ( (binary_expression "(Select *)pExpr != (Select *)0x0" (cast_expression "(Select *)pExpr" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) 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,(Select *)pExpr);\n    }" { (expression_statement "sqlite3WalkSelect(pWalker,(Select *)pExpr);" (call_expression "sqlite3WalkSelect(pWalker,(Select *)pExpr)" identifier (argument_list "(pWalker,(Select *)pExpr)" ( identifier , (cast_expression "(Select *)pExpr" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (expression_statement "pWVar3->pSubSelect = pSVar4;" (assignment_expression "pWVar3->pSubSelect = pSVar4" (field_expression "pWVar3->pSubSelect" identifier -> field_identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool FUN_0005a924(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_0005a924(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_0005a924(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "local_2c = PTR_LAB_00190ba4 + -0x33f8;" (assignment_expression "local_2c = PTR_LAB_00190ba4 + -0x33f8" identifier = (binary_expression "PTR_LAB_00190ba4 + -0x33f8" identifier + number_literal)) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" * (cast_expression "(int *)PTR___stack_chk_guard_00190e24" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    local_1c._0_1_ = 0;\n  }" { (expression_statement "local_1c._0_1_ = 0;" (assignment_expression "local_1c._0_1_ = 0" (field_expression "local_1c._0_1_" identifier . field_identifier) = number_literal) ;) }) (else_clause "else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" else (compound_statement "{\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" { (expression_statement "FUN_0005a2c8(&local_30);" (call_expression "FUN_0005a2c8(&local_30)" identifier (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) ))) ;) (expression_statement "param_2 = param_1;" (assignment_expression "param_2 = param_1" identifier = identifier) ;) }))) (expression_statement "bVar2 = local_1c._0_1_;" (assignment_expression "bVar2 = local_1c._0_1_" identifier = (field_expression "local_1c._0_1_" identifier . field_identifier)) ;) (if_statement "if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" { (expression_statement "bVar2 = local_1c._0_1_ & 0xfd;" (assignment_expression "bVar2 = local_1c._0_1_ & 0xfd" identifier = (binary_expression "local_1c._0_1_ & 0xfd" (field_expression "local_1c._0_1_" identifier . field_identifier) & number_literal)) ;) })) (if_statement "if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return bVar2 != 0;\n  }" { (return_statement "return bVar2 != 0;" return (binary_expression "bVar2 != 0" identifier != number_literal) ;) })) (expression_statement "iVar3 = local_14;" (assignment_expression "iVar3 = local_14" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = *(int *)(iVar3 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x18)" identifier = (pointer_expression "*(int *)(iVar3 + 0x18)" * (cast_expression "(int *)(iVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" identifier = (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" if (parenthesized_expression "(iVar5 != param_2)" ( (binary_expression "iVar5 != param_2" identifier != identifier) )) (compound_statement "{\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" { (expression_statement "*(int *)(iVar4 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar4 + 0xc) = param_2" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }" if (parenthesized_expression "((param_2 != 0) && (*(int *)(iVar3 + 8) != 0))" ( (binary_expression "(param_2 != 0) && (*(int *)(iVar3 + 8) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" ( (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      FUN_0005a068();\n    }" { (expression_statement "FUN_0005a068();" (call_expression "FUN_0005a068()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*(int *)(iVar4 + 0xc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return true;" return true ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (binary_expression IDENT != LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return BOOL ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_0005a924(int param_1,int param_2,int param_3)\n\n{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_0005a924(int param_1,int param_2,int param_3)" (identifier "FUN_0005a924") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  byte bVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 local_30;\n  undefined *local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00190e24;\n  local_2c = PTR_LAB_00190ba4 + -0x33f8;\n  local_30 = 0;\n  local_28 = 0;\n  local_24 = 0;\n  local_20 = 0;\n  local_1c = 0;\n  local_14 = *(int *)PTR___stack_chk_guard_00190e24;\n  local_18 = param_2;\n  if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }\n  bVar2 = local_1c._0_1_;\n  if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }\n  iVar3 = local_14;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  iVar4 = *(int *)(iVar3 + 0x18);\n  iVar5 = *(int *)(iVar4 + 0xc);\n  if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }\n  return false;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined *local_2c;" (type_identifier "undefined") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00190e24" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "local_2c = PTR_LAB_00190ba4 + -0x33f8;" (assignment_expression "local_2c = PTR_LAB_00190ba4 + -0x33f8" (identifier "local_2c") (= "=") (binary_expression "PTR_LAB_00190ba4 + -0x33f8" (identifier "PTR_LAB_00190ba4") (+ "+") (number_literal "-0x33f8"))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_00190e24" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "local_18 = param_2;" (assignment_expression "local_18 = param_2" (identifier "local_18") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_1 == 0) {\n    local_1c._0_1_ = 0;\n  }\n  else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_1c._0_1_ = 0;\n  }" ({ "{") (expression_statement "local_1c._0_1_ = 0;" (assignment_expression "local_1c._0_1_ = 0" (field_expression "local_1c._0_1_" (identifier "local_1c") (. ".") (field_identifier "_0_1_")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" (else "else") (compound_statement "{\n    FUN_0005a2c8(&local_30);\n    param_2 = param_1;\n  }" ({ "{") (expression_statement "FUN_0005a2c8(&local_30);" (call_expression "FUN_0005a2c8(&local_30)" (identifier "FUN_0005a2c8") (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")"))) (; ";")) (expression_statement "param_2 = param_1;" (assignment_expression "param_2 = param_1" (identifier "param_2") (= "=") (identifier "param_1")) (; ";")) (} "}")))) (expression_statement "bVar2 = local_1c._0_1_;" (assignment_expression "bVar2 = local_1c._0_1_" (identifier "bVar2") (= "=") (field_expression "local_1c._0_1_" (identifier "local_1c") (. ".") (field_identifier "_0_1_"))) (; ";")) (if_statement "if (param_3 == 0) {\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar2 = local_1c._0_1_ & 0xfd;\n  }" ({ "{") (expression_statement "bVar2 = local_1c._0_1_ & 0xfd;" (assignment_expression "bVar2 = local_1c._0_1_ & 0xfd" (identifier "bVar2") (= "=") (binary_expression "local_1c._0_1_ & 0xfd" (field_expression "local_1c._0_1_" (identifier "local_1c") (. ".") (field_identifier "_0_1_")) (& "&") (number_literal "0xfd"))) (; ";")) (} "}"))) (if_statement "if (local_14 == *(int *)puVar1) {\n    return bVar2 != 0;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar1)" (( "(") (binary_expression "local_14 == *(int *)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return bVar2 != 0;\n  }" ({ "{") (return_statement "return bVar2 != 0;" (return "return") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar3 = local_14;" (assignment_expression "iVar3 = local_14" (identifier "iVar3") (= "=") (identifier "local_14")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar3 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar3 + 0x18)" (* "*") (cast_expression "(int *)(iVar3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0xc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar5 != param_2) {\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" (if "if") (parenthesized_expression "(iVar5 != param_2)" (( "(") (binary_expression "iVar5 != param_2" (identifier "iVar5") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    *(int *)(iVar4 + 0xc) = param_2;\n    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }\n    *(int *)(iVar4 + 0xc) = iVar5;\n    return true;\n  }" ({ "{") (expression_statement "*(int *)(iVar4 + 0xc) = param_2;" (assignment_expression "*(int *)(iVar4 + 0xc) = param_2" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {\n      FUN_0005a068();\n    }" (if "if") (parenthesized_expression "((param_2 != 0) && (*(int *)(iVar3 + 8) != 0))" (( "(") (binary_expression "(param_2 != 0) && (*(int *)(iVar3 + 8) != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar3 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 8) != 0" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_0005a068();\n    }" ({ "{") (expression_statement "FUN_0005a068();" (call_expression "FUN_0005a068()" (identifier "FUN_0005a068") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar4 + 0xc) = iVar5;" (assignment_expression "*(int *)(iVar4 + 0xc) = iVar5" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)))))) (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: (identifier))))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (true)))) (return_statement (false)))))

bool MASKED(int param_1,int param_2,int param_3)

{
  undefined *puVar1;
  byte bVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 local_30;
  undefined *local_2c;
  undefined4 local_28;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  int local_18;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_00190e24;
  local_2c = PTR_LAB_00190ba4 + -0x33f8;
  local_30 = 0;
  local_28 = 0;
  local_24 = 0;
  local_20 = 0;
  local_1c = 0;
  local_14 = *(int *)PTR___stack_chk_guard_00190e24;
  local_18 = param_2;
  if (param_1 == 0) {
    local_1c._0_1_ = 0;
  }
  else {
    FUN_0005a2c8(&local_30);
    param_2 = param_1;
  }
  bVar2 = local_1c._0_1_;
  if (param_3 == 0) {
    bVar2 = local_1c._0_1_ & 0xfd;
  }
  if (local_14 == *(int *)puVar1) {
    return bVar2 != 0;
  }
  iVar3 = local_14;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  iVar4 = *(int *)(iVar3 + 0x18);
  iVar5 = *(int *)(iVar4 + 0xc);
  if (iVar5 != param_2) {
    *(int *)(iVar4 + 0xc) = param_2;
    if ((param_2 != 0) && (*(int *)(iVar3 + 8) != 0)) {
      FUN_0005a068();
    }
    *(int *)(iVar4 + 0xc) = iVar5;
    return true;
  }
  return false;
}

