//
// isOpValid from 0xa490dc to 0xa4911c (64 bytes)
//
// 4 xrefs:
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0xa49a70
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0xa4c2d8
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0xa4c430
// > ??> @ 0x96498
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall isOpValid(int a1, float a2)
{
unsigned int v2; // w1
if ( a2 == 1.0 )
return (unsigned int)(a1 - 3) > 1;
v2 = 1;
if ( a2 != 0.0 )
return v2;
return (unsigned int)(a1 - 1) > 1;
}