//
// sub_10094F240 from 0x10094f240 to 0x10094f36b (299 bytes)
//
// 4 xrefs:
// > sub_10094F380 @ 0x10094f385
// > sub_10094F390 @ 0x10094f39c
// > sub_10094F3B0 @ 0x10094f3b9
// > sub_10094F3D0 @ 0x10094f3e3
//
// 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:38 +0000
//
__int64 __fastcall sub_10094F240(__int64 a1)
{
_DWORD *v2; // rdi
__int64 v3; // rax
*(_QWORD *)a1 = off_100BC7210;
*(_QWORD *)(a1 + 320) = off_100BC7840;
*(_QWORD *)(a1 + 328) = &off_100BC78B0;
*(_QWORD *)(a1 + 336) = off_100BC78C8;
*(_QWORD *)(a1 + 344) = off_100BC78E8;
*(_QWORD *)(a1 + 352) = off_100BC7910;
*(_QWORD *)(a1 + 408) = off_100BC7940;
*(_QWORD *)(a1 + 432) = off_100BC79C0;
*(_QWORD *)(a1 + 544) = off_100BC79E0;
*(_QWORD *)(a1 + 664) = &off_100BC7A28;
*(_QWORD *)(a1 + 672) = off_100BC7A40;
*(_QWORD *)(a1 + 1016) = off_100BC7A60;
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1264) == a1 + 1016 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1264) = 0;
v2 = *(_DWORD **)(a1 + 1024);
if ( !v2 )
goto LABEL_6;
goto LABEL_5;
}
v2 = *(_DWORD **)(a1 + 1024);
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
v3 = *(_QWORD *)(a1 + 1040);
if ( v3 )
*(_QWORD *)(v3 + 584) = 0;
if ( (*(_BYTE *)(a1 + 1048) & 1) != 0 )
operator delete(*(void **)(a1 + 1064));
return SetupTriggerPopup::dSetupTriggerPopup(a1);
}