//
// sub_10034F370 from 0x10034f370 to 0x10034f44d (221 bytes)
//
// 2 xrefs:
// > sub_10034F460 @ 0x10034f46c
// > ??> @ 0x100b217e0
//
// 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:28:49 +0000
//
void __fastcall sub_10034F370(_QWORD *__p, double a2)
{
__int64 v3; // rdi
*__p = off_100B217D0;
__p[40] = off_100B21D30;
__p[41] = &off_100B21DA0;
__p[42] = off_100B21DB8;
__p[43] = off_100B21DD8;
__p[44] = off_100B21E00;
__p[51] = off_100B21E30;
__p[54] = off_100B21EB0;
__p[68] = off_100B21ED0;
__p[83] = off_100B21F18;
v3 = __p[84];
if ( v3 )
cocos2d::CCObject::release(v3);
if ( *(_QWORD **)(GameLevelManager::sharedState(a2) + 1280) == __p + 83 )
*(_QWORD *)(GameLevelManager::sharedState(a2) + 1280) = 0;
sub_1004936F0(__p);
operator delete(__p);
}