
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00016840 */
/* WARNING: Unknown calling convention */

void * sqlite3_wal_hook(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,
                       void *pArg)

{
  void *pvVar1;
  
  sqlite3_mutex_enter(db->mutex);
  pvVar1 = db->pWalArg;
  db->xWalCallback = xCallback;
  db->pWalArg = pArg;
  sqlite3_mutex_leave(db->mutex);
  return pvVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00016840 */

undefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));
  uVar1 = *(undefined4 *)(param_1 + 0xf4);
  *(undefined4 *)(param_1 + 0xf0) = param_2;
  *(undefined4 *)(param_1 + 0xf4) = param_3;
  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));
  return uVar1;
}


JMP dword ptr [EBX + 0x15c]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x00016840 */\n\nundefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}\n\n" comment comment (function_definition "undefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (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 "uVar1 = *(undefined4 *)(param_1 + 0xf4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xf4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf0) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xf0) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xf0)" * (cast_expression "(undefined4 *)(param_1 + 0xf0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xf4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" 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 uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Switch with 1 destination removed at 0x00016840 */\n/* WARNING: Unknown calling convention */\n\nvoid * sqlite3_wal_hook(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,\n                       void *pArg)\n\n{\n  void *pvVar1;\n  \n  sqlite3_mutex_enter(db->mutex);\n  pvVar1 = db->pWalArg;\n  db->xWalCallback = xCallback;\n  db->pWalArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return pvVar1;\n}\n\n" comment comment comment (function_definition "void * sqlite3_wal_hook(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,\n                       void *pArg)\n\n{\n  void *pvVar1;\n  \n  sqlite3_mutex_enter(db->mutex);\n  pvVar1 = db->pWalArg;\n  db->xWalCallback = xCallback;\n  db->pWalArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return pvVar1;\n}" primitive_type (pointer_declarator "* sqlite3_wal_hook(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,\n                       void *pArg)" * (function_declarator "sqlite3_wal_hook(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,\n                       void *pArg)" identifier (parameter_list "(sqlite3 *db,_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback,\n                       void *pArg)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "_func_int_void_ptr_sqlite3_ptr_char_ptr_int *xCallback" type_identifier (pointer_declarator "*xCallback" * identifier)) , (parameter_declaration "void *pArg" primitive_type (pointer_declarator "*pArg" * identifier)) )))) (compound_statement "{\n  void *pvVar1;\n  \n  sqlite3_mutex_enter(db->mutex);\n  pvVar1 = db->pWalArg;\n  db->xWalCallback = xCallback;\n  db->pWalArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (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) ))) ;) (expression_statement "pvVar1 = db->pWalArg;" (assignment_expression "pvVar1 = db->pWalArg" identifier = (field_expression "db->pWalArg" identifier -> field_identifier)) ;) (expression_statement "db->xWalCallback = xCallback;" (assignment_expression "db->xWalCallback = xCallback" (field_expression "db->xWalCallback" identifier -> field_identifier) = identifier) ;) (expression_statement "db->pWalArg = pArg;" (assignment_expression "db->pWalArg = pArg" (field_expression "db->pWalArg" identifier -> field_identifier) = identifier) ;) (expression_statement "sqlite3_mutex_leave(db->mutex);" (call_expression "sqlite3_mutex_leave(db->mutex)" identifier (argument_list "(db->mutex)" ( (field_expression "db->mutex" identifier -> field_identifier) ))) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "undefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}\n\n" (function_definition "undefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" type_identifier (function_declarator "sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (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 "uVar1 = *(undefined4 *)(param_1 + 0xf4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xf4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf0) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xf0) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xf0)" * (cast_expression "(undefined4 *)(param_1 + 0xf0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xf4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xf4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" * (cast_expression "(undefined4 *)(param_1 + 0xf4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" 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 uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 IDENT = (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 IDENT ;) })))
(function_definition "undefined4 sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_wal_hook(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "sqlite3_wal_hook") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (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")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));\n  uVar1 = *(undefined4 *)(param_1 + 0xf4);\n  *(undefined4 *)(param_1 + 0xf0) = param_2;\n  *(undefined4 *)(param_1 + 0xf4) = param_3;\n  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (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 "uVar1 = *(undefined4 *)(param_1 + 0xf4);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0xf4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xf4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xf0) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xf0) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xf0)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xf0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf0)" (( "(") (binary_expression "param_1 + 0xf0" (identifier "param_1") (+ "+") (number_literal "0xf0")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xf4) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0xf4) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0xf4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xf4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")")))) (= "=") (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 uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00016840 */
/* WARNING: Unknown calling convention */

void * function_1(type_1 *db,type_2 *xCallback,
                       void *pArg)

{
  void *pvVar1;
  
  var_1(db->mutex);
  pvVar1 = db->pWalArg;
  db->xWalCallback = xCallback;
  db->pWalArg = pArg;
  var_2(db->mutex);
  return pvVar1;
}


(translation_unit (function_definition type: (type_identifier) 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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (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)))))))) (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))))))) (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 (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Switch with 1 destination removed at 0x00016840 */

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

{
  undefined4 uVar1;
  
  sqlite3_mutex_enter(*(undefined4 *)(param_1 + 0xc));
  uVar1 = *(undefined4 *)(param_1 + 0xf4);
  *(undefined4 *)(param_1 + 0xf0) = param_2;
  *(undefined4 *)(param_1 + 0xf4) = param_3;
  sqlite3_mutex_leave(*(undefined4 *)(param_1 + 0xc));
  return uVar1;
}

