//
// SelectEventLayer::dSelectEventLayer from 0x100407570 to 0x100407604 (148 bytes)
//
// 4 xrefs:
// > j_SelectEventLayer::dSelectEventLayer @ 0x100407608
// > sub_10040760C @ 0x100407610
// > sub_100407614 @ 0x10040761c
// > sub_100407628 @ 0x100407634
//
// 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
//
__int64 __fastcall SelectEventLayer::dSelectEventLayer(__int64 a1)
{
*(_QWORD *)a1 = off_100818330;
*(_QWORD *)(a1 + 320) = off_100818900;
*(_QWORD *)(a1 + 328) = &off_100818970;
*(_QWORD *)(a1 + 336) = off_100818988;
*(_QWORD *)(a1 + 344) = off_1008189A8;
*(_QWORD *)(a1 + 352) = off_1008189C8;
*(_QWORD *)(a1 + 408) = off_1008189F0;
*(_QWORD *)(a1 + 432) = off_100818A70;
*(_QWORD *)(a1 + 632) = off_100818A90;
*(_QWORD *)(a1 + 640) = &off_100818AD8;
*(_QWORD *)(a1 + 648) = off_100818AF0;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
sub_100017D70(a1 + 992, *(_QWORD **)(a1 + 1000));
sub_10006E508(a1 + 968, *(char **)(a1 + 976));
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}