
void sqlite3ExprDeleteNN(sqlite3 *db,Expr *p)

{
  uint uVar1;
  Select *p_00;
  
  uVar1 = p->flags;
  if ((uVar1 & 0x804000) == 0) {
    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {
      sqlite3ExprDeleteNN(db,p->pLeft);
    }
    if (p->pRight == (Expr *)0x0) {
      uVar1 = p->flags;
      p_00 = (Select *)(p->x).pList;
      if ((uVar1 & 0x800) == 0) {
        sqlite3ExprListDelete(db,(ExprList *)p_00);
        uVar1 = p->flags;
        if ((int)(uVar1 << 7) < 0) {
          sqlite3WindowDelete(db,(p->y).pWin);
          uVar1 = p->flags;
        }
      }
      else if (p_00 != (Select *)0x0) {
        clearSelect(db,p_00,1);
        uVar1 = p->flags;
      }
    }
    else {
      sqlite3ExprDeleteNN(db,p->pRight);
      uVar1 = p->flags;
    }
  }
  if ((int)(uVar1 << 0xf) < 0) {
    if ((p->u).zToken != (char *)0x0) {
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);
      uVar1 = p->flags;
    }
  }
  if ((int)(uVar1 << 4) < 0) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00053a30. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p);
  return;
}



void FUN_00053940(undefined4 param_1,char *param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_2 + 4);
  if ((uVar1 & 0x804000) == 0) {
    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {
      FUN_00053940();
    }
    if (*(int *)(param_2 + 0x10) == 0) {
      uVar1 = *(uint *)(param_2 + 4);
      if ((uVar1 & 0x800) == 0) {
        FUN_00053b68(param_1);
        uVar1 = *(uint *)(param_2 + 4);
        if ((int)(uVar1 << 7) < 0) {
          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));
          uVar1 = *(uint *)(param_2 + 4);
        }
      }
      else if (*(int *)(param_2 + 0x14) != 0) {
        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);
        uVar1 = *(uint *)(param_2 + 4);
      }
    }
    else {
      FUN_00053940(param_1);
      uVar1 = *(uint *)(param_2 + 4);
    }
  }
  if ((int)(uVar1 << 0xf) < 0) {
    if (*(int *)(param_2 + 8) != 0) {
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);
      uVar1 = *(uint *)(param_2 + 4);
    }
  }
  if ((int)(uVar1 << 4) < 0) {
    return;
  }
  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);
  return;
}


