//
// cocos2d::CCMotionStreak::enableRepeatMode from 0x100176fb0 to 0x100176ffc (76 bytes)
//
// 1 xrefs:
// > PlayerObject::setupStreak @ 0x100219244
//
// 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
//
void __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *a1, float a2)
{
cocos2d::CCTexture2D *v2; // x0
__int128 v3; // [xsp+0h] [xbp-10h] BYREF
a1->m_bRepeatMode = 1;
a1->m_fRepeatSpeed = a2;
a1->m_fRepeatTime = 0.0;
v3 = xmmword_100636BB0;
v2 = (cocos2d::CCTexture2D *)((__int64 (__fastcall *)(cocos2d::CCMotionStreak *))a1->getTexture)(a1);
cocos2d::CCTexture2D::setTexParameters(v2, (cocos2d::ccTexParams *)&v3);
}