
void sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 iRowid)

{
                    /* WARNING: Subroutine does not return */
  sqlite3_mutex_enter(db->mutex);
}



void sqlite3_set_last_insert_rowid
               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));
  *(undefined4 *)(param_1 + 0x2c) = param_4;
  *(undefined4 *)(param_1 + 0x28) = param_3;
  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));
  return;
}


lui gp,0x14
addiu gp,gp,0x3188
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7f00(gp)
sw s3,0x20(sp)
or s3,a3,zero
sw s2,0x1c(sp)
or s2,a2,zero
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x24(sp)
sw gp,0x10(sp)
bal 0x0001c608
_lw a0,0xc(a0)
lw gp,0x10(sp)
lw a0,0xc(s0)
sw s3,0x2c(s0)
sw s2,0x28(s0)
lw ra,0x24(sp)
lw s3,0x20(sp)
lw s2,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7efc(gp)
b 0x0001c630
_addiu sp,sp,0x28
(translation_unit "void sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}\n\n" (function_definition "void sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" primitive_type (function_declarator "sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" { (expression_statement "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 iRowid)\n\n{\n                    /* WARNING: Subroutine does not return */\n  sqlite3_mutex_enter(db->mutex);\n}\n\n" (function_definition "void sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 iRowid)\n\n{\n                    /* WARNING: Subroutine does not return */\n  sqlite3_mutex_enter(db->mutex);\n}" primitive_type (function_declarator "sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 iRowid)" identifier (parameter_list "(sqlite3 *db,sqlite3_int64 iRowid)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "sqlite3_int64 iRowid" type_identifier identifier) ))) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n  sqlite3_mutex_enter(db->mutex);\n}" { comment (expression_statement "sqlite3_mutex_enter(db->mutex);" (call_expression "sqlite3_mutex_enter(db->mutex)" identifier (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;) })))
(translation_unit "void sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}\n\n" (function_definition "void sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" primitive_type (function_declarator "sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" { (expression_statement "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" (primitive_type "void") (function_declarator "sqlite3_set_last_insert_rowid\n               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "sqlite3_set_last_insert_rowid") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  *(undefined4 *)(param_1 + 0x2c) = param_4;\n  *(undefined4 *)(param_1 + 0x28) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return;\n}" ({ "{") (expression_statement "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc))" (identifier "sqlite3_mutex_enter") (argument_list "(*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x28) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));" (call_expression "sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc))" (identifier "sqlite3_mutex_leave") (argument_list "(*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *db,type_2 iRowid)

{
                    /* WARNING: Subroutine does not return */
  var_1(db->mutex);
}


(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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)))))))) (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: (identifier))) (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))

void MASKED
               (int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));
  *(undefined4 *)(param_1 + 0x2c) = param_4;
  *(undefined4 *)(param_1 + 0x28) = param_3;
  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));
  return;
}

