//
// cocos2d::CCMotionStreak::dCCMotionStreak from 0x1005a35f0 to 0x1005a36ca (218 bytes)
//
// 2 xrefs:
// > sub_1005A36E0 @ 0x1005a36e5
// > sub_1005A36F0 @ 0x1005a36f9
//
// 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
//
__int64 __fastcall cocos2d::CCMotionStreak::dCCMotionStreak(_QWORD *a1)
{
_DWORD *v2; // rdi
void *v3; // rdi
void *v4; // rdi
void *v5; // rdi
void *v6; // rdi
void *v7; // rdi
*a1 = off_100B72E90;
a1[40] = off_100B732B0;
a1[43] = off_100B73330;
v2 = (_DWORD *)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 sub_1002615F0((__int64)a1);
}