lui gp,0xb
addiu gp,gp,-0x66a0
addu gp,gp,t9
lui v1,0x80
lw v0,0x4(a1)
addiu sp,sp,-0x28
addiu v1,v1,0x4000
sw gp,0x10(sp)
and v1,v0,v1
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
or s0,a1,zero
bne v1,zero,0x000539d0
_sw ra,0x24(sp)
lw a1,0xc(a1)
beq a1,zero,0x00053994
_li v0,0xaf
lbu v1,0x0(s0)
bne v1,v0,0x00053a50
_lw t9,-0x7f94(gp)
lw a1,0x10(s0)
bne a1,zero,0x00053a38
_lw t9,-0x7f94(gp)
lw v0,0x4(s0)
andi v1,v0,0x800
beq v1,zero,0x00053a64
_lw a1,0x14(s0)
beq a1,zero,0x000539d0
_lw t9,-0x7f94(gp)
li a2,0x1
addiu t9,t9,0x37a0
bal 0x000537a0
_or a0,s1,zero
lw gp,0x10(sp)
lw v0,0x4(s0)
ext v1,v0,0x10,0x1
beq v1,zero,0x000539fc
_nop
lw a1,0x8(s0)
beq a1,zero,0x000539fc
_lw t9,-0x7fb4(gp)
addiu t9,t9,-0x7728
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
lw v0,0x4(s0)
ext v0,v0,0x1b,0x1
beq v0,zero,0x00053a18
_lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7fb4(gp)
or a1,s0,zero
or a0,s1,zero
lw s0,0x1c(sp)
lw s1,0x20(sp)
addiu t9,t9,-0x7728
jr t9
_addiu sp,sp,0x28
addiu t9,t9,0x3940
bal 0x00053940
_or a0,s1,zero
lw gp,0x10(sp)
b 0x000539d0
_lw v0,0x4(s0)
addiu t9,t9,0x3940
bal 0x00053940
_nop
b 0x00053994
_lw gp,0x10(sp)
lw t9,-0x7f94(gp)
addiu t9,t9,0x3b68
bal 0x00053b68
_or a0,s1,zero
lw v0,0x4(s0)
ext v1,v0,0x18,0x1
beq v1,zero,0x000539d0
_lw gp,0x10(sp)
lw t9,-0x7f94(gp)
or a0,s1,zero
addiu t9,t9,0x4524
bal 0x00054524
_lw a1,0x2c(s0)
lw gp,0x10(sp)
b 0x000539d0
_lw v0,0x4(s0)
(translation_unit "void FUN_00053940(undefined4 param_1,char *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00053940(undefined4 param_1,char *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00053940(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "((uVar1 & 0x804000) == 0)" ( (binary_expression "(uVar1 & 0x804000) == 0" (parenthesized_expression "(uVar1 & 0x804000)" ( (binary_expression "uVar1 & 0x804000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" { (if_statement "if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51))" ( (binary_expression "(*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)" (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0)" ( (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*param_2 != -0x51)" ( (binary_expression "*param_2 != -0x51" (pointer_expression "*param_2" * identifier) != number_literal) ))) )) (compound_statement "{\n      FUN_00053940();\n    }" { (expression_statement "FUN_00053940();" (call_expression "FUN_00053940()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) == 0)" ( (binary_expression "*(int *)(param_2 + 0x10) == 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }" { (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" if (parenthesized_expression "((uVar1 & 0x800) == 0)" ( (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" ( (binary_expression "uVar1 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }" { (expression_statement "FUN_00053b68(param_1);" (call_expression "FUN_00053b68(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" if (parenthesized_expression "((int)(uVar1 << 7) < 0)" ( (binary_expression "(int)(uVar1 << 7) < 0" (cast_expression "(int)(uVar1 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 7)" ( (binary_expression "uVar1 << 7" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" { (expression_statement "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));" (call_expression "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0x2c))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) }) (else_clause "else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" else (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" { (expression_statement "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);" (call_expression "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1)" identifier (argument_list "(param_1,*(int *)(param_2 + 0x14),1)" ( identifier , (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })))) }) (else_clause "else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" else (compound_statement "{\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" { (expression_statement "FUN_00053940(param_1);" (call_expression "FUN_00053940(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) }))) })) (if_statement "if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "((int)(uVar1 << 0xf) < 0)" ( (binary_expression "(int)(uVar1 << 0xf) < 0" (cast_expression "(int)(uVar1 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 0xf)" ( (binary_expression "uVar1 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" { (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" ( (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) })) (if_statement "if ((int)(uVar1 << 4) < 0) {\n    return;\n  }" if (parenthesized_expression "((int)(uVar1 << 4) < 0)" ( (binary_expression "(int)(uVar1 << 4) < 0" (cast_expression "(int)(uVar1 << 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 4)" ( (binary_expression "uVar1 << 4" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3ExprDeleteNN(sqlite3 *db,Expr *p)\n\n{\n  uint uVar1;\n  Select *p_00;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x804000) == 0) {\n    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }\n    if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00053a30. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p);\n  return;\n}\n\n" (function_definition "void sqlite3ExprDeleteNN(sqlite3 *db,Expr *p)\n\n{\n  uint uVar1;\n  Select *p_00;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x804000) == 0) {\n    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }\n    if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00053a30. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p);\n  return;\n}" primitive_type (function_declarator "sqlite3ExprDeleteNN(sqlite3 *db,Expr *p)" identifier (parameter_list "(sqlite3 *db,Expr *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Expr *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  Select *p_00;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x804000) == 0) {\n    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }\n    if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00053a30. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Select *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0x804000) == 0) {\n    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }\n    if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }\n  }" if (parenthesized_expression "((uVar1 & 0x804000) == 0)" ( (binary_expression "(uVar1 & 0x804000) == 0" (parenthesized_expression "(uVar1 & 0x804000)" ( (binary_expression "uVar1 & 0x804000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }\n    if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }\n  }" { (if_statement "if ((p->pLeft != (Expr *)0x0) && (p->op != 0xaf)) {\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }" if (parenthesized_expression "((p->pLeft != (Expr *)0x0) && (p->op != 0xaf))" ( (binary_expression "(p->pLeft != (Expr *)0x0) && (p->op != 0xaf)" (parenthesized_expression "(p->pLeft != (Expr *)0x0)" ( (binary_expression "p->pLeft != (Expr *)0x0" (field_expression "p->pLeft" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(p->op != 0xaf)" ( (binary_expression "p->op != 0xaf" (field_expression "p->op" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n      sqlite3ExprDeleteNN(db,p->pLeft);\n    }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pLeft);" (call_expression "sqlite3ExprDeleteNN(db,p->pLeft)" identifier (argument_list "(db,p->pLeft)" ( identifier , (field_expression "p->pLeft" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pRight == (Expr *)0x0) {\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }\n    else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }" if (parenthesized_expression "(p->pRight == (Expr *)0x0)" ( (binary_expression "p->pRight == (Expr *)0x0" (field_expression "p->pRight" identifier -> field_identifier) == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar1 = p->flags;\n      p_00 = (Select *)(p->x).pList;\n      if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }\n    }" { (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (expression_statement "p_00 = (Select *)(p->x).pList;" (assignment_expression "p_00 = (Select *)(p->x).pList" identifier = (cast_expression "(Select *)(p->x).pList" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(p->x).pList" (parenthesized_expression "(p->x)" ( (field_expression "p->x" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if ((uVar1 & 0x800) == 0) {\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }\n      else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }" if (parenthesized_expression "((uVar1 & 0x800) == 0)" ( (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" ( (binary_expression "uVar1 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        sqlite3ExprListDelete(db,(ExprList *)p_00);\n        uVar1 = p->flags;\n        if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }\n      }" { (expression_statement "sqlite3ExprListDelete(db,(ExprList *)p_00);" (call_expression "sqlite3ExprListDelete(db,(ExprList *)p_00)" identifier (argument_list "(db,(ExprList *)p_00)" ( identifier , (cast_expression "(ExprList *)p_00" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (if_statement "if ((int)(uVar1 << 7) < 0) {\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }" if (parenthesized_expression "((int)(uVar1 << 7) < 0)" ( (binary_expression "(int)(uVar1 << 7) < 0" (cast_expression "(int)(uVar1 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 7)" ( (binary_expression "uVar1 << 7" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n          sqlite3WindowDelete(db,(p->y).pWin);\n          uVar1 = p->flags;\n        }" { (expression_statement "sqlite3WindowDelete(db,(p->y).pWin);" (call_expression "sqlite3WindowDelete(db,(p->y).pWin)" identifier (argument_list "(db,(p->y).pWin)" ( identifier , (field_expression "(p->y).pWin" (parenthesized_expression "(p->y)" ( (field_expression "p->y" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) })) }) (else_clause "else if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }" else (if_statement "if (p_00 != (Select *)0x0) {\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }" if (parenthesized_expression "(p_00 != (Select *)0x0)" ( (binary_expression "p_00 != (Select *)0x0" identifier != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        clearSelect(db,p_00,1);\n        uVar1 = p->flags;\n      }" { (expression_statement "clearSelect(db,p_00,1);" (call_expression "clearSelect(db,p_00,1)" identifier (argument_list "(db,p_00,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) })))) }) (else_clause "else {\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }" else (compound_statement "{\n      sqlite3ExprDeleteNN(db,p->pRight);\n      uVar1 = p->flags;\n    }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pRight);" (call_expression "sqlite3ExprDeleteNN(db,p->pRight)" identifier (argument_list "(db,p->pRight)" ( identifier , (field_expression "p->pRight" identifier -> field_identifier) ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) }))) })) (if_statement "if ((int)(uVar1 << 0xf) < 0) {\n    if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }\n  }" if (parenthesized_expression "((int)(uVar1 << 0xf) < 0)" ( (binary_expression "(int)(uVar1 << 0xf) < 0" (cast_expression "(int)(uVar1 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 0xf)" ( (binary_expression "uVar1 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }\n  }" { (if_statement "if ((p->u).zToken != (char *)0x0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }" if (parenthesized_expression "((p->u).zToken != (char *)0x0)" ( (binary_expression "(p->u).zToken != (char *)0x0" (field_expression "(p->u).zToken" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(db);\n      uVar1 = p->flags;\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(db)" ( identifier ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) })) })) (if_statement "if ((int)(uVar1 << 4) < 0) {\n    return;\n  }" if (parenthesized_expression "((int)(uVar1 << 4) < 0)" ( (binary_expression "(int)(uVar1 << 4) < 0" (cast_expression "(int)(uVar1 << 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 4)" ( (binary_expression "uVar1 << 4" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(db,p)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(db,p)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00053940(undefined4 param_1,char *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00053940(undefined4 param_1,char *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00053940(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "((uVar1 & 0x804000) == 0)" ( (binary_expression "(uVar1 & 0x804000) == 0" (parenthesized_expression "(uVar1 & 0x804000)" ( (binary_expression "uVar1 & 0x804000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" { (if_statement "if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }" if (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51))" ( (binary_expression "(*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)" (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0)" ( (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*param_2 != -0x51)" ( (binary_expression "*param_2 != -0x51" (pointer_expression "*param_2" * identifier) != number_literal) ))) )) (compound_statement "{\n      FUN_00053940();\n    }" { (expression_statement "FUN_00053940();" (call_expression "FUN_00053940()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x10) == 0)" ( (binary_expression "*(int *)(param_2 + 0x10) == 0" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }" { (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" if (parenthesized_expression "((uVar1 & 0x800) == 0)" ( (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" ( (binary_expression "uVar1 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }" { (expression_statement "FUN_00053b68(param_1);" (call_expression "FUN_00053b68(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" if (parenthesized_expression "((int)(uVar1 << 7) < 0)" ( (binary_expression "(int)(uVar1 << 7) < 0" (cast_expression "(int)(uVar1 << 7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 7)" ( (binary_expression "uVar1 << 7" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" { (expression_statement "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));" (call_expression "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c))" identifier (argument_list "(param_1,*(undefined4 *)(param_2 + 0x2c))" ( identifier , (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))) ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) }) (else_clause "else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" else (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" if (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" { (expression_statement "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);" (call_expression "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1)" identifier (argument_list "(param_1,*(int *)(param_2 + 0x14),1)" ( identifier , (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })))) }) (else_clause "else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" else (compound_statement "{\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" { (expression_statement "FUN_00053940(param_1);" (call_expression "FUN_00053940(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) }))) })) (if_statement "if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" if (parenthesized_expression "((int)(uVar1 << 0xf) < 0)" ( (binary_expression "(int)(uVar1 << 0xf) < 0" (cast_expression "(int)(uVar1 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 0xf)" ( (binary_expression "uVar1 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" { (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" if (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" ( (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" { (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) })) })) (if_statement "if ((int)(uVar1 << 4) < 0) {\n    return;\n  }" if (parenthesized_expression "((int)(uVar1 << 4) < 0)" ( (binary_expression "(int)(uVar1 << 4) < 0" (cast_expression "(int)(uVar1 << 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 << 4)" ( (binary_expression "uVar1 << 4" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" ( (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" * (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" ( (binary_expression "PTR_LAB_000f52ec + -0x7728" identifier + number_literal) )))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( 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) ))))) ;) })) }) (else_clause else (if_statement if (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 ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (if_statement if (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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00053940(undefined4 param_1,char *param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00053940(undefined4 param_1,char *param_2)" (identifier "FUN_00053940") (parameter_list "(undefined4 param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_2 + 4);\n  if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }\n  if ((int)(uVar1 << 4) < 0) {\n    return;\n  }\n  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 0x804000) == 0) {\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x804000) == 0)" (( "(") (binary_expression "(uVar1 & 0x804000) == 0" (parenthesized_expression "(uVar1 & 0x804000)" (( "(") (binary_expression "uVar1 & 0x804000" (identifier "uVar1") (& "&") (number_literal "0x804000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }\n    if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" ({ "{") (if_statement "if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {\n      FUN_00053940();\n    }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51))" (( "(") (binary_expression "(*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)" (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_2 != -0x51)" (( "(") (binary_expression "*param_2 != -0x51" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "-0x51")) () ")"))) () ")")) (compound_statement "{\n      FUN_00053940();\n    }" ({ "{") (expression_statement "FUN_00053940();" (call_expression "FUN_00053940()" (identifier "FUN_00053940") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_2 + 0x10) == 0) {\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }\n    else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x10) == 0" (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = *(uint *)(param_2 + 4);\n      if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }\n    }" ({ "{") (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 0x800) == 0) {\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }\n      else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" (if "if") (parenthesized_expression "((uVar1 & 0x800) == 0)" (( "(") (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" (( "(") (binary_expression "uVar1 & 0x800" (identifier "uVar1") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00053b68(param_1);\n        uVar1 = *(uint *)(param_2 + 4);\n        if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }\n      }" ({ "{") (expression_statement "FUN_00053b68(param_1);" (call_expression "FUN_00053b68(param_1)" (identifier "FUN_00053b68") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((int)(uVar1 << 7) < 0) {\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" (if "if") (parenthesized_expression "((int)(uVar1 << 7) < 0)" (( "(") (binary_expression "(int)(uVar1 << 7) < 0" (cast_expression "(int)(uVar1 << 7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 << 7)" (( "(") (binary_expression "uVar1 << 7" (identifier "uVar1") (<< "<<") (number_literal "7")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));\n          uVar1 = *(uint *)(param_2 + 4);\n        }" ({ "{") (expression_statement "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));" (call_expression "FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c))" (identifier "FUN_00054524") (argument_list "(param_1,*(undefined4 *)(param_2 + 0x2c))" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" (else "else") (if_statement "if (*(int *)(param_2 + 0x14) != 0) {\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);\n        uVar1 = *(uint *)(param_2 + 4);\n      }" ({ "{") (expression_statement "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);" (call_expression "FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1)" (identifier "FUN_000537a0") (argument_list "(param_1,*(int *)(param_2 + 0x14),1)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" (else "else") (compound_statement "{\n      FUN_00053940(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" ({ "{") (expression_statement "FUN_00053940(param_1);" (call_expression "FUN_00053940(param_1)" (identifier "FUN_00053940") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if ((int)(uVar1 << 0xf) < 0) {\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" (if "if") (parenthesized_expression "((int)(uVar1 << 0xf) < 0)" (( "(") (binary_expression "(int)(uVar1 << 0xf) < 0" (cast_expression "(int)(uVar1 << 0xf)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 << 0xf)" (( "(") (binary_expression "uVar1 << 0xf" (identifier "uVar1") (<< "<<") (number_literal "0xf")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_2 + 8) != 0) {\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) != 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);\n      uVar1 = *(uint *)(param_2 + 4);\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0x7728" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0x7728")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 4);" (assignment_expression "uVar1 = *(uint *)(param_2 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((int)(uVar1 << 4) < 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((int)(uVar1 << 4) < 0)" (( "(") (binary_expression "(int)(uVar1 << 4) < 0" (cast_expression "(int)(uVar1 << 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 << 4)" (( "(") (binary_expression "uVar1 << 4" (identifier "uVar1") (<< "<<") (number_literal "4")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);" (call_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2)" (parenthesized_expression "(*(code *)(PTR_LAB_000f52ec + -0x7728))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000f52ec + -0x7728)" (* "*") (cast_expression "(code *)(PTR_LAB_000f52ec + -0x7728)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000f52ec + -0x7728)" (( "(") (binary_expression "PTR_LAB_000f52ec + -0x7728" (identifier "PTR_LAB_000f52ec") (+ "+") (number_literal "-0x7728")) () ")")))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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 (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) 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 (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) alternative: (else_clause (if_statement condition: (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 (identifier) (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))))) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (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: (parenthesized_expression (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)))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(undefined4 param_1,char *param_2)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_2 + 4);
  if ((uVar1 & 0x804000) == 0) {
    if ((*(int *)(param_2 + 0xc) != 0) && (*param_2 != -0x51)) {
      MASKED();
    }
    if (*(int *)(param_2 + 0x10) == 0) {
      uVar1 = *(uint *)(param_2 + 4);
      if ((uVar1 & 0x800) == 0) {
        FUN_00053b68(param_1);
        uVar1 = *(uint *)(param_2 + 4);
        if ((int)(uVar1 << 7) < 0) {
          FUN_00054524(param_1,*(undefined4 *)(param_2 + 0x2c));
          uVar1 = *(uint *)(param_2 + 4);
        }
      }
      else if (*(int *)(param_2 + 0x14) != 0) {
        FUN_000537a0(param_1,*(int *)(param_2 + 0x14),1);
        uVar1 = *(uint *)(param_2 + 4);
      }
    }
    else {
      MASKED(param_1);
      uVar1 = *(uint *)(param_2 + 4);
    }
  }
  if ((int)(uVar1 << 0xf) < 0) {
    if (*(int *)(param_2 + 8) != 0) {
      (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1);
      uVar1 = *(uint *)(param_2 + 4);
    }
  }
  if ((int)(uVar1 << 4) < 0) {
    return;
  }
  (*(code *)(PTR_LAB_000f52ec + -0x7728))(param_1,param_2);
  return;
}

