//
// sub_100643BF0 from 0x100643bf0 to 0x100643c88 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b811e8
//
// 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:34:44 +0000
//
__int64 __fastcall sub_100643BF0(_QWORD *a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
void *v4; // rdi
*(a1 - 40) = off_100B80D58;
*a1 = off_100B811E8;
a1[1] = &off_100B81258;
a1[2] = off_100B81270;
a1[3] = off_100B81290;
a1[4] = off_100B812B8;
v2 = (_DWORD *)a1[24];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[13];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (void *)a1[30];
if ( v4 )
{
a1[31] = v4;
operator delete(v4);
}
return sub_1004A9420(a1 - 40);
}