
/* WARNING: Unknown calling convention */

void sqlite3VdbeError(Vdbe *p,char *zFormat,...)

{
  char *pcVar1;
  
  if (p->zErrMsg != (char *)0x0) {
    sqlite3DbFreeNN(p->db,p->zErrMsg);
  }
  pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c);
  p->zErrMsg = pcVar1;
  return;
}



void FUN_0003e960(int param_1)

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x78) != 0) {
    FUN_00024720();
  }
  uVar1 = FUN_0003c0d0();
  *(undefined4 *)(param_1 + 0x78) = uVar1;
  return;
}


PUSH EBX
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EBX + 0x78]
TEST EDX,EDX
JZ 0x0003e976
MOV EAX,dword ptr [EBX]
CALL 0x00024720
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EBX]
LEA ECX,[ESP + 0x18]
CALL 0x0003c0d0
MOV dword ptr [EBX + 0x78],EAX
ADD ESP,0x8
POP EBX
RET
(translation_unit "void FUN_0003e960(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0003e960(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0003e960(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x78) != 0)" ( (binary_expression "*(int *)(param_1 + 0x78) != 0" (pointer_expression "*(int *)(param_1 + 0x78)" * (cast_expression "(int *)(param_1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00024720();\n  }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = FUN_0003c0d0();" (assignment_expression "uVar1 = FUN_0003c0d0()" identifier = (call_expression "FUN_0003c0d0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x78) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x78) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x78)" * (cast_expression "(undefined4 *)(param_1 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid sqlite3VdbeError(Vdbe *p,char *zFormat,...)\n\n{\n  char *pcVar1;\n  \n  if (p->zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(p->db,p->zErrMsg);\n  }\n  pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c);\n  p->zErrMsg = pcVar1;\n  return;\n}\n\n" comment (function_definition "void sqlite3VdbeError(Vdbe *p,char *zFormat,...)\n\n{\n  char *pcVar1;\n  \n  if (p->zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(p->db,p->zErrMsg);\n  }\n  pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c);\n  p->zErrMsg = pcVar1;\n  return;\n}" primitive_type (function_declarator "sqlite3VdbeError(Vdbe *p,char *zFormat,...)" identifier (parameter_list "(Vdbe *p,char *zFormat,...)" ( (parameter_declaration "Vdbe *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *zFormat" primitive_type (pointer_declarator "*zFormat" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (p->zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(p->db,p->zErrMsg);\n  }\n  pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c);\n  p->zErrMsg = pcVar1;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (p->zErrMsg != (char *)0x0) {\n    sqlite3DbFreeNN(p->db,p->zErrMsg);\n  }" if (parenthesized_expression "(p->zErrMsg != (char *)0x0)" ( (binary_expression "p->zErrMsg != (char *)0x0" (field_expression "p->zErrMsg" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3DbFreeNN(p->db,p->zErrMsg);\n  }" { (expression_statement "sqlite3DbFreeNN(p->db,p->zErrMsg);" (call_expression "sqlite3DbFreeNN(p->db,p->zErrMsg)" identifier (argument_list "(p->db,p->zErrMsg)" ( (field_expression "p->db" identifier -> field_identifier) , (field_expression "p->zErrMsg" identifier -> field_identifier) ))) ;) })) (expression_statement "pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c);" (assignment_expression "pcVar1 = sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c)" identifier = (call_expression "sqlite3VMPrintf(p->db,zFormat,&stack0x0000000c)" identifier (argument_list "(p->db,zFormat,&stack0x0000000c)" ( (field_expression "p->db" identifier -> field_identifier) , identifier , (pointer_expression "&stack0x0000000c" & identifier) )))) ;) (expression_statement "p->zErrMsg = pcVar1;" (assignment_expression "p->zErrMsg = pcVar1" (field_expression "p->zErrMsg" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003e960(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0003e960(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0003e960(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x78) != 0)" ( (binary_expression "*(int *)(param_1 + 0x78) != 0" (pointer_expression "*(int *)(param_1 + 0x78)" * (cast_expression "(int *)(param_1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00024720();\n  }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = FUN_0003c0d0();" (assignment_expression "uVar1 = FUN_0003c0d0()" identifier = (call_expression "FUN_0003c0d0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x78) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x78) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x78)" * (cast_expression "(undefined4 *)(param_1 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0003e960(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003e960(int param_1)" (identifier "FUN_0003e960") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }\n  uVar1 = FUN_0003c0d0();\n  *(undefined4 *)(param_1 + 0x78) = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(param_1 + 0x78) != 0) {\n    FUN_00024720();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x78) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x78) != 0" (pointer_expression "*(int *)(param_1 + 0x78)" (* "*") (cast_expression "(int *)(param_1 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00024720();\n  }" ({ "{") (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" (identifier "FUN_00024720") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_0003c0d0();" (assignment_expression "uVar1 = FUN_0003c0d0()" (identifier "uVar1") (= "=") (call_expression "FUN_0003c0d0()" (identifier "FUN_0003c0d0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x78) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x78) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x78)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *p,char *zFormat,...)

{
  char *pcVar1;
  
  if (p->zErrMsg != (char *)0x0) {
    var_1(p->db,p->zErrMsg);
  }
  pcVar1 = var_2(p->db,zFormat,&stack0x0000000c);
  p->zErrMsg = pcVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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))) (return_statement))))

void MASKED(int param_1)

{
  undefined4 uVar1;
  
  if (*(int *)(param_1 + 0x78) != 0) {
    FUN_00024720();
  }
  uVar1 = FUN_0003c0d0();
  *(undefined4 *)(param_1 + 0x78) = uVar1;
  return;
}

