//
// PlayerFireBoostSprite::create from 0x1003e9470 to 0x1003e951f (175 bytes)
//
// 4 xrefs:
// > PlayerObject::init @ 0x1003e81d0
// > PlayerObject::init @ 0x1003e821f
// > PlayerObject::init @ 0x1003e825f
// > PlayerObject::init @ 0x1003e829f
//
// 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:29:49 +0000
//
_QWORD *PlayerFireBoostSprite::create()
{
_QWORD *v0; // rbx
float v2[6]; // [rsp+8h] [rbp-18h] BYREF
v0 = operator new(0x258u);
cocos2d::CCSprite::CCSprite((__int64)v0);
*v0 = off_100B3DB18;
v0[40] = off_100B3E000;
v0[43] = off_100B3E080;
*((_DWORD *)v0 + 149) = 1065353216;
if ( (unsigned __int8)cocos2d::CCSprite::initWithFile_1((__int64)v0, (__int64)"fireBoost_001.png") )
{
sub_100278250(v2, 0.5, 1.0);
(*(void (__fastcall **)(_QWORD *, float *))(*v0 + 296LL))(v0, v2);
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}