{"type": "func", "start": 6442831328, "end": 6442831448, "name": "cocos2d::CCMotionStreak::enableRepeatMode", "pseudocode": "// \n// cocos2d::CCMotionStreak::enableRepeatMode from 0x18005cde0 to 0x18005ce58 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3114\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *this, float a2)\n{\n  cocos2d::CCTextureProtocol *v2; // rcx\n  cocos2d::CCTextureProtocol_vtbl *v3; // rax\n  cocos2d::CCTexture2D *v4; // rax\n  struct cocos2d::_ccTexParams v5; // [rsp+20h] [rbp-28h] BYREF\n\n  this->m_fRepeatSpeed = a2;\n  this->m_bRepeatMode = 1;\n  this->m_fRepeatTime = 0.0;\n  v2 = &this->cocos2d::CCTextureProtocol;\n  v5.minFilter = 9729;\n  v5.magFilter = 9729;\n  v5.wrapS = 10497;\n  v3 = v2->__vftable;\n  v5.wrapT = 10497;\n  v4 = (cocos2d::CCTexture2D *)((__int64 (__fastcall *)(cocos2d::CCTextureProtocol *))v3->getTexture)(v2);\n  cocos2d::CCTexture2D::setTexParameters(v4, &v5);\n}", "assembly": "; \n; cocos2d::CCMotionStreak::enableRepeatMode from 0x18005cde0 to 0x18005ce58 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3114\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 48h                                                       ; +0x0, 0x18005cde0\nmov     rax, cs:__security_cookie                                      ; +0x4, 0x18005cde4\nxor     rax, rsp                                                       ; +0xb, 0x18005cdeb\nmov     [rsp+48h+var_18], rax                                          ; +0xe, 0x18005cdee\nmovss   dword ptr [rcx+1BCh], xmm1                                     ; +0x13, 0x18005cdf3\nmov     byte ptr [rcx+1B8h], 1                                         ; +0x1b, 0x18005cdfb\nmov     dword ptr [rcx+1C0h], 0                                        ; +0x22, 0x18005ce02\nadd     rcx, 158h                                                      ; +0x2c, 0x18005ce0c\nmov     [rsp+48h+var_28], 2601h                                        ; +0x33, 0x18005ce13\nmov     [rsp+48h+var_24], 2601h                                        ; +0x3b, 0x18005ce1b\nmov     [rsp+48h+var_20], 2901h                                        ; +0x43, 0x18005ce23\nmov     rax, [rcx]                                                     ; +0x4b, 0x18005ce2b\nmov     [rsp+48h+var_1C], 2901h                                        ; +0x4e, 0x18005ce2e\ncall    qword ptr [rax+10h]                                            ; +0x56, 0x18005ce36\nmov     rcx, rax; this                                                 ; +0x59, 0x18005ce39\nlea     rdx, [rsp+48h+var_28]; struct cocos2d::_ccTexParams *          ; +0x5c, 0x18005ce3c\ncall    ?setTexParameters@CCTexture2D@cocos2d@@QEAAXPEAU_ccTexParams@2@@Z; cocos2d::CCTexture2D::setTexParameters(cocos2d::_ccTexParams *) ; +0x61, 0x18005ce41\nmov     rcx, [rsp+48h+var_18]                                          ; +0x66, 0x18005ce46\nxor     rcx, rsp; StackCookie                                          ; +0x6b, 0x18005ce4b\ncall    __security_check_cookie                                        ; +0x6e, 0x18005ce4e\nadd     rsp, 48h                                                       ; +0x73, 0x18005ce53\nretn                                                                   ; +0x77, 0x18005ce57", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b3114"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}