
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 fts5StorageRenameOne(Fts5Config *pConfig,int *pRc,char *zTail,char *zName)

{
  int iVar1;
  
  iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",
                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);
  *pRc = iVar1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3
FUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  
  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],
                       param_1[2],param_3,param_4,param_3);
  *param_2 = uVar1;
  return;
}


PUSH ESI
CALL 0x000f5a00
ADD ESI,0x7fb4e
PUSH EBX
MOV EBX,EDX
SUB ESP,0x4
PUSH ECX
PUSH dword ptr [ESP + 0x14]
LEA EDX,[ESI + 0xfffbd634]
PUSH ECX
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x4]
PUSH EDX
PUSH 0x0
PUSH dword ptr [EAX]
CALL 0x000cb320
MOV dword ptr [EBX],EAX
ADD ESP,0x24
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3\nFUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}\n\n" comment (function_definition "void __regparm3\nFUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);" (assignment_expression "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" identifier = (call_expression "FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" identifier (argument_list "(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" ( (pointer_expression "*param_1" * identifier) , number_literal , (string_literal ""ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 fts5StorageRenameOne(Fts5Config *pConfig,int *pRc,char *zTail,char *zName)\n\n{\n  int iVar1;\n  \n  iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);\n  *pRc = iVar1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 fts5StorageRenameOne(Fts5Config *pConfig,int *pRc,char *zTail,char *zName)\n\n{\n  int iVar1;\n  \n  iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);\n  *pRc = iVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "fts5StorageRenameOne(Fts5Config *pConfig,int *pRc,char *zTail,char *zName)" identifier (parameter_list "(Fts5Config *pConfig,int *pRc,char *zTail,char *zName)" ( (parameter_declaration "Fts5Config *pConfig" type_identifier (pointer_declarator "*pConfig" * identifier)) , (parameter_declaration "int *pRc" primitive_type (pointer_declarator "*pRc" * identifier)) , (parameter_declaration "char *zTail" primitive_type (pointer_declarator "*zTail" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);\n  *pRc = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);" (assignment_expression "iVar1 = fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail)" identifier = (call_expression "fts5ExecPrintf(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail)" identifier (argument_list "(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",\n                         pConfig->zDb,pConfig->zName,zTail,zName,zTail)" ( (field_expression "pConfig->db" identifier -> field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (string_literal ""ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , (field_expression "pConfig->zDb" identifier -> field_identifier) , (field_expression "pConfig->zName" identifier -> field_identifier) , identifier , identifier , identifier )))) ;) (expression_statement "*pRc = iVar1;" (assignment_expression "*pRc = iVar1" (pointer_expression "*pRc" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);" (assignment_expression "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" identifier = (call_expression "FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" identifier (argument_list "(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" ( (pointer_expression "*param_1" * identifier) , number_literal , (string_literal ""ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , (subscript_expression "param_1[1]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , identifier , identifier )))) ;) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000cb380(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000cb380") (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (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  undefined4 uVar1;\n  \n  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);\n  *param_2 = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3);" (assignment_expression "uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" (identifier "uVar1") (= "=") (call_expression "FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" (identifier "FUN_000cb320") (argument_list "(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],\n                       param_1[2],param_3,param_4,param_3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (string_literal ""ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';"" (" """) (string_content "ALTER TABLE %Q.") (escape_sequence "\'") (string_content "%q_%s") (escape_sequence "\'") (string_content " RENAME TO ") (escape_sequence "\'") (string_content "%q_%s") (escape_sequence "\'") (string_content ";") (" """)) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*param_2 = uVar1;" (assignment_expression "*param_2 = uVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 function_1(type_1 *pConfig,int *pRc,char *zTail,char *zName)

{
  int iVar1;
  
  iVar1 = var_1(pConfig->db,(char **)0x0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",
                         pConfig->zDb,pConfig->zName,zTail,zName,zTail);
  *pRc = iVar1;
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3
MASKED(undefined4 *param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  
  uVar1 = FUN_000cb320(*param_1,0,"ALTER TABLE %Q.\'%q_%s\' RENAME TO \'%q_%s\';",param_1[1],
                       param_1[2],param_3,param_4,param_3);
  *param_2 = uVar1;
  return;
}

