
void sqlite3AddCheckConstraint(Parse *pParse,Expr *pCheckExpr)

{
  Table *pTVar1;
  sqlite3 *db;
  ExprList *pList;
  
  pTVar1 = pParse->pNewTable;
  db = pParse->db;
  if (((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||
     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {
    sqlite3ExprDelete(db,pCheckExpr);
  }
  else {
    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);
    pTVar1->pCheck = pList;
    if ((pParse->constraintName).n != 0) {
      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);
    }
  }
  return;
}



void FUN_0015432e(long *param_1,undefined8 param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = param_1[0x27];
  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||
     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +
                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {
    FUN_001449c2();
  }
  else {
    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);
    *(undefined8 *)(lVar1 + 0x30) = uVar2;
    if ((int)param_1[0xd] != 0) {
      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);
    }
  }
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,RDI
MOV RBP,qword ptr [RDI + 0x138]
MOV RDI,qword ptr [RDI]
TEST RBP,RBP
JZ 0x0015436c
CMP byte ptr [RBX + 0x10e],0x1
JZ 0x0015436c
MOVZX EAX,byte ptr [RDI + 0xb4]
SHL RAX,0x5
ADD RAX,qword ptr [RDI + 0x20]
MOV RAX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST byte ptr [RAX + 0x26],0x1
JZ 0x00154378
CALL 0x001449c2
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV RDX,RSI
MOV RSI,qword ptr [RBP + 0x30]
MOV RDI,RBX
CALL 0x00154287
MOV qword ptr [RBP + 0x30],RAX
CMP dword ptr [RBX + 0x68],0x0
JZ 0x00154371
LEA RDX,[RBX + 0x60]
MOV ECX,0x1
MOV RSI,RAX
MOV RDI,RBX
CALL 0x00137bc6
JMP 0x00154371
(translation_unit "void FUN_0015432e(long *param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015432e(long *param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015432e(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = param_1[0x27];" (assignment_expression "lVar1 = param_1[0x27]" identifier = (subscript_expression "param_1[0x27]" identifier [ number_literal ])) ;) (if_statement "if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" if (parenthesized_expression "(((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0))" ( (binary_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" (parenthesized_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01'))" ( (binary_expression "(lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')" (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)((long)param_1 + 0x10e) == '\x01')" ( (binary_expression "*(char *)((long)param_1 + 0x10e) == '\x01'" (pointer_expression "*(char *)((long)param_1 + 0x10e)" * (cast_expression "(char *)((long)param_1 + 0x10e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x10e)" ( (binary_expression "(long)param_1 + 0x10e" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" ( (binary_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1)" ( (binary_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1" (pointer_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" * (cast_expression "(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" ( (binary_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26" (pointer_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" * (cast_expression "(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" ( (binary_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8" (pointer_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" * (cast_expression "(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" ( (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20)" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(*param_1 + 0xb4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xb4)" ( (binary_expression "*param_1 + 0xb4" (pointer_expression "*param_1" * identifier) + number_literal) )))) * number_literal) + (pointer_expression "*(long *)(*param_1 + 0x20)" * (cast_expression "(long *)(*param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_001449c2();\n  }" { (expression_statement "FUN_001449c2();" (call_expression "FUN_001449c2()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" else (compound_statement "{\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" { (expression_statement "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);" (assignment_expression "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" identifier = (call_expression "FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" identifier (argument_list "(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" ( identifier , (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" * (cast_expression "(undefined8 *)(lVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(lVar1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" * (cast_expression "(undefined8 *)(lVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" if (parenthesized_expression "((int)param_1[0xd] != 0)" ( (binary_expression "(int)param_1[0xd] != 0" (cast_expression "(int)param_1[0xd]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" { (expression_statement "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);" (call_expression "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1)" identifier (argument_list "(param_1,uVar2,param_1 + 0xc,1)" ( identifier , identifier , (binary_expression "param_1 + 0xc" identifier + number_literal) , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3AddCheckConstraint(Parse *pParse,Expr *pCheckExpr)\n\n{\n  Table *pTVar1;\n  sqlite3 *db;\n  ExprList *pList;\n  \n  pTVar1 = pParse->pNewTable;\n  db = pParse->db;\n  if (((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {\n    sqlite3ExprDelete(db,pCheckExpr);\n  }\n  else {\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }\n  return;\n}\n\n" (function_definition "void sqlite3AddCheckConstraint(Parse *pParse,Expr *pCheckExpr)\n\n{\n  Table *pTVar1;\n  sqlite3 *db;\n  ExprList *pList;\n  \n  pTVar1 = pParse->pNewTable;\n  db = pParse->db;\n  if (((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {\n    sqlite3ExprDelete(db,pCheckExpr);\n  }\n  else {\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3AddCheckConstraint(Parse *pParse,Expr *pCheckExpr)" identifier (parameter_list "(Parse *pParse,Expr *pCheckExpr)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Expr *pCheckExpr" type_identifier (pointer_declarator "*pCheckExpr" * identifier)) ))) (compound_statement "{\n  Table *pTVar1;\n  sqlite3 *db;\n  ExprList *pList;\n  \n  pTVar1 = pParse->pNewTable;\n  db = pParse->db;\n  if (((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {\n    sqlite3ExprDelete(db,pCheckExpr);\n  }\n  else {\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }\n  return;\n}" { (declaration "Table *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "ExprList *pList;" type_identifier (pointer_declarator "*pList" * identifier) ;) (expression_statement "pTVar1 = pParse->pNewTable;" (assignment_expression "pTVar1 = pParse->pNewTable" identifier = (field_expression "pParse->pNewTable" identifier -> field_identifier)) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {\n    sqlite3ExprDelete(db,pCheckExpr);\n  }\n  else {\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }" if (parenthesized_expression "(((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0))" ( (binary_expression "((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')) ||\n     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)" (parenthesized_expression "((pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01'))" ( (binary_expression "(pTVar1 == (Table *)0x0) || (pParse->eParseMode == '\x01')" (parenthesized_expression "(pTVar1 == (Table *)0x0)" ( (binary_expression "pTVar1 == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pParse->eParseMode == '\x01')" ( (binary_expression "pParse->eParseMode == '\x01'" (field_expression "pParse->eParseMode" identifier -> field_identifier) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)" ( (binary_expression "((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0" (parenthesized_expression "((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1)" ( (binary_expression "(db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1" (field_expression "(db->aDb[(db->init).iDb].pBt)->pBt->btsFlags" (field_expression "(db->aDb[(db->init).iDb].pBt)->pBt" (parenthesized_expression "(db->aDb[(db->init).iDb].pBt)" ( (field_expression "db->aDb[(db->init).iDb].pBt" (subscript_expression "db->aDb[(db->init).iDb]" (field_expression "db->aDb" identifier -> field_identifier) [ (field_expression "(db->init).iDb" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) ]) . field_identifier) )) -> field_identifier) -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    sqlite3ExprDelete(db,pCheckExpr);\n  }" { (expression_statement "sqlite3ExprDelete(db,pCheckExpr);" (call_expression "sqlite3ExprDelete(db,pCheckExpr)" identifier (argument_list "(db,pCheckExpr)" ( identifier , identifier ))) ;) }) (else_clause "else {\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }" else (compound_statement "{\n    pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);\n    pTVar1->pCheck = pList;\n    if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }\n  }" { (expression_statement "pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr);" (assignment_expression "pList = sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr)" identifier = (call_expression "sqlite3ExprListAppend(pParse,pTVar1->pCheck,pCheckExpr)" identifier (argument_list "(pParse,pTVar1->pCheck,pCheckExpr)" ( identifier , (field_expression "pTVar1->pCheck" identifier -> field_identifier) , identifier )))) ;) (expression_statement "pTVar1->pCheck = pList;" (assignment_expression "pTVar1->pCheck = pList" (field_expression "pTVar1->pCheck" identifier -> field_identifier) = identifier) ;) (if_statement "if ((pParse->constraintName).n != 0) {\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }" if (parenthesized_expression "((pParse->constraintName).n != 0)" ( (binary_expression "(pParse->constraintName).n != 0" (field_expression "(pParse->constraintName).n" (parenthesized_expression "(pParse->constraintName)" ( (field_expression "pParse->constraintName" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (compound_statement "{\n      sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);\n    }" { (expression_statement "sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1);" (call_expression "sqlite3ExprListSetName(pParse,pList,&pParse->constraintName,1)" identifier (argument_list "(pParse,pList,&pParse->constraintName,1)" ( identifier , identifier , (pointer_expression "&pParse->constraintName" & (field_expression "pParse->constraintName" identifier -> field_identifier)) , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0015432e(long *param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015432e(long *param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015432e(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = param_1[0x27];" (assignment_expression "lVar1 = param_1[0x27]" identifier = (subscript_expression "param_1[0x27]" identifier [ number_literal ])) ;) (if_statement "if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" if (parenthesized_expression "(((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0))" ( (binary_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" (parenthesized_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01'))" ( (binary_expression "(lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')" (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)((long)param_1 + 0x10e) == '\x01')" ( (binary_expression "*(char *)((long)param_1 + 0x10e) == '\x01'" (pointer_expression "*(char *)((long)param_1 + 0x10e)" * (cast_expression "(char *)((long)param_1 + 0x10e)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x10e)" ( (binary_expression "(long)param_1 + 0x10e" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" ( (binary_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1)" ( (binary_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1" (pointer_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" * (cast_expression "(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" ( (binary_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26" (pointer_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" * (cast_expression "(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" ( (binary_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8" (pointer_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" * (cast_expression "(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" ( (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20)" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)(*param_1 + 0xb4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xb4)" ( (binary_expression "*param_1 + 0xb4" (pointer_expression "*param_1" * identifier) + number_literal) )))) * number_literal) + (pointer_expression "*(long *)(*param_1 + 0x20)" * (cast_expression "(long *)(*param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) + number_literal) )))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_001449c2();\n  }" { (expression_statement "FUN_001449c2();" (call_expression "FUN_001449c2()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" else (compound_statement "{\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" { (expression_statement "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);" (assignment_expression "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" identifier = (call_expression "FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" identifier (argument_list "(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" ( identifier , (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" * (cast_expression "(undefined8 *)(lVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(lVar1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" * (cast_expression "(undefined8 *)(lVar1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" if (parenthesized_expression "((int)param_1[0xd] != 0)" ( (binary_expression "(int)param_1[0xd] != 0" (cast_expression "(int)param_1[0xd]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" { (expression_statement "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);" (call_expression "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1)" identifier (argument_list "(param_1,uVar2,param_1 + 0xc,1)" ( identifier , identifier , (binary_expression "param_1 + 0xc" identifier + number_literal) , number_literal ))) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) * LIT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) + LIT) )))) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , LIT ))) ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_0015432e(long *param_1,undefined8 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015432e(long *param_1,undefined8 param_2)" (identifier "FUN_0015432e") (parameter_list "(long *param_1,undefined8 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = param_1[0x27];\n  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = param_1[0x27];" (assignment_expression "lVar1 = param_1[0x27]" (identifier "lVar1") (= "=") (subscript_expression "param_1[0x27]" (identifier "param_1") ([ "[") (number_literal "0x27") (] "]"))) (; ";")) (if_statement "if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {\n    FUN_001449c2();\n  }\n  else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" (if "if") (parenthesized_expression "(((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0))" (( "(") (binary_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||\n     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" (parenthesized_expression "((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01'))" (( "(") (binary_expression "(lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')" (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)((long)param_1 + 0x10e) == '\x01')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x10e) == '\x01'" (pointer_expression "*(char *)((long)param_1 + 0x10e)" (* "*") (cast_expression "(char *)((long)param_1 + 0x10e)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x10e)" (( "(") (binary_expression "(long)param_1 + 0x10e" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x10e")) () ")")))) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0" (parenthesized_expression "(*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1)" (( "(") (binary_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1" (pointer_expression "*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" (* "*") (cast_expression "(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26)" (( "(") (binary_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26" (pointer_expression "*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" (* "*") (cast_expression "(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8)" (( "(") (binary_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8) + 8" (pointer_expression "*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" (* "*") (cast_expression "(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8)" (( "(") (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20) + 8" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +\n                                     *(long *)(*param_1 + 0x20)" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4) * 0x20" (binary_expression "(ulong)*(byte *)(*param_1 + 0xb4)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)(*param_1 + 0xb4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xb4)" (( "(") (binary_expression "*param_1 + 0xb4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xb4")) () ")")))) (* "*") (number_literal "0x20")) (+ "+") (pointer_expression "*(long *)(*param_1 + 0x20)" (* "*") (cast_expression "(long *)(*param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x20)" (( "(") (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x20")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x26")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_001449c2();\n  }" ({ "{") (expression_statement "FUN_001449c2();" (call_expression "FUN_001449c2()" (identifier "FUN_001449c2") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" (else "else") (compound_statement "{\n    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);\n    *(undefined8 *)(lVar1 + 0x30) = uVar2;\n    if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }\n  }" ({ "{") (expression_statement "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);" (assignment_expression "uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" (identifier "FUN_00154287") (argument_list "(param_1,*(undefined8 *)(lVar1 + 0x30),param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x30)" (( "(") (binary_expression "lVar1 + 0x30" (identifier "lVar1") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x30) = uVar2;" (assignment_expression "*(undefined8 *)(lVar1 + 0x30) = uVar2" (pointer_expression "*(undefined8 *)(lVar1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x30)" (( "(") (binary_expression "lVar1 + 0x30" (identifier "lVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((int)param_1[0xd] != 0) {\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" (if "if") (parenthesized_expression "((int)param_1[0xd] != 0)" (( "(") (binary_expression "(int)param_1[0xd] != 0" (cast_expression "(int)param_1[0xd]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);\n    }" ({ "{") (expression_statement "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);" (call_expression "FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1)" (identifier "FUN_00137bc6") (argument_list "(param_1,uVar2,param_1 + 0xc,1)" (( "(") (identifier "param_1") (, ",") (identifier "uVar2") (, ",") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) (, ",") (number_literal "1") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pParse,type_2 *pCheckExpr)

{
  type_3 *var_1;
  type_4 *db;
  type_5 *pList;
  
  var_1 = pParse->pNewTable;
  db = pParse->db;
  if (((var_1 == (type_3 *)0x0) || (pParse->eParseMode == '\x01')) ||
     (((db->aDb[(db->init).iDb].pBt)->pBt->btsFlags & 1) != 0)) {
    var_2(db,pCheckExpr);
  }
  else {
    pList = var_3(pParse,var_1->pCheck,pCheckExpr);
    var_1->pCheck = pList;
    if ((pParse->constraintName).n != 0) {
      var_4(pParse,pList,&pParse->constraintName,1);
    }
  }
  return;
}


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

void MASKED(long *param_1,undefined8 param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = param_1[0x27];
  if (((lVar1 == 0) || (*(char *)((long)param_1 + 0x10e) == '\x01')) ||
     ((*(byte *)(*(long *)(*(long *)((ulong)*(byte *)(*param_1 + 0xb4) * 0x20 +
                                     *(long *)(*param_1 + 0x20) + 8) + 8) + 0x26) & 1) != 0)) {
    FUN_001449c2();
  }
  else {
    uVar2 = FUN_00154287(param_1,*(undefined8 *)(lVar1 + 0x30),param_2);
    *(undefined8 *)(lVar1 + 0x30) = uVar2;
    if ((int)param_1[0xd] != 0) {
      FUN_00137bc6(param_1,uVar2,param_1 + 0xc,1);
    }
  }
  return;
}

