
/* WARNING: Unknown calling convention */

int sqlite3_system_errno(sqlite3 *db)

{
  if (db != (sqlite3 *)0x0) {
    return db->iSysErrno;
  }
  return 0;
}



undefined4 sqlite3_system_errno(int param_1)

{
  if (param_1 != 0) {
    return *(undefined4 *)(param_1 + 0x48);
  }
  return 0;
}


beq a0,zero,0x000242e8
_nop
jr ra
_lw v0,0x48(a0)
jr ra
_or v0,zero,zero
(translation_unit "undefined4 sqlite3_system_errno(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 sqlite3_system_errno(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_system_errno(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x48);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0x48);" return (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint sqlite3_system_errno(sqlite3 *db)\n\n{\n  if (db != (sqlite3 *)0x0) {\n    return db->iSysErrno;\n  }\n  return 0;\n}\n\n" comment (function_definition "int sqlite3_system_errno(sqlite3 *db)\n\n{\n  if (db != (sqlite3 *)0x0) {\n    return db->iSysErrno;\n  }\n  return 0;\n}" primitive_type (function_declarator "sqlite3_system_errno(sqlite3 *db)" identifier (parameter_list "(sqlite3 *db)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) ))) (compound_statement "{\n  if (db != (sqlite3 *)0x0) {\n    return db->iSysErrno;\n  }\n  return 0;\n}" { (if_statement "if (db != (sqlite3 *)0x0) {\n    return db->iSysErrno;\n  }" if (parenthesized_expression "(db != (sqlite3 *)0x0)" ( (binary_expression "db != (sqlite3 *)0x0" identifier != (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return db->iSysErrno;\n  }" { (return_statement "return db->iSysErrno;" return (field_expression "db->iSysErrno" identifier -> field_identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 sqlite3_system_errno(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 sqlite3_system_errno(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" type_identifier (function_declarator "sqlite3_system_errno(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x48);\n  }" { (return_statement "return *(undefined4 *)(param_1 + 0x48);" return (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 sqlite3_system_errno(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_system_errno(int param_1)" (identifier "sqlite3_system_errno") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }\n  return 0;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    return *(undefined4 *)(param_1 + 0x48);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined4 *)(param_1 + 0x48);\n  }" ({ "{") (return_statement "return *(undefined4 *)(param_1 + 0x48);" (return "return") (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *var_1)

{
  if (var_1 != (type_1 *)0x0) {
    return var_1->iSysErrno;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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)))))))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1)

{
  if (param_1 != 0) {
    return *(undefined4 *)(param_1 + 0x48);
  }
  return 0;
}

