//
// PlayerFireBoostSprite::init from 0x140502480 to 0x1405024dc (92 bytes)
//
// 5 xrefs:
// > PlayerFireBoostSprite::create @ 0x140502447
// > PlayerFireBoostSprite::create @ 0x14050244e
// > PlayerFireBoostSprite::create @ 0x140502438
// > ??> @ 0x1407d4350
// > ??> @ 0x14092a734
//
// 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 11:33:25 +0000
//
bool __fastcall PlayerFireBoostSprite::init(cocos2d::CCSprite *a1)
{
bool result; // al
__int64 v3; // rbx
__int64 v4; // rax
char v5; // [rsp+38h] [rbp+10h] BYREF
result = cocos2d::CCSprite::initWithFile(a1, "fireBoost_001.png");
if ( result )
{
v3 = *(_QWORD *)a1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, 0.5, 1.0);
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v3 + 288))(a1, v4);
return 1;
}
return result;
}