
void sqlite3ExpirePreparedStatements(sqlite3 *db,int iCode)

{
  Vdbe *p;
  Vdbe *pVVar1;
  
  pVVar1 = db->pVdbe;
  if (pVVar1 != (Vdbe *)0x0) {
    do {
      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;
      pVVar1 = pVVar1->pNext;
    } while (pVVar1 != (Vdbe *)0x0);
  }
  return;
}



void FUN_0010f65c(long param_1,char param_2)

{
  long lVar1;
  
  lVar1 = *(long *)(param_1 + 8);
  if (lVar1 != 0) {
    do {
      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;
      lVar1 = *(long *)(lVar1 + 0x10);
    } while (lVar1 != 0);
  }
  return;
}


MOV RDX,qword ptr [RDI + 0x8]
TEST RDX,RDX
JZ 0x0010f686
ADD ESI,0x1
AND ESI,0x3
MOVZX EAX,byte ptr [RDX + 0xc6]
AND EAX,0xfffffffc
OR EAX,ESI
MOV byte ptr [RDX + 0xc6],AL
MOV RDX,qword ptr [RDX + 0x10]
TEST RDX,RDX
JNZ 0x0010f66b
RET
(translation_unit "void FUN_0010f65c(long param_1,char param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010f65c(long param_1,char param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010f65c(long param_1,char param_2)" identifier (parameter_list "(long param_1,char param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" { (do_statement "do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);" do (compound_statement "{\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    }" { (expression_statement "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;" (assignment_expression "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (pointer_expression "*(byte *)(lVar1 + 0xc6)" * (cast_expression "(byte *)(lVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc6)" ( (binary_expression "lVar1 + 0xc6" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc" (pointer_expression "*(byte *)(lVar1 + 0xc6)" * (cast_expression "(byte *)(lVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc6)" ( (binary_expression "lVar1 + 0xc6" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 + 1U & 3" (binary_expression "param_2 + 1U" identifier + number_literal) & number_literal))) ;) (expression_statement "lVar1 = *(long *)(lVar1 + 0x10);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x10)" identifier = (pointer_expression "*(long *)(lVar1 + 0x10)" * (cast_expression "(long *)(lVar1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3ExpirePreparedStatements(sqlite3 *db,int iCode)\n\n{\n  Vdbe *p;\n  Vdbe *pVVar1;\n  \n  pVVar1 = db->pVdbe;\n  if (pVVar1 != (Vdbe *)0x0) {\n    do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void sqlite3ExpirePreparedStatements(sqlite3 *db,int iCode)\n\n{\n  Vdbe *p;\n  Vdbe *pVVar1;\n  \n  pVVar1 = db->pVdbe;\n  if (pVVar1 != (Vdbe *)0x0) {\n    do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3ExpirePreparedStatements(sqlite3 *db,int iCode)" identifier (parameter_list "(sqlite3 *db,int iCode)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "int iCode" primitive_type identifier) ))) (compound_statement "{\n  Vdbe *p;\n  Vdbe *pVVar1;\n  \n  pVVar1 = db->pVdbe;\n  if (pVVar1 != (Vdbe *)0x0) {\n    do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);\n  }\n  return;\n}" { (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "Vdbe *pVVar1;" type_identifier (pointer_declarator "*pVVar1" * identifier) ;) (expression_statement "pVVar1 = db->pVdbe;" (assignment_expression "pVVar1 = db->pVdbe" identifier = (field_expression "db->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (pVVar1 != (Vdbe *)0x0) {\n    do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);\n  }" if (parenthesized_expression "(pVVar1 != (Vdbe *)0x0)" ( (binary_expression "pVVar1 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);\n  }" { (do_statement "do {\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    } while (pVVar1 != (Vdbe *)0x0);" do (compound_statement "{\n      pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;\n      pVVar1 = pVVar1->pNext;\n    }" { (expression_statement "pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;" (assignment_expression "pVVar1->field_0xc6 = pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3" (field_expression "pVVar1->field_0xc6" identifier -> field_identifier) = (binary_expression "pVVar1->field_0xc6 & 0xfc | (char)iCode + 1U & 3" (binary_expression "pVVar1->field_0xc6 & 0xfc" (field_expression "pVVar1->field_0xc6" identifier -> field_identifier) & number_literal) | (binary_expression "(char)iCode + 1U & 3" (binary_expression "(char)iCode + 1U" (cast_expression "(char)iCode" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) & number_literal))) ;) (expression_statement "pVVar1 = pVVar1->pNext;" (assignment_expression "pVVar1 = pVVar1->pNext" identifier = (field_expression "pVVar1->pNext" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pVVar1 != (Vdbe *)0x0)" ( (binary_expression "pVVar1 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010f65c(long param_1,char param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010f65c(long param_1,char param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010f65c(long param_1,char param_2)" identifier (parameter_list "(long param_1,char param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" { (do_statement "do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);" do (compound_statement "{\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    }" { (expression_statement "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;" (assignment_expression "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (pointer_expression "*(byte *)(lVar1 + 0xc6)" * (cast_expression "(byte *)(lVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc6)" ( (binary_expression "lVar1 + 0xc6" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc" (pointer_expression "*(byte *)(lVar1 + 0xc6)" * (cast_expression "(byte *)(lVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc6)" ( (binary_expression "lVar1 + 0xc6" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 + 1U & 3" (binary_expression "param_2 + 1U" identifier + number_literal) & number_literal))) ;) (expression_statement "lVar1 = *(long *)(lVar1 + 0x10);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x10)" identifier = (pointer_expression "*(long *)(lVar1 + 0x10)" * (cast_expression "(long *)(lVar1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression (binary_expression IDENT + LIT) & LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0010f65c(long param_1,char param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010f65c(long param_1,char param_2)" (identifier "FUN_0010f65c") (parameter_list "(long param_1,char param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)(param_1 + 8);\n  if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (lVar1 != 0) {\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);\n  }" ({ "{") (do_statement "do {\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    } while (lVar1 != 0);" (do "do") (compound_statement "{\n      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;\n      lVar1 = *(long *)(lVar1 + 0x10);\n    }" ({ "{") (expression_statement "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;" (assignment_expression "*(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (pointer_expression "*(byte *)(lVar1 + 0xc6)" (* "*") (cast_expression "(byte *)(lVar1 + 0xc6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xc6)" (( "(") (binary_expression "lVar1 + 0xc6" (identifier "lVar1") (+ "+") (number_literal "0xc6")) () ")")))) (= "=") (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3" (binary_expression "*(byte *)(lVar1 + 0xc6) & 0xfc" (pointer_expression "*(byte *)(lVar1 + 0xc6)" (* "*") (cast_expression "(byte *)(lVar1 + 0xc6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xc6)" (( "(") (binary_expression "lVar1 + 0xc6" (identifier "lVar1") (+ "+") (number_literal "0xc6")) () ")")))) (& "&") (number_literal "0xfc")) (| "|") (binary_expression "param_2 + 1U & 3" (binary_expression "param_2 + 1U" (identifier "param_2") (+ "+") (number_literal "1U")) (& "&") (number_literal "3")))) (; ";")) (expression_statement "lVar1 = *(long *)(lVar1 + 0x10);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x10)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(lVar1 + 0x10)" (* "*") (cast_expression "(long *)(lVar1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *db,int iCode)

{
  type_2 *p;
  type_2 *var_1;
  
  var_1 = db->pVdbe;
  if (var_1 != (type_2 *)0x0) {
    do {
      var_1->field_0xc6 = var_1->field_0xc6 & 0xfc | (char)iCode + 1U & 3;
      var_1 = var_1->pNext;
    } while (var_1 != (type_2 *)0x0);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (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: (binary_expression left: (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: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(long param_1,char param_2)

{
  long lVar1;
  
  lVar1 = *(long *)(param_1 + 8);
  if (lVar1 != 0) {
    do {
      *(byte *)(lVar1 + 0xc6) = *(byte *)(lVar1 + 0xc6) & 0xfc | param_2 + 1U & 3;
      lVar1 = *(long *)(lVar1 + 0x10);
    } while (lVar1 != 0);
  }
  return;
}

