
void __regparm3 sqlite3CodeVerifySchema(Parse *pParse,int iDb)

{
  uint uVar1;
  Parse *pParse_00;
  
  pParse_00 = pParse->pToplevel;
  if (pParse->pToplevel == (Parse *)0x0) {
    pParse_00 = pParse;
  }
  uVar1 = 1 << ((byte)iDb & 0x1f);
  if (((pParse_00->cookieMask & uVar1) == 0) &&
     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)) {
    sqlite3OpenTempDatabase(pParse_00);
    return;
  }
  return;
}



void __regparm3 FUN_000a7640(int param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 0x74);
  if (*(int *)(param_1 + 0x74) == 0) {
    iVar2 = param_1;
  }
  uVar1 = 1 << ((byte)param_2 & 0x1f);
  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&
     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {
    FUN_000a72f0();
    return;
  }
  return;
}


PUSH ESI
MOV ECX,EDX
PUSH EBX
MOV EBX,dword ptr [EAX + 0x74]
TEST EBX,EBX
CMOVZ EBX,EAX
MOV EAX,0x1
SHL EAX,CL
MOV ESI,dword ptr [EBX + 0x54]
TEST ESI,EAX
JNZ 0x000a7664
OR EAX,ESI
MOV dword ptr [EBX + 0x54],EAX
CMP EDX,0x1
JZ 0x000a7670
POP EBX
POP ESI
RET
MOV EAX,EBX
POP EBX
POP ESI
JMP 0x000a72f0
(translation_unit "void __regparm3 FUN_000a7640(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000a7640(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000a7640(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x74) == 0)" ( (binary_expression "*(int *)(param_1 + 0x74) == 0" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar2 = param_1;\n  }" { (expression_statement "iVar2 = param_1;" (assignment_expression "iVar2 = param_1" identifier = identifier) ;) })) (expression_statement "uVar1 = 1 << ((byte)param_2 & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)param_2 & 0x1f)" identifier = (binary_expression "1 << ((byte)param_2 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_2 & 0x1f)" ( (binary_expression "(byte)param_2 & 0x1f" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1))" ( (binary_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" (parenthesized_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0)" ( (binary_expression "(*(uint *)(iVar2 + 0x54) & uVar1) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x54) & uVar1)" ( (binary_expression "*(uint *)(iVar2 + 0x54) & uVar1" (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) & identifier) )) == number_literal) )) && (parenthesized_expression "(*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" ( (comma_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1" (assignment_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54)" (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) = (binary_expression "uVar1 | *(uint *)(iVar2 + 0x54)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))))) , (binary_expression "param_2 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n    FUN_000a72f0();\n    return;\n  }" { (expression_statement "FUN_000a72f0();" (call_expression "FUN_000a72f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 sqlite3CodeVerifySchema(Parse *pParse,int iDb)\n\n{\n  uint uVar1;\n  Parse *pParse_00;\n  \n  pParse_00 = pParse->pToplevel;\n  if (pParse->pToplevel == (Parse *)0x0) {\n    pParse_00 = pParse;\n  }\n  uVar1 = 1 << ((byte)iDb & 0x1f);\n  if (((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)) {\n    sqlite3OpenTempDatabase(pParse_00);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 sqlite3CodeVerifySchema(Parse *pParse,int iDb)\n\n{\n  uint uVar1;\n  Parse *pParse_00;\n  \n  pParse_00 = pParse->pToplevel;\n  if (pParse->pToplevel == (Parse *)0x0) {\n    pParse_00 = pParse;\n  }\n  uVar1 = 1 << ((byte)iDb & 0x1f);\n  if (((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)) {\n    sqlite3OpenTempDatabase(pParse_00);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3CodeVerifySchema(Parse *pParse,int iDb)" identifier (parameter_list "(Parse *pParse,int iDb)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int iDb" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  Parse *pParse_00;\n  \n  pParse_00 = pParse->pToplevel;\n  if (pParse->pToplevel == (Parse *)0x0) {\n    pParse_00 = pParse;\n  }\n  uVar1 = 1 << ((byte)iDb & 0x1f);\n  if (((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)) {\n    sqlite3OpenTempDatabase(pParse_00);\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (expression_statement "pParse_00 = pParse->pToplevel;" (assignment_expression "pParse_00 = pParse->pToplevel" identifier = (field_expression "pParse->pToplevel" identifier -> field_identifier)) ;) (if_statement "if (pParse->pToplevel == (Parse *)0x0) {\n    pParse_00 = pParse;\n  }" if (parenthesized_expression "(pParse->pToplevel == (Parse *)0x0)" ( (binary_expression "pParse->pToplevel == (Parse *)0x0" (field_expression "pParse->pToplevel" identifier -> field_identifier) == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pParse_00 = pParse;\n  }" { (expression_statement "pParse_00 = pParse;" (assignment_expression "pParse_00 = pParse" identifier = identifier) ;) })) (expression_statement "uVar1 = 1 << ((byte)iDb & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)iDb & 0x1f)" identifier = (binary_expression "1 << ((byte)iDb & 0x1f)" number_literal << (parenthesized_expression "((byte)iDb & 0x1f)" ( (binary_expression "(byte)iDb & 0x1f" (cast_expression "(byte)iDb" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)) {\n    sqlite3OpenTempDatabase(pParse_00);\n    return;\n  }" if (parenthesized_expression "(((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1))" ( (binary_expression "((pParse_00->cookieMask & uVar1) == 0) &&\n     (pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)" (parenthesized_expression "((pParse_00->cookieMask & uVar1) == 0)" ( (binary_expression "(pParse_00->cookieMask & uVar1) == 0" (parenthesized_expression "(pParse_00->cookieMask & uVar1)" ( (binary_expression "pParse_00->cookieMask & uVar1" (field_expression "pParse_00->cookieMask" identifier -> field_identifier) & identifier) )) == number_literal) )) && (parenthesized_expression "(pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1)" ( (comma_expression "pParse_00->cookieMask = uVar1 | pParse_00->cookieMask, iDb == 1" (assignment_expression "pParse_00->cookieMask = uVar1 | pParse_00->cookieMask" (field_expression "pParse_00->cookieMask" identifier -> field_identifier) = (binary_expression "uVar1 | pParse_00->cookieMask" identifier | (field_expression "pParse_00->cookieMask" identifier -> field_identifier))) , (binary_expression "iDb == 1" identifier == number_literal)) ))) )) (compound_statement "{\n    sqlite3OpenTempDatabase(pParse_00);\n    return;\n  }" { (expression_statement "sqlite3OpenTempDatabase(pParse_00);" (call_expression "sqlite3OpenTempDatabase(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000a7640(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000a7640(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000a7640(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x74) == 0)" ( (binary_expression "*(int *)(param_1 + 0x74) == 0" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar2 = param_1;\n  }" { (expression_statement "iVar2 = param_1;" (assignment_expression "iVar2 = param_1" identifier = identifier) ;) })) (expression_statement "uVar1 = 1 << ((byte)param_2 & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)param_2 & 0x1f)" identifier = (binary_expression "1 << ((byte)param_2 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_2 & 0x1f)" ( (binary_expression "(byte)param_2 & 0x1f" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }" if (parenthesized_expression "(((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1))" ( (binary_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" (parenthesized_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0)" ( (binary_expression "(*(uint *)(iVar2 + 0x54) & uVar1) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x54) & uVar1)" ( (binary_expression "*(uint *)(iVar2 + 0x54) & uVar1" (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) & identifier) )) == number_literal) )) && (parenthesized_expression "(*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" ( (comma_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1" (assignment_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54)" (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) = (binary_expression "uVar1 | *(uint *)(iVar2 + 0x54)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x54)" * (cast_expression "(uint *)(iVar2 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))))) , (binary_expression "param_2 == 1" identifier == number_literal)) ))) )) (compound_statement "{\n    FUN_000a72f0();\n    return;\n  }" { (expression_statement "FUN_000a72f0();" (call_expression "FUN_000a72f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & IDENT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000a7640(int param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000a7640(int param_1,int param_2)" (identifier "FUN_000a7640") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0x74);\n  if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }\n  uVar1 = 1 << ((byte)param_2 & 0x1f);\n  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x74)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x74) == 0) {\n    iVar2 = param_1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x74) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x74) == 0" (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = param_1;\n  }" ({ "{") (expression_statement "iVar2 = param_1;" (assignment_expression "iVar2 = param_1" (identifier "iVar2") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (expression_statement "uVar1 = 1 << ((byte)param_2 & 0x1f);" (assignment_expression "uVar1 = 1 << ((byte)param_2 & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "1 << ((byte)param_2 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)param_2 & 0x1f)" (( "(") (binary_expression "(byte)param_2 & 0x1f" (cast_expression "(byte)param_2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_2")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {\n    FUN_000a72f0();\n    return;\n  }" (if "if") (parenthesized_expression "(((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1))" (( "(") (binary_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&\n     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" (parenthesized_expression "((*(uint *)(iVar2 + 0x54) & uVar1) == 0)" (( "(") (binary_expression "(*(uint *)(iVar2 + 0x54) & uVar1) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0x54) & uVar1)" (( "(") (binary_expression "*(uint *)(iVar2 + 0x54) & uVar1" (pointer_expression "*(uint *)(iVar2 + 0x54)" (* "*") (cast_expression "(uint *)(iVar2 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (identifier "uVar1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)" (( "(") (comma_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1" (assignment_expression "*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54)" (pointer_expression "*(uint *)(iVar2 + 0x54)" (* "*") (cast_expression "(uint *)(iVar2 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (binary_expression "uVar1 | *(uint *)(iVar2 + 0x54)" (identifier "uVar1") (| "|") (pointer_expression "*(uint *)(iVar2 + 0x54)" (* "*") (cast_expression "(uint *)(iVar2 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))))) (, ",") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n    FUN_000a72f0();\n    return;\n  }" ({ "{") (expression_statement "FUN_000a72f0();" (call_expression "FUN_000a72f0()" (identifier "FUN_000a72f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pParse,int var_2)

{
  type_2 var_1;
  type_1 *pParse_00;
  
  pParse_00 = pParse->pToplevel;
  if (pParse->pToplevel == (type_1 *)0x0) {
    pParse_00 = pParse;
  }
  var_1 = 1 << ((type_3)var_2 & 0x1f);
  if (((pParse_00->cookieMask & var_1) == 0) &&
     (pParse_00->cookieMask = var_1 | pParse_00->cookieMask, var_2 == 1)) {
    var_3(pParse_00);
    return;
  }
  return;
}


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

void __regparm3 MASKED(int param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 0x74);
  if (*(int *)(param_1 + 0x74) == 0) {
    iVar2 = param_1;
  }
  uVar1 = 1 << ((byte)param_2 & 0x1f);
  if (((*(uint *)(iVar2 + 0x54) & uVar1) == 0) &&
     (*(uint *)(iVar2 + 0x54) = uVar1 | *(uint *)(iVar2 + 0x54), param_2 == 1)) {
    FUN_000a72f0();
    return;
  }
  return;
}

