//
// cocos2d::CCMotionStreak::enableRepeatMode from 0x7deb70 to 0x7debbc (76 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x446f42
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:47 +0000
//
int __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *this, float a2)
{
int v2; // r0
_DWORD v4[4]; // [sp+4h] [bp-14h] BYREF
*((float *)this + 87) = a2;
*((_BYTE *)this + 344) = 1;
*((_DWORD *)this + 88) = 0;
v4[0] = 9729;
v4[1] = 9729;
v4[2] = 10497;
v4[3] = 10497;
v2 = (*(int (__fastcall **)(cocos2d::CCMotionStreak *))(*(_DWORD *)this + 504))(this);
return cocos2d::CCTexture2D::setTexParameters(v2, v4);
}