
int fts3EofMethod(sqlite3_vtab_cursor *pCursor)

{
  Fts3Cursor *pCsr;
  
  if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {
    return 0;
  }
  fts3ClearCursor((Fts3Cursor *)pCursor);
  *(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1;
  return 1;
}



undefined8 FUN_00181240(long param_1)

{
  if (*(char *)(param_1 + 10) == '\0') {
    return 0;
  }
  FUN_00181160();
  *(undefined1 *)(param_1 + 10) = 1;
  return 1;
}


CMP byte ptr [RDI + 0xa],0x0
JNZ 0x00181250
XOR EAX,EAX
RET
PUSH RBX
MOV RBX,RDI
CALL 0x00181160
MOV byte ptr [RBX + 0xa],0x1
MOV EAX,0x1
POP RBX
RET
(translation_unit "undefined8 FUN_00181240(long param_1)\n\n{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00181240(long param_1)\n\n{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" type_identifier (function_declarator "FUN_00181240(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" { (if_statement "if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 10) == '\0')" ( (binary_expression "*(char *)(param_1 + 10) == '\0'" (pointer_expression "*(char *)(param_1 + 10)" * (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_00181160();" (call_expression "FUN_00181160()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined1 *)(param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 10)" * (cast_expression "(undefined1 *)(param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int fts3EofMethod(sqlite3_vtab_cursor *pCursor)\n\n{\n  Fts3Cursor *pCsr;\n  \n  if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {\n    return 0;\n  }\n  fts3ClearCursor((Fts3Cursor *)pCursor);\n  *(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1;\n  return 1;\n}\n\n" (function_definition "int fts3EofMethod(sqlite3_vtab_cursor *pCursor)\n\n{\n  Fts3Cursor *pCsr;\n  \n  if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {\n    return 0;\n  }\n  fts3ClearCursor((Fts3Cursor *)pCursor);\n  *(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1;\n  return 1;\n}" primitive_type (function_declarator "fts3EofMethod(sqlite3_vtab_cursor *pCursor)" identifier (parameter_list "(sqlite3_vtab_cursor *pCursor)" ( (parameter_declaration "sqlite3_vtab_cursor *pCursor" type_identifier (pointer_declarator "*pCursor" * identifier)) ))) (compound_statement "{\n  Fts3Cursor *pCsr;\n  \n  if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {\n    return 0;\n  }\n  fts3ClearCursor((Fts3Cursor *)pCursor);\n  *(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1;\n  return 1;\n}" { (declaration "Fts3Cursor *pCsr;" type_identifier (pointer_declarator "*pCsr" * identifier) ;) (if_statement "if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*(char *)((long)&pCursor[1].pVtab + 2) == '\0')" ( (binary_expression "*(char *)((long)&pCursor[1].pVtab + 2) == '\0'" (pointer_expression "*(char *)((long)&pCursor[1].pVtab + 2)" * (cast_expression "(char *)((long)&pCursor[1].pVtab + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pCursor[1].pVtab + 2)" ( (binary_expression "(long)&pCursor[1].pVtab + 2" (cast_expression "(long)&pCursor[1].pVtab" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pCursor[1].pVtab" & (field_expression "pCursor[1].pVtab" (subscript_expression "pCursor[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "fts3ClearCursor((Fts3Cursor *)pCursor);" (call_expression "fts3ClearCursor((Fts3Cursor *)pCursor)" identifier (argument_list "((Fts3Cursor *)pCursor)" ( (cast_expression "(Fts3Cursor *)pCursor" ( (type_descriptor "Fts3Cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "*(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1;" (assignment_expression "*(undefined1 *)((long)&pCursor[1].pVtab + 2) = 1" (pointer_expression "*(undefined1 *)((long)&pCursor[1].pVtab + 2)" * (cast_expression "(undefined1 *)((long)&pCursor[1].pVtab + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pCursor[1].pVtab + 2)" ( (binary_expression "(long)&pCursor[1].pVtab + 2" (cast_expression "(long)&pCursor[1].pVtab" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pCursor[1].pVtab" & (field_expression "pCursor[1].pVtab" (subscript_expression "pCursor[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00181240(long param_1)\n\n{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}\n\n" (function_definition "undefined8 FUN_00181240(long param_1)\n\n{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" type_identifier (function_declarator "FUN_00181240(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" { (if_statement "if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 10) == '\0')" ( (binary_expression "*(char *)(param_1 + 10) == '\0'" (pointer_expression "*(char *)(param_1 + 10)" * (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_00181160();" (call_expression "FUN_00181160()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined1 *)(param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 10)" * (cast_expression "(undefined1 *)(param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (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) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00181240(long param_1)\n\n{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" (type_identifier "undefined8") (function_declarator "FUN_00181240(long param_1)" (identifier "FUN_00181240") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }\n  FUN_00181160();\n  *(undefined1 *)(param_1 + 10) = 1;\n  return 1;\n}" ({ "{") (if_statement "if (*(char *)(param_1 + 10) == '\0') {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 10) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 10) == '\0'" (pointer_expression "*(char *)(param_1 + 10)" (* "*") (cast_expression "(char *)(param_1 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_00181160();" (call_expression "FUN_00181160()" (identifier "FUN_00181160") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 10) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 10) = 1" (pointer_expression "*(undefined1 *)(param_1 + 10)" (* "*") (cast_expression "(undefined1 *)(param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 *pCursor)

{
  type_2 *pCsr;
  
  if (*(char *)((long)&pCursor[1].pVtab + 2) == '\0') {
    return 0;
  }
  var_1((type_2 *)pCursor);
  *(type_3 *)((long)&pCursor[1].pVtab + 2) = 1;
  return 1;
}


(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: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (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: (number_literal))) (return_statement (number_literal)))))

undefined8 MASKED(long param_1)

{
  if (*(char *)(param_1 + 10) == '\0') {
    return 0;
  }
  FUN_00181160();
  *(undefined1 *)(param_1 + 10) = 1;
  return 1;
}

