//
// sub_100399BD4 from 0x100399bd4 to 0x100399c84 (176 bytes)
//
// 1 xrefs:
// > sub_100429554 @ 0x10042961c
//
// 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:42 +0000
//
char *__fastcall sub_100399BD4(__int64 a1, __int64 a2, __int64 a3)
{
char *v6; // x19
v6 = (char *)operator new(0x2D0u);
cocos2d::CCSprite::CCSprite((__int64)v6);
*(_QWORD *)v6 = &off_100942750;
*((_QWORD *)v6 + 40) = off_100942C48;
*((_QWORD *)v6 + 43) = off_100942CC8;
*((_DWORD *)v6 + 170) = 0;
*(_OWORD *)(v6 + 600) = 0u;
*(_OWORD *)(v6 + 616) = 0u;
*(_OWORD *)(v6 + 632) = 0u;
*(_OWORD *)(v6 + 648) = 0u;
*(_OWORD *)(v6 + 664) = 0u;
*((_OWORD *)v6 + 43) = 0u;
*((_OWORD *)v6 + 44) = 0u;
if ( (unsigned int)sub_100399C98(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}