//
// GhostTrailEffect::create from 0x1002f50c0 to 0x1002f5120 (96 bytes)
//
// 1 xrefs:
// > PlayerObject::toggleGhostEffect @ 0x100227550
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
GhostTrailEffect *__fastcall GhostTrailEffect::create()
{
GhostTrailEffect *v0; // x19
v0 = (GhostTrailEffect *)operator new(0x190u);
sub_1002F569C();
if ( ((unsigned int (__fastcall *)(GhostTrailEffect *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(GhostTrailEffect *))v0->~GhostTrailEffect_0)(v0);
return nullptr;
}
return v0;
}