{"type": "func", "start": 6442839616, "end": 6442839736, "name": "cocos2d::CCMotionStreak::enableRepeatMode", "pseudocode": "// \n// cocos2d::CCMotionStreak::enableRepeatMode from 0x18005ee40 to 0x18005eeb8 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd3cc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:50 +0000\n// \n\nvoid __fastcall cocos2d::CCMotionStreak::enableRepeatMode(cocos2d::CCMotionStreak *this, float a2)\n{\n  __int64 *v2; // rcx\n  __int64 v3; // rax\n  cocos2d::CCTexture2D *v4; // rax\n  _DWORD v5[4]; // [rsp+20h] [rbp-28h] BYREF\n\n  *((float *)this + 111) = a2;\n  *((_BYTE *)this + 440) = 1;\n  *((_DWORD *)this + 112) = 0;\n  v2 = (__int64 *)((char *)this + 344);\n  v5[0] = 9729;\n  v5[1] = 9729;\n  v5[2] = 10497;\n  v3 = *v2;\n  v5[3] = 10497;\n  v4 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(__int64 *))(v3 + 16))(v2);\n  cocos2d::CCTexture2D::setTexParameters(v4, (struct cocos2d::_ccTexParams *)v5);\n}", "assembly": "; \n; cocos2d::CCMotionStreak::enableRepeatMode from 0x18005ee40 to 0x18005eeb8 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd3cc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:50 +0000\n; \nsub     rsp, 48h                                                       ; +0x0, 0x18005ee40\nmov     rax, cs:__security_cookie                                      ; +0x4, 0x18005ee44\nxor     rax, rsp                                                       ; +0xb, 0x18005ee4b\nmov     [rsp+48h+var_18], rax                                          ; +0xe, 0x18005ee4e\nmovss   dword ptr [rcx+1BCh], xmm1                                     ; +0x13, 0x18005ee53\nmov     byte ptr [rcx+1B8h], 1                                         ; +0x1b, 0x18005ee5b\nmov     dword ptr [rcx+1C0h], 0                                        ; +0x22, 0x18005ee62\nadd     rcx, 158h                                                      ; +0x2c, 0x18005ee6c\nmov     [rsp+48h+var_28], 2601h                                        ; +0x33, 0x18005ee73\nmov     [rsp+48h+var_24], 2601h                                        ; +0x3b, 0x18005ee7b\nmov     [rsp+48h+var_20], 2901h                                        ; +0x43, 0x18005ee83\nmov     rax, [rcx]                                                     ; +0x4b, 0x18005ee8b\nmov     [rsp+48h+var_1C], 2901h                                        ; +0x4e, 0x18005ee8e\ncall    qword ptr [rax+10h]                                            ; +0x56, 0x18005ee96\nmov     rcx, rax; this                                                 ; +0x59, 0x18005ee99\nlea     rdx, [rsp+48h+var_28]; struct cocos2d::_ccTexParams *          ; +0x5c, 0x18005ee9c\ncall    ?setTexParameters@CCTexture2D@cocos2d@@QEAAXPEAU_ccTexParams@2@@Z; cocos2d::CCTexture2D::setTexParameters(cocos2d::_ccTexParams *) ; +0x61, 0x18005eea1\nmov     rcx, [rsp+48h+var_18]                                          ; +0x66, 0x18005eea6\nxor     rcx, rsp; StackCookie                                          ; +0x6b, 0x18005eeab\ncall    __security_check_cookie                                        ; +0x6e, 0x18005eeae\nadd     rsp, 48h                                                       ; +0x73, 0x18005eeb3\nretn                                                                   ; +0x77, 0x18005eeb7", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bd3cc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}