//
// SetupTimerControlTriggerPopup::onCustomToggleTriggerValue from 0x1404631f0 to 0x14046326d (125 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405f9010
// > ??> @ 0x1406daee0
//
// 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 SetupTimerControlTriggerPopup::onCustomToggleTriggerValue(
SetupTimerControlTriggerPopup *a1,
cocos2d::CCObject *a2)
{
int v3; // ebx
CCMenuItemToggler *v4; // rax
CCMenuItemToggler *v5; // rax
v3 = a2->getTag(a2);
SetupTriggerPopup::updateValue(a1, 472, (float)v3);
v4 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 0);
if ( v4 )
CCMenuItemToggler::toggle(v4, v3 == 0);
v5 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 1);
if ( v5 )
CCMenuItemToggler::toggle(v5, v3 == 1);
}