
void sqlite3ErrorFinish(sqlite3 *db,int err_code)

{
  Mem *p;
  
  p = db->pErr;
  if (p != (Mem *)0x0) {
    if ((p->flags & 0x2400) == 0) {
      p->flags = 1;
    }
    else {
      vdbeMemClearExternAndSetNull(p);
    }
  }
  if ((err_code != 0xc0a) && ((err_code & 0xfbU) == 10)) {
    sqlite3SystemError(db,10);
    return;
  }
  return;
}



void FUN_0002ecc0(int param_1,uint param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x10c);
  if (iVar1 != 0) {
    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {
      *(undefined2 *)(iVar1 + 8) = 1;
    }
    else {
      FUN_0002ab1c();
    }
  }
  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {
    FUN_0002ec6c(param_1);
    return;
  }
  return;
}


lui gp,0x13
addiu gp,gp,0x48f0
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x20(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
lw a0,0x10c(a0)
beq a0,zero,0x0002ed04
_li v0,0xc0a
lhu v0,0x8(a0)
andi v0,v0,0x2400
bne v0,zero,0x0002ed28
_li v0,0x1
sh v0,0x8(a0)
li v0,0xc0a
beq a1,v0,0x0002ed18
_li v0,0xa
andi a1,a1,0xfb
beq a1,v0,0x0002ed44
_lw t9,-0x7ed8(gp)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7ed8(gp)
addiu t9,t9,-0x54e4
bal 0x0002ab1c
_sw a1,0x1c(sp)
lw gp,0x10(sp)
b 0x0002ed00
_lw a1,0x1c(sp)
or a0,s0,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
addiu t9,t9,-0x1394
b 0x0002ec6c
_addiu sp,sp,0x28
(translation_unit "void FUN_0002ecc0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0002ecc0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ecc0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10c)" identifier = (pointer_expression "*(int *)(param_1 + 0x10c)" * (cast_expression "(int *)(param_1 + 0x10c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" { (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) == 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) == 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }" { (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" * (cast_expression "(undefined2 *)(iVar1 + 8)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      FUN_0002ab1c();\n    }" else (compound_statement "{\n      FUN_0002ab1c();\n    }" { (expression_statement "FUN_0002ab1c();" (call_expression "FUN_0002ab1c()" identifier (argument_list "()" ( ))) ;) }))) })) (if_statement "if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }" if (parenthesized_expression "((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10))" ( (binary_expression "(param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)" (parenthesized_expression "(param_2 != 0xc0a)" ( (binary_expression "param_2 != 0xc0a" identifier != number_literal) )) && (parenthesized_expression "((param_2 & 0xfb) == 10)" ( (binary_expression "(param_2 & 0xfb) == 10" (parenthesized_expression "(param_2 & 0xfb)" ( (binary_expression "param_2 & 0xfb" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    FUN_0002ec6c(param_1);\n    return;\n  }" { (expression_statement "FUN_0002ec6c(param_1);" (call_expression "FUN_0002ec6c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3ErrorFinish(sqlite3 *db,int err_code)\n\n{\n  Mem *p;\n  \n  p = db->pErr;\n  if (p != (Mem *)0x0) {\n    if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }\n  }\n  if ((err_code != 0xc0a) && ((err_code & 0xfbU) == 10)) {\n    sqlite3SystemError(db,10);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void sqlite3ErrorFinish(sqlite3 *db,int err_code)\n\n{\n  Mem *p;\n  \n  p = db->pErr;\n  if (p != (Mem *)0x0) {\n    if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }\n  }\n  if ((err_code != 0xc0a) && ((err_code & 0xfbU) == 10)) {\n    sqlite3SystemError(db,10);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3ErrorFinish(sqlite3 *db,int err_code)" identifier (parameter_list "(sqlite3 *db,int err_code)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "int err_code" primitive_type identifier) ))) (compound_statement "{\n  Mem *p;\n  \n  p = db->pErr;\n  if (p != (Mem *)0x0) {\n    if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }\n  }\n  if ((err_code != 0xc0a) && ((err_code & 0xfbU) == 10)) {\n    sqlite3SystemError(db,10);\n    return;\n  }\n  return;\n}" { (declaration "Mem *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (expression_statement "p = db->pErr;" (assignment_expression "p = db->pErr" identifier = (field_expression "db->pErr" identifier -> field_identifier)) ;) (if_statement "if (p != (Mem *)0x0) {\n    if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }\n  }" if (parenthesized_expression "(p != (Mem *)0x0)" ( (binary_expression "p != (Mem *)0x0" identifier != (cast_expression "(Mem *)0x0" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }\n  }" { (if_statement "if ((p->flags & 0x2400) == 0) {\n      p->flags = 1;\n    }\n    else {\n      vdbeMemClearExternAndSetNull(p);\n    }" if (parenthesized_expression "((p->flags & 0x2400) == 0)" ( (binary_expression "(p->flags & 0x2400) == 0" (parenthesized_expression "(p->flags & 0x2400)" ( (binary_expression "p->flags & 0x2400" (field_expression "p->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      p->flags = 1;\n    }" { (expression_statement "p->flags = 1;" (assignment_expression "p->flags = 1" (field_expression "p->flags" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n      vdbeMemClearExternAndSetNull(p);\n    }" else (compound_statement "{\n      vdbeMemClearExternAndSetNull(p);\n    }" { (expression_statement "vdbeMemClearExternAndSetNull(p);" (call_expression "vdbeMemClearExternAndSetNull(p)" identifier (argument_list "(p)" ( identifier ))) ;) }))) })) (if_statement "if ((err_code != 0xc0a) && ((err_code & 0xfbU) == 10)) {\n    sqlite3SystemError(db,10);\n    return;\n  }" if (parenthesized_expression "((err_code != 0xc0a) && ((err_code & 0xfbU) == 10))" ( (binary_expression "(err_code != 0xc0a) && ((err_code & 0xfbU) == 10)" (parenthesized_expression "(err_code != 0xc0a)" ( (binary_expression "err_code != 0xc0a" identifier != number_literal) )) && (parenthesized_expression "((err_code & 0xfbU) == 10)" ( (binary_expression "(err_code & 0xfbU) == 10" (parenthesized_expression "(err_code & 0xfbU)" ( (binary_expression "err_code & 0xfbU" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    sqlite3SystemError(db,10);\n    return;\n  }" { (expression_statement "sqlite3SystemError(db,10);" (call_expression "sqlite3SystemError(db,10)" identifier (argument_list "(db,10)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0002ecc0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0002ecc0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ecc0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x10c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10c)" identifier = (pointer_expression "*(int *)(param_1 + 0x10c)" * (cast_expression "(int *)(param_1 + 0x10c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10c)" ( (binary_expression "param_1 + 0x10c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" { (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }" if (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) == 0)" ( (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) == 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" ( (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" * (cast_expression "(ushort *)(iVar1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }" { (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" * (cast_expression "(undefined2 *)(iVar1 + 8)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      FUN_0002ab1c();\n    }" else (compound_statement "{\n      FUN_0002ab1c();\n    }" { (expression_statement "FUN_0002ab1c();" (call_expression "FUN_0002ab1c()" identifier (argument_list "()" ( ))) ;) }))) })) (if_statement "if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }" if (parenthesized_expression "((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10))" ( (binary_expression "(param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)" (parenthesized_expression "(param_2 != 0xc0a)" ( (binary_expression "param_2 != 0xc0a" identifier != number_literal) )) && (parenthesized_expression "((param_2 & 0xfb) == 10)" ( (binary_expression "(param_2 & 0xfb) == 10" (parenthesized_expression "(param_2 & 0xfb)" ( (binary_expression "param_2 & 0xfb" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    FUN_0002ec6c(param_1);\n    return;\n  }" { (expression_statement "FUN_0002ec6c(param_1);" (call_expression "FUN_0002ec6c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 IDENT != 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) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0002ecc0(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002ecc0(int param_1,uint param_2)" (identifier "FUN_0002ecc0") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x10c);\n  if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }\n  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x10c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x10c)" (* "*") (cast_expression "(int *)(param_1 + 0x10c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10c)" (( "(") (binary_expression "param_1 + 0x10c" (identifier "param_1") (+ "+") (number_literal "0x10c")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }\n  }" ({ "{") (if_statement "if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }\n    else {\n      FUN_0002ab1c();\n    }" (if "if") (parenthesized_expression "((*(ushort *)(iVar1 + 8) & 0x2400) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar1 + 8) & 0x2400) == 0" (parenthesized_expression "(*(ushort *)(iVar1 + 8) & 0x2400)" (( "(") (binary_expression "*(ushort *)(iVar1 + 8) & 0x2400" (pointer_expression "*(ushort *)(iVar1 + 8)" (* "*") (cast_expression "(ushort *)(iVar1 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x2400")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined2 *)(iVar1 + 8) = 1;\n    }" ({ "{") (expression_statement "*(undefined2 *)(iVar1 + 8) = 1;" (assignment_expression "*(undefined2 *)(iVar1 + 8) = 1" (pointer_expression "*(undefined2 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined2 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      FUN_0002ab1c();\n    }" (else "else") (compound_statement "{\n      FUN_0002ab1c();\n    }" ({ "{") (expression_statement "FUN_0002ab1c();" (call_expression "FUN_0002ab1c()" (identifier "FUN_0002ab1c") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (} "}"))) (if_statement "if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {\n    FUN_0002ec6c(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10))" (( "(") (binary_expression "(param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)" (parenthesized_expression "(param_2 != 0xc0a)" (( "(") (binary_expression "param_2 != 0xc0a" (identifier "param_2") (!= "!=") (number_literal "0xc0a")) () ")")) (&& "&&") (parenthesized_expression "((param_2 & 0xfb) == 10)" (( "(") (binary_expression "(param_2 & 0xfb) == 10" (parenthesized_expression "(param_2 & 0xfb)" (( "(") (binary_expression "param_2 & 0xfb" (identifier "param_2") (& "&") (number_literal "0xfb")) () ")")) (== "==") (number_literal "10")) () ")"))) () ")")) (compound_statement "{\n    FUN_0002ec6c(param_1);\n    return;\n  }" ({ "{") (expression_statement "FUN_0002ec6c(param_1);" (call_expression "FUN_0002ec6c(param_1)" (identifier "FUN_0002ec6c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (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)))) (return_statement))) (return_statement))))

void MASKED(int param_1,uint param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x10c);
  if (iVar1 != 0) {
    if ((*(ushort *)(iVar1 + 8) & 0x2400) == 0) {
      *(undefined2 *)(iVar1 + 8) = 1;
    }
    else {
      FUN_0002ab1c();
    }
  }
  if ((param_2 != 0xc0a) && ((param_2 & 0xfb) == 10)) {
    FUN_0002ec6c(param_1);
    return;
  }
  return;
}

