
void sqlite3_result_error_code(sqlite3_context *pCtx,int errCode)

{
  int iVar1;
  char *z;
  Mem *pMem;
  
  pMem = pCtx->pOut;
  iVar1 = -1;
  if (errCode != 0) {
    iVar1 = errCode;
  }
  pCtx->isError = iVar1;
  if ((pMem->flags & 1) == 0) {
    return;
  }
  z = sqlite3ErrStr(errCode);
  sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0);
  return;
}



void sqlite3_result_error_code(int *param_1,int param_2)

{
  int iVar1;
  undefined8 uVar2;
  
  iVar1 = -1;
  if (param_2 != 0) {
    iVar1 = param_2;
  }
  param_1[5] = iVar1;
  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {
    return;
  }
  uVar2 = FUN_0003cd00(param_2);
  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);
  return;
}


lui gp,0x11
addiu gp,gp,-0x5d18
addu gp,gp,t9
li v0,-0x1
lw v1,0x0(a0)
movn v0,a1,a1
sw v0,0x14(a0)
lhu v0,0x8(v1)
andi v0,v0,0x1
bne v0,zero,0x0005a2fc
_nop
jr ra
_nop
lw t9,-0x7eec(gp)
addiu sp,sp,-0x28
addiu t9,t9,-0x3300
sw ra,0x24(sp)
sw gp,0x18(sp)
bal 0x0003cd00
_or a0,a1,zero
li a3,0x1
lw gp,0x18(sp)
li a2,-0x1
sw zero,0x10(sp)
or a1,v0,zero
lw t9,-0x7e9c(gp)
addiu t9,t9,-0x6ad4
bal 0x0005952c
_or a0,v1,zero
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void sqlite3_result_error_code(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}\n\n" (function_definition "void sqlite3_result_error_code(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" primitive_type (function_declarator "sqlite3_result_error_code(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = param_2;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = param_2;\n  }" { (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" identifier = identifier) ;) })) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }" if (parenthesized_expression "((*(ushort *)(*param_1 + 8) & 1) == 0)" ( (binary_expression "(*(ushort *)(*param_1 + 8) & 1) == 0" (parenthesized_expression "(*(ushort *)(*param_1 + 8) & 1)" ( (binary_expression "*(ushort *)(*param_1 + 8) & 1" (pointer_expression "*(ushort *)(*param_1 + 8)" * (cast_expression "(ushort *)(*param_1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_0003cd00(param_2);" (assignment_expression "uVar2 = FUN_0003cd00(param_2)" identifier = (call_expression "FUN_0003cd00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);" (call_expression "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" identifier (argument_list "((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" ( (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , number_literal , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3_result_error_code(sqlite3_context *pCtx,int errCode)\n\n{\n  int iVar1;\n  char *z;\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  iVar1 = -1;\n  if (errCode != 0) {\n    iVar1 = errCode;\n  }\n  pCtx->isError = iVar1;\n  if ((pMem->flags & 1) == 0) {\n    return;\n  }\n  z = sqlite3ErrStr(errCode);\n  sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0);\n  return;\n}\n\n" (function_definition "void sqlite3_result_error_code(sqlite3_context *pCtx,int errCode)\n\n{\n  int iVar1;\n  char *z;\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  iVar1 = -1;\n  if (errCode != 0) {\n    iVar1 = errCode;\n  }\n  pCtx->isError = iVar1;\n  if ((pMem->flags & 1) == 0) {\n    return;\n  }\n  z = sqlite3ErrStr(errCode);\n  sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0);\n  return;\n}" primitive_type (function_declarator "sqlite3_result_error_code(sqlite3_context *pCtx,int errCode)" identifier (parameter_list "(sqlite3_context *pCtx,int errCode)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int errCode" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *z;\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  iVar1 = -1;\n  if (errCode != 0) {\n    iVar1 = errCode;\n  }\n  pCtx->isError = iVar1;\n  if ((pMem->flags & 1) == 0) {\n    return;\n  }\n  z = sqlite3ErrStr(errCode);\n  sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *z;" primitive_type (pointer_declarator "*z" * identifier) ;) (declaration "Mem *pMem;" type_identifier (pointer_declarator "*pMem" * identifier) ;) (expression_statement "pMem = pCtx->pOut;" (assignment_expression "pMem = pCtx->pOut" identifier = (field_expression "pCtx->pOut" identifier -> field_identifier)) ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (errCode != 0) {\n    iVar1 = errCode;\n  }" if (parenthesized_expression "(errCode != 0)" ( (binary_expression "errCode != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = errCode;\n  }" { (expression_statement "iVar1 = errCode;" (assignment_expression "iVar1 = errCode" identifier = identifier) ;) })) (expression_statement "pCtx->isError = iVar1;" (assignment_expression "pCtx->isError = iVar1" (field_expression "pCtx->isError" identifier -> field_identifier) = identifier) ;) (if_statement "if ((pMem->flags & 1) == 0) {\n    return;\n  }" if (parenthesized_expression "((pMem->flags & 1) == 0)" ( (binary_expression "(pMem->flags & 1) == 0" (parenthesized_expression "(pMem->flags & 1)" ( (binary_expression "pMem->flags & 1" (field_expression "pMem->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "z = sqlite3ErrStr(errCode);" (assignment_expression "z = sqlite3ErrStr(errCode)" identifier = (call_expression "sqlite3ErrStr(errCode)" identifier (argument_list "(errCode)" ( identifier )))) ;) (expression_statement "sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0);" (call_expression "sqlite3VdbeMemSetStr(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0)" identifier (argument_list "(pMem,z,-1,'\x01',(_func_void_void_ptr *)0x0)" ( identifier , identifier , number_literal , (char_literal "'\x01'" ' escape_sequence ') , (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3_result_error_code(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}\n\n" (function_definition "void sqlite3_result_error_code(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" primitive_type (function_declarator "sqlite3_result_error_code(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) (if_statement "if (param_2 != 0) {\n    iVar1 = param_2;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = param_2;\n  }" { (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" identifier = identifier) ;) })) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }" if (parenthesized_expression "((*(ushort *)(*param_1 + 8) & 1) == 0)" ( (binary_expression "(*(ushort *)(*param_1 + 8) & 1) == 0" (parenthesized_expression "(*(ushort *)(*param_1 + 8) & 1)" ( (binary_expression "*(ushort *)(*param_1 + 8) & 1" (pointer_expression "*(ushort *)(*param_1 + 8)" * (cast_expression "(ushort *)(*param_1 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_0003cd00(param_2);" (assignment_expression "uVar2 = FUN_0003cd00(param_2)" identifier = (call_expression "FUN_0003cd00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);" (call_expression "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" identifier (argument_list "((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" ( (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" ( (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , number_literal , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 (pointer_expression * IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , LIT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void sqlite3_result_error_code(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" (primitive_type "void") (function_declarator "sqlite3_result_error_code(int *param_1,int param_2)" (identifier "sqlite3_result_error_code") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  \n  iVar1 = -1;\n  if (param_2 != 0) {\n    iVar1 = param_2;\n  }\n  param_1[5] = iVar1;\n  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }\n  uVar2 = FUN_0003cd00(param_2);\n  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" (identifier "iVar1") (= "=") (number_literal "-1")) (; ";")) (if_statement "if (param_2 != 0) {\n    iVar1 = param_2;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = param_2;\n  }" ({ "{") (expression_statement "iVar1 = param_2;" (assignment_expression "iVar1 = param_2" (identifier "iVar1") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "param_1[5] = iVar1;" (assignment_expression "param_1[5] = iVar1" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if ((*(ushort *)(*param_1 + 8) & 1) == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(ushort *)(*param_1 + 8) & 1) == 0)" (( "(") (binary_expression "(*(ushort *)(*param_1 + 8) & 1) == 0" (parenthesized_expression "(*(ushort *)(*param_1 + 8) & 1)" (( "(") (binary_expression "*(ushort *)(*param_1 + 8) & 1" (pointer_expression "*(ushort *)(*param_1 + 8)" (* "*") (cast_expression "(ushort *)(*param_1 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_0003cd00(param_2);" (assignment_expression "uVar2 = FUN_0003cd00(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_0003cd00(param_2)" (identifier "FUN_0003cd00") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);" (call_expression "FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" (identifier "FUN_0005952c") (argument_list "((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0)" (( "(") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (, ",") (cast_expression "(int)((ulonglong)uVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar2 >> 0x20" (cast_expression "(ulonglong)uVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar2")) (>> ">>") (number_literal "0x20")) () ")"))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pCtx,int var_1)

{
  int iVar1;
  char *z;
  type_2 *pMem;
  
  pMem = pCtx->pOut;
  iVar1 = -1;
  if (var_1 != 0) {
    iVar1 = var_1;
  }
  pCtx->isError = iVar1;
  if ((pMem->flags & 1) == 0) {
    return;
  }
  z = var_2(var_1);
  var_3(pMem,z,-1,'\x01',(type_3 *)0x0);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (number_literal) (number_literal) (number_literal)))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  int iVar1;
  undefined8 uVar2;
  
  iVar1 = -1;
  if (param_2 != 0) {
    iVar1 = param_2;
  }
  param_1[5] = iVar1;
  if ((*(ushort *)(*param_1 + 8) & 1) == 0) {
    return;
  }
  uVar2 = FUN_0003cd00(param_2);
  FUN_0005952c((int)uVar2,(int)((ulonglong)uVar2 >> 0x20),0xffffffff,1,0);
  return;
}

