// // cocos2d::CCMotionStreak::enableRepeatMode from 0x18005ee40 to 0x18005eeb8 (120 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bd3cc // // 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 11:21:50 +0000 // void __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *this, float a2) { __int64 *v2; // rcx __int64 v3; // rax cocos2d::CCTexture2D *v4; // rax _DWORD v5[4]; // [rsp+20h] [rbp-28h] BYREF *((float *)this + 111) = a2; *((_BYTE *)this + 440) = 1; *((_DWORD *)this + 112) = 0; v2 = (__int64 *)((char *)this + 344); v5[0] = 9729; v5[1] = 9729; v5[2] = 10497; v3 = *v2; v5[3] = 10497; v4 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(__int64 *))(v3 + 16))(v2); cocos2d::CCTexture2D::setTexParameters(v4, (struct cocos2d::_ccTexParams *)v5); }