//
// sub_1001BDF08 from 0x1001bdf08 to 0x1001bdfac (164 bytes)
//
// 4 xrefs:
// > PauseLayer::dPauseLayer @ 0x1001bdfb0
// > sub_1001BDFB4 @ 0x1001bdfb8
// > sub_1001BDFBC @ 0x1001bdfc4
// > sub_1001BDFD0 @ 0x1001bdfdc
//
// 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:00:13 +0000
//
__int64 __fastcall sub_1001BDF08(_QWORD *a1)
{
__int64 v2; // x0
_DWORD *v3; // x0
*a1 = off_1008E7DB8;
a1[40] = off_1008E8360;
a1[41] = &off_1008E83D0;
a1[42] = off_1008E83E8;
a1[43] = off_1008E8408;
a1[44] = off_1008E8430;
a1[51] = off_1008E8460;
a1[54] = off_1008E84E0;
a1[69] = &off_1008E8500;
a1[70] = &off_1008E8518;
a1[71] = &off_1008E8530;
a1[72] = &off_1008E8548;
v2 = GameManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 952) == a1 + 72 )
*(_QWORD *)(GameManager::sharedState(v2) + 952) = 0;
v3 = (_DWORD *)a1[76];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_10008F5F4((__int64)a1);
}