//
// SetupSequenceTriggerPopup::onSelect from 0xb81fb4 to 0xb8202c (120 bytes)
//
// 3 xrefs:
// > ??> @ 0x7b1f0
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0xb82200
// > ??> @ 0x1543270
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:02:28 +0000
//
cocos2d::CCObject *__fastcall SetupSequenceTriggerPopup::onSelect(
SetupSequenceTriggerPopup *this,
cocos2d::CCObject *a2)
{
cocos2d::CCObject *result; // x0
ButtonSprite *v5; // x0
ButtonSprite *v6; // x0
result = *((cocos2d::CCObject **)this + 127);
if ( result )
{
v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)result + 1072LL))(result);
ButtonSprite::updateBGImage(v5, "GJ_button_04.png");
result = *((cocos2d::CCObject **)this + 127);
}
if ( a2 == result )
{
*((_QWORD *)this + 127) = 0;
}
else
{
*((_QWORD *)this + 127) = a2;
v6 = (ButtonSprite *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 1072LL))(a2);
return (cocos2d::CCObject *)ButtonSprite::updateBGImage(v6, "GJ_button_03.png");
}
return result;
}