
void sqlite3SystemError(sqlite3 *db,int rc)

{
  int iVar1;
  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var2;
  
  p_Var2 = db->pVfs->xGetLastError;
  if (p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {
    iVar1 = 0;
  }
  else {
    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);
  }
  db->iSysErrno = iVar1;
  return;
}



void FUN_00029db4(int *param_1)

{
  int iVar1;
  code *pcVar2;
  
  pcVar2 = *(code **)(*param_1 + 0x44);
  if (pcVar2 == (code *)0x0) {
    iVar1 = 0;
  }
  else {
    iVar1 = (*pcVar2)(*param_1,0,0);
  }
  param_1[0x12] = iVar1;
  return;
}


addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
lw a0,0x0(a0)
sw ra,0x1c(sp)
lw t9,0x44(a0)
beq t9,zero,0x00029df0
_or a2,zero,zero
jalr t9
_or a1,zero,zero
lw ra,0x1c(sp)
sw v0,0x48(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
b 0x00029ddc
_or v0,zero,zero
(translation_unit "void FUN_00029db4(int *param_1)\n\n{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}\n\n" (function_definition "void FUN_00029db4(int *param_1)\n\n{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00029db4(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = *(code **)(*param_1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*param_1 + 0x44)" identifier = (pointer_expression "*(code **)(*param_1 + 0x44)" * (cast_expression "(code **)(*param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x44)" ( (binary_expression "*param_1 + 0x44" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" else (compound_statement "{\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" { (expression_statement "iVar1 = (*pcVar2)(*param_1,0,0);" (assignment_expression "iVar1 = (*pcVar2)(*param_1,0,0)" identifier = (call_expression "(*pcVar2)(*param_1,0,0)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*param_1,0,0)" ( (pointer_expression "*param_1" * identifier) , number_literal , number_literal )))) ;) }))) (expression_statement "param_1[0x12] = iVar1;" (assignment_expression "param_1[0x12] = iVar1" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3SystemError(sqlite3 *db,int rc)\n\n{\n  int iVar1;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var2;\n  \n  p_Var2 = db->pVfs->xGetLastError;\n  if (p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }\n  db->iSysErrno = iVar1;\n  return;\n}\n\n" (function_definition "void sqlite3SystemError(sqlite3 *db,int rc)\n\n{\n  int iVar1;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var2;\n  \n  p_Var2 = db->pVfs->xGetLastError;\n  if (p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }\n  db->iSysErrno = iVar1;\n  return;\n}" primitive_type (function_declarator "sqlite3SystemError(sqlite3 *db,int rc)" identifier (parameter_list "(sqlite3 *db,int rc)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "int rc" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  _func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var2;\n  \n  p_Var2 = db->pVfs->xGetLastError;\n  if (p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }\n  db->iSysErrno = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_func_int_sqlite3_vfs_ptr_int_char_ptr *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (expression_statement "p_Var2 = db->pVfs->xGetLastError;" (assignment_expression "p_Var2 = db->pVfs->xGetLastError" identifier = (field_expression "db->pVfs->xGetLastError" (field_expression "db->pVfs" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }" if (parenthesized_expression "(p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0)" ( (binary_expression "p_Var2 == (_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vfs_ptr_int_char_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vfs_ptr_int_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }" else (compound_statement "{\n    iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);\n  }" { (expression_statement "iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0);" (assignment_expression "iVar1 = (*p_Var2)(db->pVfs,0,(char *)0x0)" identifier = (call_expression "(*p_Var2)(db->pVfs,0,(char *)0x0)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(db->pVfs,0,(char *)0x0)" ( (field_expression "db->pVfs" identifier -> field_identifier) , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) }))) (expression_statement "db->iSysErrno = iVar1;" (assignment_expression "db->iSysErrno = iVar1" (field_expression "db->iSysErrno" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029db4(int *param_1)\n\n{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}\n\n" (function_definition "void FUN_00029db4(int *param_1)\n\n{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00029db4(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = *(code **)(*param_1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*param_1 + 0x44)" identifier = (pointer_expression "*(code **)(*param_1 + 0x44)" * (cast_expression "(code **)(*param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x44)" ( (binary_expression "*param_1 + 0x44" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" else (compound_statement "{\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" { (expression_statement "iVar1 = (*pcVar2)(*param_1,0,0);" (assignment_expression "iVar1 = (*pcVar2)(*param_1,0,0)" identifier = (call_expression "(*pcVar2)(*param_1,0,0)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*param_1,0,0)" ( (pointer_expression "*param_1" * identifier) , number_literal , number_literal )))) ;) }))) (expression_statement "param_1[0x12] = iVar1;" (assignment_expression "param_1[0x12] = iVar1" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (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 ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , LIT , LIT )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00029db4(int *param_1)\n\n{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029db4(int *param_1)" (identifier "FUN_00029db4") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  \n  pcVar2 = *(code **)(*param_1 + 0x44);\n  if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }\n  param_1[0x12] = iVar1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "pcVar2 = *(code **)(*param_1 + 0x44);" (assignment_expression "pcVar2 = *(code **)(*param_1 + 0x44)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(*param_1 + 0x44)" (* "*") (cast_expression "(code **)(*param_1 + 0x44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x44)" (( "(") (binary_expression "*param_1 + 0x44" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (if_statement "if (pcVar2 == (code *)0x0) {\n    iVar1 = 0;\n  }\n  else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" (if "if") (parenthesized_expression "(pcVar2 == (code *)0x0)" (( "(") (binary_expression "pcVar2 == (code *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar1 = 0;\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" (else "else") (compound_statement "{\n    iVar1 = (*pcVar2)(*param_1,0,0);\n  }" ({ "{") (expression_statement "iVar1 = (*pcVar2)(*param_1,0,0);" (assignment_expression "iVar1 = (*pcVar2)(*param_1,0,0)" (identifier "iVar1") (= "=") (call_expression "(*pcVar2)(*param_1,0,0)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(*param_1,0,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (expression_statement "param_1[0x12] = iVar1;" (assignment_expression "param_1[0x12] = iVar1" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(int *param_1)

{
  int iVar1;
  code *pcVar2;
  
  pcVar2 = *(code **)(*param_1 + 0x44);
  if (pcVar2 == (code *)0x0) {
    iVar1 = 0;
  }
  else {
    iVar1 = (*pcVar2)(*param_1,0,0);
  }
  param_1[0x12] = iVar1;
  return;
}

