//
// cocos2d::CCMotionStreak::enableRepeatMode from 0xd6847c to 0xd684f8 (124 bytes)
//
// 2 xrefs:
// > PlayerObject::setupStreak @ 0x766fa8
// > ??> @ 0x4f6f0
//
// This function is hookable on this platform (idp: arm, 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 13:07:55 +0000
//
__int64 __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *this, float a2)
{
__int64 v2; // x5
__int64 (*v3)(void); // x1
__int64 v4; // x0
_DWORD v6[4]; // [xsp+28h] [xbp+28h] BYREF
v2 = *(_QWORD *)this;
*((float *)this + 111) = a2;
*((_BYTE *)this + 440) = 1;
v6[0] = 9729;
v6[1] = 9729;
*((_DWORD *)this + 112) = 0;
v3 = *(__int64 (**)(void))(v2 + 1008);
v6[2] = 10497;
v6[3] = 10497;
v4 = v3();
cocos2d::CCTexture2D::setTexParameters(v4, v6);
return _stack_chk_guard;
}