//
// sub_100427C90 from 0x100427c90 to 0x100427cfc (108 bytes)
//
// 2 xrefs:
// > sub_100427C60 @ 0x100427c65
// > sub_100427C70 @ 0x100427c79
//
// 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:30:18 +0000
//
__int64 __fastcall sub_100427C90(__int64 a1)
{
__int64 v2; // rdi
void *v3; // rdi
void *v4; // rdi
*(_QWORD *)a1 = off_100B41D30;
v2 = *(_QWORD *)(a1 + 56);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(a1 + 128) & 1) != 0 )
operator delete(*(void **)(a1 + 144));
v3 = *(void **)(a1 + 96);
if ( v3 )
{
*(_QWORD *)(a1 + 104) = v3;
operator delete(v3);
}
v4 = *(void **)(a1 + 72);
if ( v4 )
{
*(_QWORD *)(a1 + 80) = v4;
operator delete(v4);
}
return sub_10047FF60(a1);
}