//
// SetupTriggerPopup::onTouchTriggered from 0x140475580 to 0x1404755ca (74 bytes)
//
// 5 xrefs:
// > ColorSelectPopup::init @ 0x14008ed52
// > SetupCountTriggerPopup::init @ 0x14041bcb5
// > SetupPulsePopup::init @ 0x14043925e
// > SetupTriggerPopup::createMultiTriggerItems @ 0x140475209
// > ??> @ 0x1406db540
//
// 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::onTouchTriggered(SetupTriggerPopup *a1, cocos2d::CCObject *a2)
{
bool m_touchTriggered; // dl
m_touchTriggered = a1->m_touchTriggered;
a1->m_touchTriggered = !m_touchTriggered;
if ( !m_touchTriggered )
{
a1->m_spawnTriggered = 0;
SetupTriggerPopup::updateSpawnedByTrigger(a1);
CCMenuItemToggler::toggle(a1->m_spawnToggle, a1->m_spawnTriggered);
}
SetupTriggerPopup::updateTouchTriggered(a1);
}