//
// cocos2d::CCMotionStreak::dCCMotionStreak from 0x100576200 to 0x1005762da (218 bytes)
//
// 2 xrefs:
// > sub_1005762F0 @ 0x1005762f5
// > sub_100576300 @ 0x100576309
//
// 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
//
__int64 __fastcall cocos2d::CCMotionStreak::dCCMotionStreak(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
void *v3; // rdi
void *v4; // rdi
void *v5; // rdi
void *v6; // rdi
void *v7; // rdi
*a1 = off_100965900;
a1[40] = off_100965D10;
a1[43] = off_100965D90;
v2 = (cocos2d::CCObject *)a1[45];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (void *)a1[51];
if ( v3 )
{
free(v3);
a1[51] = 0;
}
v4 = (void *)a1[50];
if ( v4 )
{
free(v4);
a1[50] = 0;
}
v5 = (void *)a1[52];
if ( v5 )
{
free(v5);
a1[52] = 0;
}
v6 = (void *)a1[53];
if ( v6 )
{
free(v6);
a1[53] = 0;
}
v7 = (void *)a1[54];
if ( v7 )
{
free(v7);
a1[54] = 0;
}
return cocos2d::CCNodeRGBA::dCCNodeRGBA((__int64)a1);
}