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

_func_void * unixDlSym(sqlite3_vfs *NotUsed,void *p,char *zSym)

{
  _func_void *p_Var1;
  
  p_Var1 = (_func_void *)dlsym(p,zSym);
  return p_Var1;
}



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

void FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  dlsym(param_2,param_3);
  return;
}


PUSH EBX
CALL 0x0001d810
ADD EBX,0xbaf5a
SUB ESP,0x10
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
CALL 0x00016870
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  dlsym(param_2,param_3);\n  return;\n}\n\n" comment (function_definition "void FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  dlsym(param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  dlsym(param_2,param_3);\n  return;\n}" { (expression_statement "dlsym(param_2,param_3);" (call_expression "dlsym(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_func_void * unixDlSym(sqlite3_vfs *NotUsed,void *p,char *zSym)\n\n{\n  _func_void *p_Var1;\n  \n  p_Var1 = (_func_void *)dlsym(p,zSym);\n  return p_Var1;\n}\n\n" comment comment (function_definition "_func_void * unixDlSym(sqlite3_vfs *NotUsed,void *p,char *zSym)\n\n{\n  _func_void *p_Var1;\n  \n  p_Var1 = (_func_void *)dlsym(p,zSym);\n  return p_Var1;\n}" type_identifier (pointer_declarator "* unixDlSym(sqlite3_vfs *NotUsed,void *p,char *zSym)" * (function_declarator "unixDlSym(sqlite3_vfs *NotUsed,void *p,char *zSym)" identifier (parameter_list "(sqlite3_vfs *NotUsed,void *p,char *zSym)" ( (parameter_declaration "sqlite3_vfs *NotUsed" type_identifier (pointer_declarator "*NotUsed" * identifier)) , (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *zSym" primitive_type (pointer_declarator "*zSym" * identifier)) )))) (compound_statement "{\n  _func_void *p_Var1;\n  \n  p_Var1 = (_func_void *)dlsym(p,zSym);\n  return p_Var1;\n}" { (declaration "_func_void *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (expression_statement "p_Var1 = (_func_void *)dlsym(p,zSym);" (assignment_expression "p_Var1 = (_func_void *)dlsym(p,zSym)" identifier = (cast_expression "(_func_void *)dlsym(p,zSym)" ( (type_descriptor "_func_void *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dlsym(p,zSym)" identifier (argument_list "(p,zSym)" ( identifier , identifier ))))) ;) (return_statement "return p_Var1;" return identifier ;) })))
(translation_unit "void FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  dlsym(param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  dlsym(param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  dlsym(param_2,param_3);\n  return;\n}" { (expression_statement "dlsym(param_2,param_3);" (call_expression "dlsym(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) (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) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  dlsym(param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000230a0(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_000230a0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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  dlsym(param_2,param_3);\n  return;\n}" ({ "{") (expression_statement "dlsym(param_2,param_3);" (call_expression "dlsym(param_2,param_3)" (identifier "dlsym") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 * function_1(type_2 *NotUsed,void *p,char *zSym)

{
  type_1 *p_Var1;
  
  p_Var1 = (type_1 *)var_1(p,zSym);
  return p_Var1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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 (identifier) (identifier)))) (return_statement))))

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

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

{
  dlsym(param_2,param_3);
  return;
}

