//
// cocos2d::CCMotionStreak::create_1 from 0x1005a3710 to 0x1005a383c (300 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x1003e9b59
//
// 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 12:32:34 +0000
//
char *__fastcall cocos2d::CCMotionStreak::create_1(__int64 a1, __int64 a2, float a3, float a4, float a5)
{
char *v5; // rbx
__int64 v6; // rax
__int64 v7; // rax
v5 = (char *)operator new(0x1E0u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v5);
*(_QWORD *)v5 = off_100B72E90;
*((_QWORD *)v5 + 40) = off_100B732B0;
*((_QWORD *)v5 + 43) = off_100B73330;
*((_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);
sub_1002782D0((_QWORD *)v5 + 57, &qword_100BE5810);
v5[468] = 0;
sub_1002782D0((_QWORD *)v5 + 59, &qword_100BE5810);
*((_QWORD *)v5 + 46) = 0x30300000302LL;
v6 = cocos2d::CCTextureCache::sharedTextureCache(v5 + 472);
v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0);
cocos2d::CCMotionStreak::initWithFade(v5, a1, v7, a3, a4, a5);
cocos2d::CCObject::autorelease((__int64)v5);
return v5;
}