// // cocos2d::CCMotionStreak::enableRepeatMode from 0x18005cde0 to 0x18005ce58 (120 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b3114 // // 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 *this, float a2) { cocos2d::CCTextureProtocol *v2; // rcx cocos2d::CCTextureProtocol_vtbl *v3; // rax cocos2d::CCTexture2D *v4; // rax struct cocos2d::_ccTexParams v5; // [rsp+20h] [rbp-28h] BYREF this->m_fRepeatSpeed = a2; this->m_bRepeatMode = 1; this->m_fRepeatTime = 0.0; v2 = &this->cocos2d::CCTextureProtocol; v5.minFilter = 9729; v5.magFilter = 9729; v5.wrapS = 10497; v3 = v2->__vftable; v5.wrapT = 10497; v4 = (cocos2d::CCTexture2D *)((__int64 (__fastcall *)(cocos2d::CCTextureProtocol *))v3->getTexture)(v2); cocos2d::CCTexture2D::setTexParameters(v4, &v5); }