
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int sqlite3_busy_handler(sqlite3 *db,_func_int_void_ptr_int *xBusy,void *pArg)

{
  sqlite3_mutex_enter(db->mutex);
  (db->busyHandler).bExtraFileArg = '\0';
  (db->busyHandler).nBusy = 0;
  (db->busyHandler).xBusyHandler = xBusy;
  db->busyTimeout = 0;
  (db->busyHandler).pBusyArg = pArg;
  sqlite3_mutex_leave(db->mutex);
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  *(undefined1 *)(param_1 + 0x19c) = 0;
  *(undefined4 *)(param_1 + 0x198) = 0;
  *(undefined4 *)(param_1 + 400) = param_2;
  *(undefined4 *)(param_1 + 0x1c4) = 0;
  *(undefined4 *)(param_1 + 0x194) = param_3;
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
  return 0;
}


PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x12be8d
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI + 0xc]
CALL 0x000197c0
MOV EAX,dword ptr [ESP + 0x24]
MOV byte ptr [ESI + 0x19c],0x0
MOV dword ptr [ESI + 0x198],0x0
MOV dword ptr [ESI + 0x190],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x1c4],0x0
MOV dword ptr [ESI + 0x194],EAX
POP EAX
PUSH dword ptr [ESI + 0xc]
CALL 0x000197f0
ADD ESP,0x14
XOR EAX,EAX
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" type_identifier (function_declarator "FUN_0001d040(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  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" { (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(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 "*(undefined1 *)(param_1 + 0x19c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x19c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x19c)" * (cast_expression "(undefined1 *)(param_1 + 0x19c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19c)" ( (binary_expression "param_1 + 0x19c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x198) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x198) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x198)" * (cast_expression "(undefined4 *)(param_1 + 0x198)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 400) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 400) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 400)" * (cast_expression "(undefined4 *)(param_1 + 400)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 400)" ( (binary_expression "param_1 + 400" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c4)" * (cast_expression "(undefined4 *)(param_1 + 0x1c4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c4)" ( (binary_expression "param_1 + 0x1c4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x194) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x194) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x194)" * (cast_expression "(undefined4 *)(param_1 + 0x194)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(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 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint sqlite3_busy_handler(sqlite3 *db,_func_int_void_ptr_int *xBusy,void *pArg)\n\n{\n  sqlite3_mutex_enter(db->mutex);\n  (db->busyHandler).bExtraFileArg = '\0';\n  (db->busyHandler).nBusy = 0;\n  (db->busyHandler).xBusyHandler = xBusy;\n  db->busyTimeout = 0;\n  (db->busyHandler).pBusyArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return 0;\n}\n\n" comment comment (function_definition "int sqlite3_busy_handler(sqlite3 *db,_func_int_void_ptr_int *xBusy,void *pArg)\n\n{\n  sqlite3_mutex_enter(db->mutex);\n  (db->busyHandler).bExtraFileArg = '\0';\n  (db->busyHandler).nBusy = 0;\n  (db->busyHandler).xBusyHandler = xBusy;\n  db->busyTimeout = 0;\n  (db->busyHandler).pBusyArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return 0;\n}" primitive_type (function_declarator "sqlite3_busy_handler(sqlite3 *db,_func_int_void_ptr_int *xBusy,void *pArg)" identifier (parameter_list "(sqlite3 *db,_func_int_void_ptr_int *xBusy,void *pArg)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "_func_int_void_ptr_int *xBusy" type_identifier (pointer_declarator "*xBusy" * identifier)) , (parameter_declaration "void *pArg" primitive_type (pointer_declarator "*pArg" * identifier)) ))) (compound_statement "{\n  sqlite3_mutex_enter(db->mutex);\n  (db->busyHandler).bExtraFileArg = '\0';\n  (db->busyHandler).nBusy = 0;\n  (db->busyHandler).xBusyHandler = xBusy;\n  db->busyTimeout = 0;\n  (db->busyHandler).pBusyArg = pArg;\n  sqlite3_mutex_leave(db->mutex);\n  return 0;\n}" { (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 "(db->busyHandler).bExtraFileArg = '\0';" (assignment_expression "(db->busyHandler).bExtraFileArg = '\0'" (field_expression "(db->busyHandler).bExtraFileArg" (parenthesized_expression "(db->busyHandler)" ( (field_expression "db->busyHandler" identifier -> field_identifier) )) . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(db->busyHandler).nBusy = 0;" (assignment_expression "(db->busyHandler).nBusy = 0" (field_expression "(db->busyHandler).nBusy" (parenthesized_expression "(db->busyHandler)" ( (field_expression "db->busyHandler" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(db->busyHandler).xBusyHandler = xBusy;" (assignment_expression "(db->busyHandler).xBusyHandler = xBusy" (field_expression "(db->busyHandler).xBusyHandler" (parenthesized_expression "(db->busyHandler)" ( (field_expression "db->busyHandler" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "db->busyTimeout = 0;" (assignment_expression "db->busyTimeout = 0" (field_expression "db->busyTimeout" identifier -> field_identifier) = number_literal) ;) (expression_statement "(db->busyHandler).pBusyArg = pArg;" (assignment_expression "(db->busyHandler).pBusyArg = pArg" (field_expression "(db->busyHandler).pBusyArg" (parenthesized_expression "(db->busyHandler)" ( (field_expression "db->busyHandler" identifier -> field_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 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" type_identifier (function_declarator "FUN_0001d040(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  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" { (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(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 "*(undefined1 *)(param_1 + 0x19c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x19c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x19c)" * (cast_expression "(undefined1 *)(param_1 + 0x19c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19c)" ( (binary_expression "param_1 + 0x19c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x198) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x198) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x198)" * (cast_expression "(undefined4 *)(param_1 + 0x198)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 400) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 400) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 400)" * (cast_expression "(undefined4 *)(param_1 + 400)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 400)" ( (binary_expression "param_1 + 400" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c4)" * (cast_expression "(undefined4 *)(param_1 + 0x1c4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c4)" ( (binary_expression "param_1 + 0x1c4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x194) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x194) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x194)" * (cast_expression "(undefined4 *)(param_1 + 0x194)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(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 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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) )))) = LIT) ;) (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 LIT ;) })))
(function_definition "undefined4 FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001d040(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0001d040") (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  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));\n  *(undefined1 *)(param_1 + 0x19c) = 0;\n  *(undefined4 *)(param_1 + 0x198) = 0;\n  *(undefined4 *)(param_1 + 400) = param_2;\n  *(undefined4 *)(param_1 + 0x1c4) = 0;\n  *(undefined4 *)(param_1 + 0x194) = param_3;\n  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));\n  return 0;\n}" ({ "{") (expression_statement "FUN_000197c0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197c0(*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_000197c0") (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 "*(undefined1 *)(param_1 + 0x19c) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x19c) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x19c)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x19c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x19c)" (( "(") (binary_expression "param_1 + 0x19c" (identifier "param_1") (+ "+") (number_literal "0x19c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x198) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x198) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x198)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x198)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 400) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 400) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 400)" (* "*") (cast_expression "(undefined4 *)(param_1 + 400)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 400)" (( "(") (binary_expression "param_1 + 400" (identifier "param_1") (+ "+") (number_literal "400")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1c4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c4)" (( "(") (binary_expression "param_1 + 0x1c4" (identifier "param_1") (+ "+") (number_literal "0x1c4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x194) = param_3;" (assignment_expression "*(undefined4 *)(param_1 + 0x194) = param_3" (pointer_expression "*(undefined4 *)(param_1 + 0x194)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x194)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x194)" (( "(") (binary_expression "param_1 + 0x194" (identifier "param_1") (+ "+") (number_literal "0x194")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "FUN_000197f0(*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_000197f0(*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_000197f0") (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 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *db,type_2 *xBusy,void *pArg)

{
  var_1(db->mutex);
  (db->busyHandler).bExtraFileArg = '\0';
  (db->busyHandler).nBusy = 0;
  (db->busyHandler).xBusyHandler = xBusy;
  db->busyTimeout = 0;
  (db->busyHandler).pBusyArg = pArg;
  var_2(db->mutex);
  return 0;
}


(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 (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: (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: (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: (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 (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 (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  FUN_000197c0(*(undefined4 *)(param_1 + 0xc));
  *(undefined1 *)(param_1 + 0x19c) = 0;
  *(undefined4 *)(param_1 + 0x198) = 0;
  *(undefined4 *)(param_1 + 400) = param_2;
  *(undefined4 *)(param_1 + 0x1c4) = 0;
  *(undefined4 *)(param_1 + 0x194) = param_3;
  FUN_000197f0(*(undefined4 *)(param_1 + 0xc));
  return 0;
}

