//
// SelectEventLayer::create from 0x6bbba0 to 0x6bbc74 (212 bytes)
//
// 1 xrefs:
// > SetupEventLinkPopup::onSelectEvent @ 0x6bbca8
//
// 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
//
int __fastcall SelectEventLayer::create(int a1, int a2)
{
int v4; // r4
int v5; // r3
int v6; // r0
v4 = operator new(0x2F4u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v4);
*(_DWORD *)v4 = &off_CE0B28;
*(_DWORD *)(v4 + 264) = &off_CE0E20;
*(_DWORD *)(v4 + 268) = &off_CE0E58;
*(_DWORD *)(v4 + 272) = &off_CE0E64;
*(_DWORD *)(v4 + 276) = &off_CE0E74;
*(_DWORD *)(v4 + 280) = &off_CE0E88;
*(_DWORD *)(v4 + 316) = &off_CE0EA0;
*(_DWORD *)(v4 + 332) = &off_CE0EE0;
*(_DWORD *)(v4 + 440) = &off_CE0EF0;
*(_DWORD *)(v4 + 520) = &off_CE0F14;
*(_DWORD *)(v4 + 524) = &off_CE0F20;
*(_DWORD *)(v4 + 732) = v4 + 736;
*(_DWORD *)(v4 + 712) = 0;
*(_BYTE *)(v4 + 716) = 0;
*(_DWORD *)(v4 + 720) = 0;
*(_DWORD *)(v4 + 724) = 0;
*(_DWORD *)(v4 + 728) = 0;
*(_DWORD *)(v4 + 736) = 0;
*(_DWORD *)(v4 + 740) = 0;
*(_DWORD *)(v4 + 748) = 0;
*(_DWORD *)(v4 + 752) = 0;
*(_DWORD *)(v4 + 744) = v4 + 748;
if ( SelectEventLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
v5 = *(_DWORD *)v4;
v6 = v4;
v4 = 0;
(*(void (__fastcall **)(int))(v5 + 8))(v6);
}
return v4;
}