//
// SetupSequenceTriggerPopup::onSelect from 0x1001d36b8 to 0x1001d3738 (128 bytes)
//
// 1 xrefs:
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x1001d3408
//
// 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 __fastcall SetupSequenceTriggerPopup::onSelect(SetupSequenceTriggerPopup *a1, cocos2d::CCObject *a2)
{
CCMenuItemSpriteExtra *m_selectedButton; // x0
ButtonSprite *v5; // x0
CCMenuItemSpriteExtra *v6; // x8
ButtonSprite *v7; // x0
m_selectedButton = a1->m_selectedButton;
if ( m_selectedButton )
{
v5 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))m_selectedButton->getNormalImage)(m_selectedButton);
ButtonSprite::updateBGImage(v5, "GJ_button_04.png");
v6 = a1->m_selectedButton;
}
else
{
v6 = nullptr;
}
if ( v6 == a2 )
{
a1->m_selectedButton = nullptr;
}
else
{
a1->m_selectedButton = (CCMenuItemSpriteExtra *)a2;
v7 = (ButtonSprite *)((__int64 (__fastcall *)(cocos2d::CCObject *))a2->__vftable[13].~CCObject_0)(a2);
ButtonSprite::updateBGImage(v7, "GJ_button_03.png");
}
}