
KeyInfo * __regparm3 sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)

{
  uint uVar1;
  
  uVar1._0_1_ = db->temp_store;
  uVar1._1_1_ = db->mallocFailed;
  uVar1._2_1_ = db->bBenignMalloc;
  uVar1._3_1_ = db->dfltLockMode;
  if ((uVar1 & 0xffff00) != 0) {
    return (KeyInfo *)db;
  }
  sqlite3OomFault(db);
  return (KeyInfo *)db;
}



void __regparm3 FUN_00031a90(int param_1)

{
  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {
    return;
  }
  FUN_0002e050();
  return;
}


TEST dword ptr [EAX + 0x4c],0xffff00
JZ 0x00031aa0
RET
JMP 0x0002e050
(translation_unit "void __regparm3 FUN_00031a90(int param_1)\n\n{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00031a90(int param_1)\n\n{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00031a90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" { (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002e050();" (call_expression "FUN_0002e050()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "KeyInfo * __regparm3 sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)\n\n{\n  uint uVar1;\n  \n  uVar1._0_1_ = db->temp_store;\n  uVar1._1_1_ = db->mallocFailed;\n  uVar1._2_1_ = db->bBenignMalloc;\n  uVar1._3_1_ = db->dfltLockMode;\n  if ((uVar1 & 0xffff00) != 0) {\n    return (KeyInfo *)db;\n  }\n  sqlite3OomFault(db);\n  return (KeyInfo *)db;\n}\n\n" (ERROR "KeyInfo * __regparm3 sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)" (binary_expression "KeyInfo * __regparm3 sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)" identifier * (ERROR "__regparm3" identifier) (call_expression "sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)" identifier (argument_list "(sqlite3 *db,int N,int X)" ( (binary_expression "sqlite3 *db" identifier * identifier) , identifier (ERROR "N" identifier) , identifier (ERROR "X" identifier) ))))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1._0_1_ = db->temp_store;\n  uVar1._1_1_ = db->mallocFailed;\n  uVar1._2_1_ = db->bBenignMalloc;\n  uVar1._3_1_ = db->dfltLockMode;\n  if ((uVar1 & 0xffff00) != 0) {\n    return (KeyInfo *)db;\n  }\n  sqlite3OomFault(db);\n  return (KeyInfo *)db;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1._0_1_ = db->temp_store;" (assignment_expression "uVar1._0_1_ = db->temp_store" (field_expression "uVar1._0_1_" identifier . field_identifier) = (field_expression "db->temp_store" identifier -> field_identifier)) ;) (expression_statement "uVar1._1_1_ = db->mallocFailed;" (assignment_expression "uVar1._1_1_ = db->mallocFailed" (field_expression "uVar1._1_1_" identifier . field_identifier) = (field_expression "db->mallocFailed" identifier -> field_identifier)) ;) (expression_statement "uVar1._2_1_ = db->bBenignMalloc;" (assignment_expression "uVar1._2_1_ = db->bBenignMalloc" (field_expression "uVar1._2_1_" identifier . field_identifier) = (field_expression "db->bBenignMalloc" identifier -> field_identifier)) ;) (expression_statement "uVar1._3_1_ = db->dfltLockMode;" (assignment_expression "uVar1._3_1_ = db->dfltLockMode" (field_expression "uVar1._3_1_" identifier . field_identifier) = (field_expression "db->dfltLockMode" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 0xffff00) != 0) {\n    return (KeyInfo *)db;\n  }" if (parenthesized_expression "((uVar1 & 0xffff00) != 0)" ( (binary_expression "(uVar1 & 0xffff00) != 0" (parenthesized_expression "(uVar1 & 0xffff00)" ( (binary_expression "uVar1 & 0xffff00" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    return (KeyInfo *)db;\n  }" { (return_statement "return (KeyInfo *)db;" return (cast_expression "(KeyInfo *)db" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "sqlite3OomFault(db);" (call_expression "sqlite3OomFault(db)" identifier (argument_list "(db)" ( identifier ))) ;) (return_statement "return (KeyInfo *)db;" return (cast_expression "(KeyInfo *)db" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) }))
(translation_unit "void __regparm3 FUN_00031a90(int param_1)\n\n{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00031a90(int param_1)\n\n{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00031a90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" { (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0002e050();" (call_expression "FUN_0002e050()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00031a90(int param_1)\n\n{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00031a90(int param_1)" (identifier "FUN_00031a90") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }\n  FUN_0002e050();\n  return;\n}" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" (( "(") (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" (* "*") (cast_expression "(uint *)(param_1 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (& "&") (number_literal "0xffff00")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002e050();" (call_expression "FUN_0002e050()" (identifier "FUN_0002e050") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_2 * __regparm3 sqlite3KeyInfoAlloc(sqlite3 *db,int N,int X)

{
  type_1 var_1;
  
  var_1._0_1_ = db->temp_store;
  var_1._1_1_ = db->mallocFailed;
  var_1._2_1_ = db->bBenignMalloc;
  var_1._3_1_ = db->dfltLockMode;
  if ((var_1 & 0xffff00) != 0) {
    return (type_2 *)db;
  }
  var_2(db);
  return (type_2 *)db;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void __regparm3 MASKED(int param_1)

{
  if ((*(uint *)(param_1 + 0x4c) & 0xffff00) != 0) {
    return;
  }
  FUN_0002e050();
  return;
}

