//
// SetupSequenceTriggerPopup::onSelect from 0x6bc020 to 0x6bc066 (70 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:47 +0000
//
char *__fastcall SetupSequenceTriggerPopup::onSelect(SetupSequenceTriggerPopup *this, cocos2d::CCObject *a2)
{
char *result; // r0
char *v5; // r0
char *v6; // r0
result = *((char **)this + 178);
if ( result )
{
v5 = (char *)(*(int (__fastcall **)(char *))(*(_DWORD *)result + 536))(result);
result = ButtonSprite::updateBGImage(v5, "GJ_button_04.png");
}
if ( *((cocos2d::CCObject **)this + 178) == a2 )
{
*((_DWORD *)this + 178) = 0;
}
else
{
*((_DWORD *)this + 178) = a2;
v6 = (char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 536))(a2);
return ButtonSprite::updateBGImage(v6, "GJ_button_03.png");
}
return result;
}