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

void __regparm3 jsonWrongNumArgs(sqlite3_context *pCtx,char *zFuncName)

{
  char *z;
  
  z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName);
  sqlite3_result_error(pCtx,z,-1);
  sqlite3_free(z);
  return;
}



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

void __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);
  FUN_000457b0(param_1,uVar1,0xffffffff);
  FUN_00024cc0(uVar1);
  return;
}


PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0xd179a
SUB ESP,0x8
PUSH EDX
LEA EAX,[EBX + 0xfffbac04]
PUSH EAX
CALL 0x00071090
ADD ESP,0xc
PUSH -0x1
MOV ESI,EAX
PUSH EAX
PUSH EDI
CALL 0x000457b0
MOV dword ptr [ESP],ESI
CALL 0x00024cc0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00077730(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);" (assignment_expression "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2)" identifier = (call_expression "FUN_00071090("json_%s() needs an odd number of arguments",param_2)" identifier (argument_list "("json_%s() needs an odd number of arguments",param_2)" ( (string_literal ""json_%s() needs an odd number of arguments"" " string_content ") , identifier )))) ;) (expression_statement "FUN_000457b0(param_1,uVar1,0xffffffff);" (call_expression "FUN_000457b0(param_1,uVar1,0xffffffff)" identifier (argument_list "(param_1,uVar1,0xffffffff)" ( identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00024cc0(uVar1);" (call_expression "FUN_00024cc0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 jsonWrongNumArgs(sqlite3_context *pCtx,char *zFuncName)\n\n{\n  char *z;\n  \n  z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName);\n  sqlite3_result_error(pCtx,z,-1);\n  sqlite3_free(z);\n  return;\n}\n\n" comment (function_definition "void __regparm3 jsonWrongNumArgs(sqlite3_context *pCtx,char *zFuncName)\n\n{\n  char *z;\n  \n  z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName);\n  sqlite3_result_error(pCtx,z,-1);\n  sqlite3_free(z);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "jsonWrongNumArgs(sqlite3_context *pCtx,char *zFuncName)" identifier (parameter_list "(sqlite3_context *pCtx,char *zFuncName)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "char *zFuncName" primitive_type (pointer_declarator "*zFuncName" * identifier)) ))) (compound_statement "{\n  char *z;\n  \n  z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName);\n  sqlite3_result_error(pCtx,z,-1);\n  sqlite3_free(z);\n  return;\n}" { (declaration "char *z;" primitive_type (pointer_declarator "*z" * identifier) ;) (expression_statement "z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName);" (assignment_expression "z = sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName)" identifier = (call_expression "sqlite3_mprintf("json_%s() needs an odd number of arguments",zFuncName)" identifier (argument_list "("json_%s() needs an odd number of arguments",zFuncName)" ( (string_literal ""json_%s() needs an odd number of arguments"" " string_content ") , identifier )))) ;) (expression_statement "sqlite3_result_error(pCtx,z,-1);" (call_expression "sqlite3_result_error(pCtx,z,-1)" identifier (argument_list "(pCtx,z,-1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "sqlite3_free(z);" (call_expression "sqlite3_free(z)" identifier (argument_list "(z)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00077730(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);" (assignment_expression "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2)" identifier = (call_expression "FUN_00071090("json_%s() needs an odd number of arguments",param_2)" identifier (argument_list "("json_%s() needs an odd number of arguments",param_2)" ( (string_literal ""json_%s() needs an odd number of arguments"" " string_content ") , identifier )))) ;) (expression_statement "FUN_000457b0(param_1,uVar1,0xffffffff);" (call_expression "FUN_000457b0(param_1,uVar1,0xffffffff)" identifier (argument_list "(param_1,uVar1,0xffffffff)" ( identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00024cc0(uVar1);" (call_expression "FUN_00024cc0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00077730(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00077730(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00077730") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);\n  FUN_000457b0(param_1,uVar1,0xffffffff);\n  FUN_00024cc0(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);" (assignment_expression "uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_00071090("json_%s() needs an odd number of arguments",param_2)" (identifier "FUN_00071090") (argument_list "("json_%s() needs an odd number of arguments",param_2)" (( "(") (string_literal ""json_%s() needs an odd number of arguments"" (" """) (string_content "json_%s() needs an odd number of arguments") (" """)) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "FUN_000457b0(param_1,uVar1,0xffffffff);" (call_expression "FUN_000457b0(param_1,uVar1,0xffffffff)" (identifier "FUN_000457b0") (argument_list "(param_1,uVar1,0xffffffff)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (expression_statement "FUN_00024cc0(uVar1);" (call_expression "FUN_00024cc0(uVar1)" (identifier "FUN_00024cc0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *pCtx,char *zFuncName)

{
  char *z;
  
  z = var_1("json_%s() needs an odd number of arguments",zFuncName);
  var_2(pCtx,z,-1);
  var_3(z);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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 (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00071090("json_%s() needs an odd number of arguments",param_2);
  FUN_000457b0(param_1,uVar1,0xffffffff);
  FUN_00024cc0(uVar1);
  return;
}

