//
// SetupEventLinkPopup::onSelectEvent from 0x6bbc78 to 0x6bbcf8 (128 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:46 +0000
//
void __fastcall SetupEventLinkPopup::onSelectEvent(cocos2d::CCArray **this, cocos2d::CCObject *a2, int a3, int a4)
{
int v5; // r1
int v6; // r1
int v7; // r0
SetupEventLinkPopup *v8; // [sp+0h] [bp-10h] BYREF
_DWORD *v9; // [sp+4h] [bp-Ch] BYREF
int v10; // [sp+8h] [bp-8h]
int v11; // [sp+Ch] [bp-4h]
v8 = (SetupEventLinkPopup *)this;
v9 = a2;
v10 = a3;
v11 = a4;
v5 = (int)*(this + 132);
v9 = nullptr;
v10 = 0;
v8 = (SetupEventLinkPopup *)&v9;
if ( v5 )
{
v6 = v5 + 1648;
}
else
{
if ( !cocos2d::CCArray::count(*(this + 133)) )
goto LABEL_4;
v6 = cocos2d::CCArray::objectAtIndex(*(this + 133), 0) + 1648;
}
std::__tree::operator=((int)&v8, v6);
LABEL_4:
v7 = SelectEventLayer::create((int)this, (int)&v8);
(*(void (__fastcall **)(int))(*(_DWORD *)v7 + 656))(v7);
std::__tree::destroy((int)&v8, v9);
}