//
// SelectEventLayer::create from 0x100577bf0 to 0x100577e58 (616 bytes)
//
// 1 xrefs:
// > SetupEventLinkPopup::onSelectEvent @ 0x100577baa
//
// 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
//
SelectEventLayer *__fastcall SelectEventLayer::create(SetupEventLinkPopup *a1, std::set *a2)
{
char *v2; // rbx
v2 = (char *)operator new(0x3F8u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v2);
*((_QWORD *)v2 + 72) = 0;
*((_DWORD *)v2 + 146) = 0;
v2[588] = 0;
*((_OWORD *)v2 + 34) = 0;
*(_OWORD *)(v2 + 553) = 0;
*((_OWORD *)v2 + 37) = 0;
*((_QWORD *)v2 + 76) = 0;
*((_DWORD *)v2 + 154) = -1;
*((_WORD *)v2 + 310) = 0;
*((_DWORD *)v2 + 156) = -1;
v2[628] = 0;
*((_OWORD *)v2 + 52) = 0;
*((_OWORD *)v2 + 41) = 0;
*((_WORD *)v2 + 336) = 0;
*(_OWORD *)(v2 + 680) = 0;
*(_OWORD *)(v2 + 689) = 0;
v2[716] = 0;
*(_QWORD *)(v2 + 708) = 0;
*((_OWORD *)v2 + 50) = 0;
*((_OWORD *)v2 + 49) = 0;
*((_OWORD *)v2 + 48) = 0;
*((_OWORD *)v2 + 47) = 0;
*((_OWORD *)v2 + 46) = 0;
*((_OWORD *)v2 + 45) = 0;
*((_QWORD *)v2 + 102) = 0;
*((_QWORD *)v2 + 103) = v2 + 832;
*((_WORD *)v2 + 424) = 0;
*((_QWORD *)v2 + 107) = 0;
*((_QWORD *)v2 + 108) = 0x3F80000000000000LL;
*(_OWORD *)(v2 + 872) = 0;
*(_OWORD *)(v2 + 888) = 0;
*(_OWORD *)(v2 + 904) = 0;
*(_OWORD *)(v2 + 920) = 0;
v2[936] = 0;
*(_QWORD *)v2 = off_100965DF8;
*((_QWORD *)v2 + 40) = off_1009663C8;
*((_QWORD *)v2 + 41) = &off_100966438;
*((_QWORD *)v2 + 42) = off_100966450;
*((_QWORD *)v2 + 43) = off_100966470;
*((_QWORD *)v2 + 44) = off_100966490;
*((_QWORD *)v2 + 51) = off_1009664B8;
*((_QWORD *)v2 + 54) = off_100966538;
*((_QWORD *)v2 + 79) = off_100966558;
*((_QWORD *)v2 + 80) = &off_1009665A0;
*((_QWORD *)v2 + 81) = off_1009665B8;
*((_QWORD *)v2 + 118) = 0;
v2[952] = 0;
*(_QWORD *)(v2 + 956) = 0;
*((_DWORD *)v2 + 241) = 0;
*((_OWORD *)v2 + 61) = 0;
*((_QWORD *)v2 + 121) = v2 + 976;
*(_OWORD *)(v2 + 1000) = 0;
*((_QWORD *)v2 + 124) = v2 + 1000;
if ( SelectEventLayer::init((SelectEventLayer *)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (SelectEventLayer *)v2;
}