//
// sub_1004B8D20 from 0x1004b8d20 to 0x1004b8da9 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5a488
//
// 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:02 +0000
//
__int64 __fastcall sub_1004B8D20(_QWORD *a1)
{
_DWORD *v2; // rdi
*(a1 - 40) = off_100B59F08;
*a1 = off_100B5A488;
a1[1] = &off_100B5A4F8;
a1[2] = off_100B5A510;
a1[3] = off_100B5A530;
a1[4] = off_100B5A558;
a1[11] = off_100B5A588;
a1[14] = off_100B5A608;
v2 = (_DWORD *)a1[39];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_1006BB0D0(a1 - 40);
}