//
// cocos2d::CCMotionStreak::create from 0x5d6fa6 to 0x5d6ff2 (76 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x34eda0
//
// 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
//
cocos2d::CCMotionStreak *cocos2d::CCMotionStreak::create(
float a1,
float a2,
float a3,
const cocos2d::ccColor3B *a4,
const char *a5)
{
cocos2d::CCMotionStreak *v9; // r4
v9 = (cocos2d::CCMotionStreak *)operator new(0x178u);
cocos2d::CCMotionStreak::CCMotionStreak(v9);
if ( cocos2d::CCMotionStreak::initWithFade(v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
return v9;
}
else
{
v9->~CCMotionStreak_0(v9);
return nullptr;
}
}