
/* WARNING: Unknown calling convention */

int sqlite3_stmt_readonly(sqlite3_stmt *pStmt)

{
  uint uVar1;
  
  uVar1 = 1;
  if (pStmt != (sqlite3_stmt *)0x0) {
    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);
  }
  return uVar1;
}



byte sqlite3_stmt_readonly(int param_1)

{
  byte bVar1;
  
  bVar1 = 1;
  if (param_1 != 0) {
    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;
  }
  return bVar1;
}


MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,0x1
TEST EDX,EDX
JZ 0x0001fbaa
MOVZX EAX,byte ptr [EDX + 0x8e]
SHR AL,0x7
MOVZX EAX,AL
RET
(translation_unit "byte sqlite3_stmt_readonly(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}\n\n" (function_definition "byte sqlite3_stmt_readonly(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" type_identifier (function_declarator "sqlite3_stmt_readonly(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" identifier = number_literal) ;) (if_statement "if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" { (expression_statement "bVar1 = *(byte *)(param_1 + 0x8e) >> 7;" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x8e) >> 7" identifier = (binary_expression "*(byte *)(param_1 + 0x8e) >> 7" (pointer_expression "*(byte *)(param_1 + 0x8e)" * (cast_expression "(byte *)(param_1 + 0x8e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8e)" ( (binary_expression "param_1 + 0x8e" identifier + number_literal) )))) >> number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint sqlite3_stmt_readonly(sqlite3_stmt *pStmt)\n\n{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (pStmt != (sqlite3_stmt *)0x0) {\n    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);\n  }\n  return uVar1;\n}\n\n" comment (function_definition "int sqlite3_stmt_readonly(sqlite3_stmt *pStmt)\n\n{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (pStmt != (sqlite3_stmt *)0x0) {\n    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "sqlite3_stmt_readonly(sqlite3_stmt *pStmt)" identifier (parameter_list "(sqlite3_stmt *pStmt)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 1;\n  if (pStmt != (sqlite3_stmt *)0x0) {\n    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (pStmt != (sqlite3_stmt *)0x0) {\n    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);\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    uVar1 = (uint)((byte)pStmt[0x8e] >> 7);\n  }" { (expression_statement "uVar1 = (uint)((byte)pStmt[0x8e] >> 7);" (assignment_expression "uVar1 = (uint)((byte)pStmt[0x8e] >> 7)" identifier = (call_expression "(uint)((byte)pStmt[0x8e] >> 7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)pStmt[0x8e] >> 7)" ( (binary_expression "(byte)pStmt[0x8e] >> 7" (cast_expression "(byte)pStmt[0x8e]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pStmt[0x8e]" identifier [ number_literal ])) >> number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "byte sqlite3_stmt_readonly(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}\n\n" (function_definition "byte sqlite3_stmt_readonly(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" type_identifier (function_declarator "sqlite3_stmt_readonly(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" identifier = number_literal) ;) (if_statement "if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" { (expression_statement "bVar1 = *(byte *)(param_1 + 0x8e) >> 7;" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x8e) >> 7" identifier = (binary_expression "*(byte *)(param_1 + 0x8e) >> 7" (pointer_expression "*(byte *)(param_1 + 0x8e)" * (cast_expression "(byte *)(param_1 + 0x8e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8e)" ( (binary_expression "param_1 + 0x8e" identifier + number_literal) )))) >> number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "byte sqlite3_stmt_readonly(int param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" (type_identifier "byte") (function_declarator "sqlite3_stmt_readonly(int param_1)" (identifier "sqlite3_stmt_readonly") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = 1;\n  if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }\n  return bVar1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" (identifier "bVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_1 != 0) {\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;\n  }" ({ "{") (expression_statement "bVar1 = *(byte *)(param_1 + 0x8e) >> 7;" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x8e) >> 7" (identifier "bVar1") (= "=") (binary_expression "*(byte *)(param_1 + 0x8e) >> 7" (pointer_expression "*(byte *)(param_1 + 0x8e)" (* "*") (cast_expression "(byte *)(param_1 + 0x8e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8e)" (( "(") (binary_expression "param_1 + 0x8e" (identifier "param_1") (+ "+") (number_literal "0x8e")) () ")")))) (>> ">>") (number_literal "7"))) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *var_1)

{
  type_2 uVar1;
  
  uVar1 = 1;
  if (var_1 != (type_1 *)0x0) {
    uVar1 = (type_2)((type_3)var_1[0x8e] >> 7);
  }
  return uVar1;
}


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

byte MASKED(int param_1)

{
  byte bVar1;
  
  bVar1 = 1;
  if (param_1 != 0) {
    bVar1 = *(byte *)(param_1 + 0x8e) >> 7;
  }
  return bVar1;
}

