//
// SetupTriggerPopup::onToggleTriggerValue from 0x5486a6 to 0x5486f0 (74 bytes)
//
// 0 xrefs:
//
// 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::onToggleTriggerValue(SetupTriggerPopup *a1, cocos2d::CCObject *a2)
{
int v4; // r0
unsigned int m_unknown5_low; // r5
bool m_disableTextDelegate; // r7
int v7; // r6
v4 = a2->getTag(a2);
m_unknown5_low = LOBYTE(a2[5].m_unknown5);
m_disableTextDelegate = a1->m_disableTextDelegate;
a1->m_disableTextDelegate = 1;
m_unknown5_low ^= 1u;
v7 = v4;
a1->updateToggleItem(a1, v4, m_unknown5_low);
SetupTriggerPopup::valueChanged(a1, v7, (float)m_unknown5_low);
a1->m_disableTextDelegate = m_disableTextDelegate;
}