//
// SetupSequenceTriggerPopup::onDeleteSelected from 0x580f9a to 0x580fc4 (42 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 SetupSequenceTriggerPopup::onDeleteSelected(SetupSequenceTriggerPopup *a1, cocos2d::CCObject *a2)
{
CCMenuItemSpriteExtra *m_selectedButton; // r0
m_selectedButton = a1->m_selectedButton;
if ( m_selectedButton )
m_selectedButton = (CCMenuItemSpriteExtra *)((int (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCObject *))m_selectedButton->getTag)(
m_selectedButton,
a2);
SequenceTriggerGameObject::deleteTarget((SequenceTriggerGameObject *)a1->m_gameObject, (int)m_selectedButton);
a1->m_selectedButton = nullptr;
SetupSequenceTriggerPopup::updateGroupIDButtons(a1);
}