//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0xa3a260 to 0xa3a318 (184 bytes)
//
// 2 xrefs:
// > ??> @ 0x5c6b8
// > ??> @ 0x11de450
//
// 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
//
void SetupKeyframePopup::onCustomToggleTriggerValue(SetupKeyframePopup *a1, cocos2d::CCObject *a2)
{
int v4; // w0
float v5; // s0
bool v6; // w21
bool v7; // w20
float v8; // [xsp+30h] [xbp+30h]
v8 = COERCE_FLOAT(COERCE_UNSIGNED_INT128(((long double (__fastcall *)(SetupKeyframePopup *, __int64))a1->getValue)(a1, 536)));
if ( (int)v8 == a2->getTag(a2) )
{
v5 = 0.0;
v7 = 0;
v6 = 0;
}
else
{
v4 = a2->getTag(a2);
v5 = (float)v4;
v6 = v4 == 1;
v7 = v4 == 2;
}
SetupTriggerPopup::updateValue(a1, 536, v5);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v6);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v7);
}