//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0x140426650 to 0x140426701 (177 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405e6cf8
// > ??> @ 0x1406d9734
//
// 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; // ebx
int v5; // ebx
CCMenuItemToggler *v6; // rax
CCMenuItemToggler *v7; // rax
v4 = (int)a1->getValue(a1, 536);
if ( a2->getTag(a2) == v4 )
v5 = 0;
else
v5 = a2->getTag(a2);
SetupTriggerPopup::updateValue(a1, 536, (float)v5);
v6 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 1);
if ( v6 )
CCMenuItemToggler::toggle(v6, v5 == 1);
v7 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 2);
if ( v7 )
CCMenuItemToggler::toggle(v7, v5 == 2);
}