//
// cocos2d::CCMotionStreak::create from 0x7dedc2 to 0x7dee0e (76 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x446f30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:47 +0000
//
cocos2d::CCMotionStreak *__fastcall cocos2d::CCMotionStreak::create(
float a1,
float a2,
float a3,
int a4,
const char *a5)
{
cocos2d::CCMotionStreak *v9; // r4
v9 = (cocos2d::CCMotionStreak *)operator new(0x180u);
cocos2d::CCMotionStreak::CCMotionStreak(v9);
if ( cocos2d::CCMotionStreak::initWithFade(v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v9);
return v9;
}
else
{
(*(void (__fastcall **)(cocos2d::CCMotionStreak *))(*(_DWORD *)v9 + 8))(v9);
return nullptr;
}
}