//
// cocos2d::CCMotionStreak::create from 0x1005764e0 to 0x1005765e7 (263 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x1003fca7e
//
// 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 *__fastcall cocos2d::CCMotionStreak::create(
float a1,
float a2,
float a3,
const cocos2d::ccColor3B *a4,
cocos2d::CCTexture2D *a5)
{
char *v5; // rbx
v5 = (char *)operator new(0x1D8u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v5);
*(_QWORD *)v5 = off_100965900;
*((_QWORD *)v5 + 40) = off_100965D10;
*((_QWORD *)v5 + 43) = off_100965D90;
*((_WORD *)v5 + 176) = 0;
*((_QWORD *)v5 + 45) = 0;
*(_OWORD *)(v5 + 376) = 0;
*(_OWORD *)(v5 + 392) = 0;
*(_OWORD *)(v5 + 408) = 0;
*(_OWORD *)(v5 + 424) = 0;
v5[440] = 0;
_mm_storel_ps((double *)(v5 + 444), (__m128)0x3F800000u);
v5[460] = 0;
sub_10028CC60((_QWORD *)v5 + 58, &dbl_1009A2B28);
*((_QWORD *)v5 + 46) = 0x30300000302LL;
cocos2d::CCMotionStreak::initWithFade((cocos2d::CCMotionStreak *)v5, a1, a2, a3, a4, a5);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return (cocos2d::CCMotionStreak *)v5;
}