
/* WARNING: Unknown calling convention */

char * sqlite3_sql(sqlite3_stmt *pStmt)

{
  Vdbe *p;
  
  if (pStmt != (sqlite3_stmt *)0x0) {
    return *(char **)(pStmt + 0xf0);
  }
  return (char *)0x0;
}



undefined8 FUN_001116c0(long param_1)

{
  if (param_1 != 0) {
    return *(undefined8 *)(param_1 + 0xf0);
  }
  return 0;
}


TEST RDI,RDI
JZ 0x001116d0
MOV RAX,qword ptr [RDI + 0xf0]
RET
XOR EAX,EAX
RET
(translation_unit "undefined8 FUN_001116c0(long param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001116c0(long param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001116c0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" { (return_statement "return *(undefined8 *)(param_1 + 0xf0);" return (pointer_expression "*(undefined8 *)(param_1 + 0xf0)" * (cast_expression "(undefined8 *)(param_1 + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nchar * sqlite3_sql(sqlite3_stmt *pStmt)\n\n{\n  Vdbe *p;\n  \n  if (pStmt != (sqlite3_stmt *)0x0) {\n    return *(char **)(pStmt + 0xf0);\n  }\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * sqlite3_sql(sqlite3_stmt *pStmt)\n\n{\n  Vdbe *p;\n  \n  if (pStmt != (sqlite3_stmt *)0x0) {\n    return *(char **)(pStmt + 0xf0);\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* sqlite3_sql(sqlite3_stmt *pStmt)" * (function_declarator "sqlite3_sql(sqlite3_stmt *pStmt)" identifier (parameter_list "(sqlite3_stmt *pStmt)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) )))) (compound_statement "{\n  Vdbe *p;\n  \n  if (pStmt != (sqlite3_stmt *)0x0) {\n    return *(char **)(pStmt + 0xf0);\n  }\n  return (char *)0x0;\n}" { (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (if_statement "if (pStmt != (sqlite3_stmt *)0x0) {\n    return *(char **)(pStmt + 0xf0);\n  }" if (parenthesized_expression "(pStmt != (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt != (sqlite3_stmt *)0x0" identifier != (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return *(char **)(pStmt + 0xf0);\n  }" { (return_statement "return *(char **)(pStmt + 0xf0);" return (pointer_expression "*(char **)(pStmt + 0xf0)" * (cast_expression "(char **)(pStmt + 0xf0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pStmt + 0xf0)" ( (binary_expression "pStmt + 0xf0" identifier + number_literal) )))) ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined8 FUN_001116c0(long param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001116c0(long param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001116c0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" { (return_statement "return *(undefined8 *)(param_1 + 0xf0);" return (pointer_expression "*(undefined8 *)(param_1 + 0xf0)" * (cast_expression "(undefined8 *)(param_1 + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001116c0(long param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_001116c0(long param_1)" (identifier "FUN_001116c0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }\n  return 0;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined8 *)(param_1 + 0xf0);\n  }" ({ "{") (return_statement "return *(undefined8 *)(param_1 + 0xf0);" (return "return") (pointer_expression "*(undefined8 *)(param_1 + 0xf0)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0xf0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf0)" (( "(") (binary_expression "param_1 + 0xf0" (identifier "param_1") (+ "+") (number_literal "0xf0")) () ")")))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

char * function_1(type_1 *var_1)

{
  type_2 *p;
  
  if (var_1 != (type_1 *)0x0) {
    return *(char **)(var_1 + 0xf0);
  }
  return (char *)0x0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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)))))

undefined8 MASKED(long param_1)

{
  if (param_1 != 0) {
    return *(undefined8 *)(param_1 + 0xf0);
  }
  return 0;
}

