//
// sub_100487F48 from 0x100487f48 to 0x100487fdc (148 bytes)
//
// 4 xrefs:
// > SelectEventLayer::dSelectEventLayer @ 0x100487fe0
// > sub_100487FE4 @ 0x100487fe8
// > sub_100487FEC @ 0x100487ff4
// > sub_100488000 @ 0x10048800c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:05:49 +0000
//
__int64 __fastcall sub_100487F48(__int64 a1)
{
*(_QWORD *)a1 = off_1009701A0;
*(_QWORD *)(a1 + 320) = off_100970790;
*(_QWORD *)(a1 + 328) = &off_100970800;
*(_QWORD *)(a1 + 336) = off_100970818;
*(_QWORD *)(a1 + 344) = off_100970838;
*(_QWORD *)(a1 + 352) = off_100970860;
*(_QWORD *)(a1 + 408) = off_100970890;
*(_QWORD *)(a1 + 432) = off_100970910;
*(_QWORD *)(a1 + 544) = off_100970930;
*(_QWORD *)(a1 + 664) = &off_100970978;
*(_QWORD *)(a1 + 672) = off_100970990;
cocos2d::CCNode::removeAllChildrenWithCleanup(a1, 1);
sub_1000187C4(a1 + 1064, *(_QWORD **)(a1 + 1072));
sub_100076C88(a1 + 1040, *(char **)(a1 + 1048));
return sub_1001ABB48(a1);
}