//
// sub_100952130 from 0x100952130 to 0x100952287 (343 bytes)
//
// 4 xrefs:
// > sub_100952290 @ 0x100952295
// > sub_1009522A0 @ 0x1009522ac
// > sub_1009522C0 @ 0x1009522c9
// > sub_1009522E0 @ 0x1009522f3
//
// This function is hookable on this platform (idp: pc, 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 12:38:39 +0000
//
__int64 __fastcall sub_100952130(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
_DWORD *v4; // rdi
*(_QWORD *)a1 = off_100BC8308;
*(_QWORD *)(a1 + 320) = off_100BC8948;
*(_QWORD *)(a1 + 328) = &off_100BC89B8;
*(_QWORD *)(a1 + 336) = off_100BC89D0;
*(_QWORD *)(a1 + 344) = off_100BC89F0;
*(_QWORD *)(a1 + 352) = off_100BC8A18;
*(_QWORD *)(a1 + 408) = off_100BC8A48;
*(_QWORD *)(a1 + 432) = off_100BC8AC8;
*(_QWORD *)(a1 + 544) = off_100BC8AE8;
*(_QWORD *)(a1 + 664) = &off_100BC8B30;
*(_QWORD *)(a1 + 672) = off_100BC8B48;
*(_QWORD *)(a1 + 1016) = off_100BC8B68;
*(_QWORD *)(a1 + 1024) = off_100BC8BE8;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1264) == a1 + 1016 )
*(_QWORD *)(GameLevelManager::sharedState() + 1264) = 0;
v2 = *(_QWORD *)(a1 + 1048);
if ( v2 )
*(_QWORD *)(v2 + 584) = 0;
v3 = *(_QWORD *)(a1 + 1136);
if ( v3 )
*(_QWORD *)(v3 + 1184) = 0;
v4 = *(_DWORD **)(a1 + 1032);
if ( v4 )
cocos2d::CCObject::release(v4);
if ( (*(_BYTE *)(a1 + 1088) & 1) != 0 )
operator delete(*(void **)(a1 + 1104));
if ( (*(_BYTE *)(a1 + 1064) & 1) != 0 )
operator delete(*(void **)(a1 + 1080));
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}