//
// sub_10059DD30 from 0x10059dd30 to 0x10059dd7b (75 bytes)
//
// 0 xrefs:
//
// 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:32:31 +0000
//
__int64 *__fastcall sub_10059DD30(_QWORD *a1)
{
_DWORD *v2; // rdi
void *v3; // rdi
void *v4; // rdi
*a1 = off_100B71EC8;
v2 = (_DWORD *)a1[7];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (void *)a1[9];
if ( v3 )
sub_1007477A0(v3);
v4 = (void *)a1[10];
if ( v4 )
sub_1007477A0(v4);
return sub_10047FF60((__int64)a1);
}