//
// sub_1002B570C from 0x1002b570c to 0x1002b5788 (124 bytes)
//
// 2 xrefs:
// > PlayerObject::init @ 0x1002b482c
// > PlayerObject::init @ 0x1002b4890
//
// 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:02:22 +0000
//
_QWORD *sub_1002B570C()
{
_QWORD *v0; // x19
v0 = operator new(0x258u);
cocos2d::CCSprite::CCSprite(v0);
*v0 = &off_10091C910;
v0[40] = off_10091CDF8;
v0[43] = off_10091CE78;
*((_DWORD *)v0 + 149) = 1065353216;
if ( (unsigned int)PlayerFireBoostSprite::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}