//
// sub_1004E3810 from 0x1004e3810 to 0x1004e38dc (204 bytes)
//
// 2 xrefs:
// > sub_1004E38F0 @ 0x1004e38fc
// > ??> @ 0x100b621b8
//
// 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:31:19 +0000
//
void __fastcall sub_1004E3810(_QWORD *__p)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
_DWORD *v4; // rdi
*__p = off_100B621A8;
__p[40] = off_100B62700;
__p[41] = &off_100B62770;
__p[42] = off_100B62788;
__p[43] = off_100B627A8;
__p[44] = off_100B627D0;
__p[51] = off_100B62800;
__p[54] = off_100B62880;
__p[68] = off_100B628A0;
v2 = (_DWORD *)__p[83];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)__p[84];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (_DWORD *)__p[88];
if ( v4 )
cocos2d::CCObject::release(v4);
sub_1004936F0((__int64)__p);
operator delete(__p);
}