//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0x1001b59b4 to 0x1001b5a58 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b1d48
//
// 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 __fastcall SetupKeyframePopup::onCustomToggleTriggerValue(SetupKeyframePopup *a1, cocos2d::CCObject *a2)
{
int v4; // w21
int v5; // w20
v4 = (int)((float (__fastcall *)(SetupKeyframePopup *, __int64))a1->getValue)(a1, 536);
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == v4 )
v5 = 0;
else
v5 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
SetupTriggerPopup::updateValue(a1, 536, (float)v5);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v5 == 1);
SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v5 == 2);
}