
void vdbeMemClearExternAndSetNull(Mem *p)

{
  ushort uVar1;
  
  uVar1 = p->flags;
  if ((uVar1 & 0x2000) != 0) {
    sqlite3VdbeMemFinalize(p,(p->u).pDef);
    uVar1 = p->flags;
  }
  if ((uVar1 & 0x400) != 0) {
    (*p->xDel)(p->z);
  }
  p->flags = 1;
  return;
}



void FUN_00028b20(undefined4 *param_1)

{
  ushort uVar1;
  
  uVar1 = *(ushort *)(param_1 + 2);
  if ((uVar1 & 0x2000) != 0) {
    FUN_000289d0(param_1,*param_1);
    uVar1 = *(ushort *)(param_1 + 2);
  }
  if ((uVar1 & 0x400) != 0) {
    (*(code *)param_1[9])(param_1[4]);
  }
  *(undefined2 *)(param_1 + 2) = 1;
  return;
}


lui gp,0xd
addiu gp,gp,0x4780
addu gp,gp,t9
addiu sp,sp,-0x20
lhu v0,0x8(a0)
andi v1,v0,0x2000
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
bne v1,zero,0x00028b7c
_sw ra,0x1c(sp)
andi v0,v0,0x400
beq v0,zero,0x00028b68
_lw ra,0x1c(sp)
lw t9,0x24(s0)
jalr t9
_lw a0,0x10(s0)
lw ra,0x1c(sp)
li v0,0x1
sh v0,0x8(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7fb4(gp)
addiu t9,t9,-0x7630
bal 0x000289d0
_lw a1,0x0(a0)
b 0x00028b4c
_lhu v0,0x8(s0)
(translation_unit "void FUN_00028b20(undefined4 *param_1)\n\n{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00028b20(undefined4 *param_1)\n\n{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00028b20(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" identifier = (pointer_expression "*(ushort *)(param_1 + 2)" * (cast_expression "(ushort *)(param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" if (parenthesized_expression "((uVar1 & 0x2000) != 0)" ( (binary_expression "(uVar1 & 0x2000) != 0" (parenthesized_expression "(uVar1 & 0x2000)" ( (binary_expression "uVar1 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" { (expression_statement "FUN_000289d0(param_1,*param_1);" (call_expression "FUN_000289d0(param_1,*param_1)" identifier (argument_list "(param_1,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" identifier = (pointer_expression "*(ushort *)(param_1 + 2)" * (cast_expression "(ushort *)(param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) })) (if_statement "if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }" if (parenthesized_expression "((uVar1 & 0x400) != 0)" ( (binary_expression "(uVar1 & 0x400) != 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)param_1[9])(param_1[4]);\n  }" { (expression_statement "(*(code *)param_1[9])(param_1[4]);" (call_expression "(*(code *)param_1[9])(param_1[4])" (parenthesized_expression "(*(code *)param_1[9])" ( (pointer_expression "*(code *)param_1[9]" * (cast_expression "(code *)param_1[9]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*(undefined2 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined2 *)(param_1 + 2) = 1" (pointer_expression "*(undefined2 *)(param_1 + 2)" * (cast_expression "(undefined2 *)(param_1 + 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void vdbeMemClearExternAndSetNull(Mem *p)\n\n{\n  ushort uVar1;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x2000) != 0) {\n    sqlite3VdbeMemFinalize(p,(p->u).pDef);\n    uVar1 = p->flags;\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*p->xDel)(p->z);\n  }\n  p->flags = 1;\n  return;\n}\n\n" (function_definition "void vdbeMemClearExternAndSetNull(Mem *p)\n\n{\n  ushort uVar1;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x2000) != 0) {\n    sqlite3VdbeMemFinalize(p,(p->u).pDef);\n    uVar1 = p->flags;\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*p->xDel)(p->z);\n  }\n  p->flags = 1;\n  return;\n}" primitive_type (function_declarator "vdbeMemClearExternAndSetNull(Mem *p)" identifier (parameter_list "(Mem *p)" ( (parameter_declaration "Mem *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  \n  uVar1 = p->flags;\n  if ((uVar1 & 0x2000) != 0) {\n    sqlite3VdbeMemFinalize(p,(p->u).pDef);\n    uVar1 = p->flags;\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*p->xDel)(p->z);\n  }\n  p->flags = 1;\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0x2000) != 0) {\n    sqlite3VdbeMemFinalize(p,(p->u).pDef);\n    uVar1 = p->flags;\n  }" if (parenthesized_expression "((uVar1 & 0x2000) != 0)" ( (binary_expression "(uVar1 & 0x2000) != 0" (parenthesized_expression "(uVar1 & 0x2000)" ( (binary_expression "uVar1 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    sqlite3VdbeMemFinalize(p,(p->u).pDef);\n    uVar1 = p->flags;\n  }" { (expression_statement "sqlite3VdbeMemFinalize(p,(p->u).pDef);" (call_expression "sqlite3VdbeMemFinalize(p,(p->u).pDef)" identifier (argument_list "(p,(p->u).pDef)" ( identifier , (field_expression "(p->u).pDef" (parenthesized_expression "(p->u)" ( (field_expression "p->u" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "uVar1 = p->flags;" (assignment_expression "uVar1 = p->flags" identifier = (field_expression "p->flags" identifier -> field_identifier)) ;) })) (if_statement "if ((uVar1 & 0x400) != 0) {\n    (*p->xDel)(p->z);\n  }" if (parenthesized_expression "((uVar1 & 0x400) != 0)" ( (binary_expression "(uVar1 & 0x400) != 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*p->xDel)(p->z);\n  }" { (expression_statement "(*p->xDel)(p->z);" (call_expression "(*p->xDel)(p->z)" (parenthesized_expression "(*p->xDel)" ( (pointer_expression "*p->xDel" * (field_expression "p->xDel" identifier -> field_identifier)) )) (argument_list "(p->z)" ( (field_expression "p->z" identifier -> field_identifier) ))) ;) })) (expression_statement "p->flags = 1;" (assignment_expression "p->flags = 1" (field_expression "p->flags" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00028b20(undefined4 *param_1)\n\n{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00028b20(undefined4 *param_1)\n\n{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00028b20(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" identifier = (pointer_expression "*(ushort *)(param_1 + 2)" * (cast_expression "(ushort *)(param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" if (parenthesized_expression "((uVar1 & 0x2000) != 0)" ( (binary_expression "(uVar1 & 0x2000) != 0" (parenthesized_expression "(uVar1 & 0x2000)" ( (binary_expression "uVar1 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" { (expression_statement "FUN_000289d0(param_1,*param_1);" (call_expression "FUN_000289d0(param_1,*param_1)" identifier (argument_list "(param_1,*param_1)" ( identifier , (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" identifier = (pointer_expression "*(ushort *)(param_1 + 2)" * (cast_expression "(ushort *)(param_1 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) })) (if_statement "if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }" if (parenthesized_expression "((uVar1 & 0x400) != 0)" ( (binary_expression "(uVar1 & 0x400) != 0" (parenthesized_expression "(uVar1 & 0x400)" ( (binary_expression "uVar1 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)param_1[9])(param_1[4]);\n  }" { (expression_statement "(*(code *)param_1[9])(param_1[4]);" (call_expression "(*(code *)param_1[9])(param_1[4])" (parenthesized_expression "(*(code *)param_1[9])" ( (pointer_expression "*(code *)param_1[9]" * (cast_expression "(code *)param_1[9]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) })) (expression_statement "*(undefined2 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined2 *)(param_1 + 2) = 1" (pointer_expression "*(undefined2 *)(param_1 + 2)" * (cast_expression "(undefined2 *)(param_1 + 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * 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 { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00028b20(undefined4 *param_1)\n\n{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00028b20(undefined4 *param_1)" (identifier "FUN_00028b20") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ushort uVar1;\n  \n  uVar1 = *(ushort *)(param_1 + 2);\n  if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }\n  if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }\n  *(undefined2 *)(param_1 + 2) = 1;\n  return;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(param_1 + 2)" (* "*") (cast_expression "(ushort *)(param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 0x2000) != 0) {\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x2000) != 0)" (( "(") (binary_expression "(uVar1 & 0x2000) != 0" (parenthesized_expression "(uVar1 & 0x2000)" (( "(") (binary_expression "uVar1 & 0x2000" (identifier "uVar1") (& "&") (number_literal "0x2000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000289d0(param_1,*param_1);\n    uVar1 = *(ushort *)(param_1 + 2);\n  }" ({ "{") (expression_statement "FUN_000289d0(param_1,*param_1);" (call_expression "FUN_000289d0(param_1,*param_1)" (identifier "FUN_000289d0") (argument_list "(param_1,*param_1)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "uVar1 = *(ushort *)(param_1 + 2);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(param_1 + 2)" (* "*") (cast_expression "(ushort *)(param_1 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((uVar1 & 0x400) != 0) {\n    (*(code *)param_1[9])(param_1[4]);\n  }" (if "if") (parenthesized_expression "((uVar1 & 0x400) != 0)" (( "(") (binary_expression "(uVar1 & 0x400) != 0" (parenthesized_expression "(uVar1 & 0x400)" (( "(") (binary_expression "uVar1 & 0x400" (identifier "uVar1") (& "&") (number_literal "0x400")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)param_1[9])(param_1[4]);\n  }" ({ "{") (expression_statement "(*(code *)param_1[9])(param_1[4]);" (call_expression "(*(code *)param_1[9])(param_1[4])" (parenthesized_expression "(*(code *)param_1[9])" (( "(") (pointer_expression "*(code *)param_1[9]" (* "*") (cast_expression "(code *)param_1[9]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")))) () ")")) (argument_list "(param_1[4])" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined2 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined2 *)(param_1 + 2) = 1" (pointer_expression "*(undefined2 *)(param_1 + 2)" (* "*") (cast_expression "(undefined2 *)(param_1 + 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p)

{
  type_2 var_1;
  
  var_1 = p->flags;
  if ((var_1 & 0x2000) != 0) {
    var_2(p,(p->u).pDef);
    var_1 = p->flags;
  }
  if ((var_1 & 0x400) != 0) {
    (*p->xDel)(p->z);
  }
  p->flags = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (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 (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (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))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  ushort uVar1;
  
  uVar1 = *(ushort *)(param_1 + 2);
  if ((uVar1 & 0x2000) != 0) {
    FUN_000289d0(param_1,*param_1);
    uVar1 = *(ushort *)(param_1 + 2);
  }
  if ((uVar1 & 0x400) != 0) {
    (*(code *)param_1[9])(param_1[4]);
  }
  *(undefined2 *)(param_1 + 2) = 1;
  return;
}

