//
// SetupTriggerPopup::updateToggleItem from 0x540f54 to 0x540f96 (66 bytes)
//
// 1 xrefs:
// > SetupGradientPopup::updateToggleItem @ 0x550b4c
//
// 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 SetupTriggerPopup::updateToggleItem(SetupTriggerPopup *a1, int a2, bool a3)
{
cocos2d::CCDictionary *m_triggerValues; // r6
cocos2d::CCObject *v6; // r0
CCMenuItemToggler *v7; // r0
m_triggerValues = a1->m_triggerValues;
v6 = cocos2d::CCFloat::create(COERCE_COCOS2D_CCFLOAT_((float)a3), *(float *)&a2);
cocos2d::CCDictionary::setObject(m_triggerValues, v6, a2);
v7 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_valueToggles, a2);
if ( v7 )
CCMenuItemToggler::toggle(v7, a3);
}