//
// sub_1003061AC from 0x1003061ac to 0x100306208 (92 bytes)
//
// 2 xrefs:
// > sub_100306208 @ 0x100306208
// > sub_10030620C @ 0x100306214
//
// This function is hookable on this platform (idp: arm, 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 11:03:07 +0000
//
__int64 __fastcall sub_1003061AC(__int64 a1)
{
*(_QWORD *)a1 = off_10092B2D8;
if ( *(char *)(a1 + 79) < 0 )
{
**(_BYTE **)(a1 + 56) = 0;
*(_QWORD *)(a1 + 64) = 0;
if ( *(char *)(a1 + 79) < 0 )
operator delete(*(void **)(a1 + 56));
}
else
{
*(_BYTE *)(a1 + 56) = 0;
*(_BYTE *)(a1 + 79) = 0;
}
return cocos2d::CCObject::dCCObject(a1);
}