{"type": "func", "start": 4297894208, "end": 4297894411, "name": "GJEffectManager::resetToggledGroups", "pseudocode": "// \n// GJEffectManager::resetToggledGroups from 0x1002ca940 to 0x1002caa0b (203 bytes)\n// \n// 0 xrefs:\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 12:28:10 +0000\n// \n\nvoid __fastcall GJEffectManager::resetToggledGroups(__int64 a1)\n{\n  __int64 v2; // r14\n  __int64 v3; // r15\n  unsigned __int64 v4; // r12\n  __int64 v5; // r14\n  _QWORD *v6; // rdi\n  _QWORD *v7; // r14\n  __int64 v8; // rsi\n\n  v2 = *(_QWORD *)(a1 + 1016);\n  if ( v2 > 0 )\n  {\n    v3 = *(_QWORD *)(a1 + 1008);\n    v4 = (unsigned __int64)v2 >> 6;\n    if ( (unsigned __int64)v2 >= 0x40 )\n      memset(*(void **)(a1 + 1008), 255, 8 * v4);\n    v5 = v2 & 0x3F;\n    if ( v5 )\n      *(_QWORD *)(v3 + 8 * v4) |= 0xFFFFFFFFFFFFFFFFLL >> -(char)v5;\n  }\n  if ( *(_QWORD *)(a1 + 1056) )\n  {\n    v6 = *(_QWORD **)(a1 + 1048);\n    if ( v6 )\n    {\n      do\n      {\n        v7 = (_QWORD *)*v6;\n        operator delete(v6);\n        v6 = v7;\n      }\n      while ( v7 );\n    }\n    *(_QWORD *)(a1 + 1048) = 0;\n    v8 = *(_QWORD *)(a1 + 1040);\n    if ( v8 )\n      __bzero(*(_QWORD *)(a1 + 1032), 8 * v8);\n    *(_QWORD *)(a1 + 1056) = 0;\n  }\n}", "assembly": "; \n; GJEffectManager::resetToggledGroups from 0x1002ca940 to 0x1002caa0b (203 bytes)\n; \n; 0 xrefs:\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 12:28:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002ca940\nmov     rbp, rsp                                                       ; +0x1, 0x1002ca941\npush    r15                                                            ; +0x4, 0x1002ca944\npush    r14                                                            ; +0x6, 0x1002ca946\npush    r12                                                            ; +0x8, 0x1002ca948\npush    rbx                                                            ; +0xa, 0x1002ca94a\nmov     rbx, rdi                                                       ; +0xb, 0x1002ca94b\nmov     r14, [rdi+3F8h]                                                ; +0xe, 0x1002ca94e\ntest    r14, r14                                                       ; +0x15, 0x1002ca955\njle     short loc_1002CA99D                                            ; +0x18, 0x1002ca958\nmov     r15, [rbx+3F0h]                                                ; +0x1a, 0x1002ca95a\nmov     r12, r14                                                       ; +0x21, 0x1002ca961\nshr     r12, 6                                                         ; +0x24, 0x1002ca964\ncmp     r14, 40h ; '@'                                                 ; +0x28, 0x1002ca968\njb      short loc_1002CA983                                            ; +0x2c, 0x1002ca96c\nlea     rdx, ds:0[r12*8]; __len                                        ; +0x2e, 0x1002ca96e\nmov     rdi, r15; __b                                                  ; +0x36, 0x1002ca976\nmov     esi, 0FFh; __c                                                 ; +0x39, 0x1002ca979\ncall    _memset                                                        ; +0x3e, 0x1002ca97e\nand     r14, 3Fh                                                       ; +0x43, 0x1002ca983\njz      short loc_1002CA99D                                            ; +0x47, 0x1002ca987\nneg     r14b                                                           ; +0x49, 0x1002ca989\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x4c, 0x1002ca98c\nmov     ecx, r14d                                                      ; +0x53, 0x1002ca993\nshr     rax, cl                                                        ; +0x56, 0x1002ca996\nor      [r15+r12*8], rax                                               ; +0x59, 0x1002ca999\ncmp     qword ptr [rbx+420h], 0                                        ; +0x5d, 0x1002ca99d\njz      short loc_1002CAA02                                            ; +0x65, 0x1002ca9a5\nmov     rdi, [rbx+418h]; __p                                           ; +0x67, 0x1002ca9a7\ntest    rdi, rdi                                                       ; +0x6e, 0x1002ca9ae\njz      short loc_1002CA9D0                                            ; +0x71, 0x1002ca9b1\nnop     word ptr [rax+rax+00000000h]                                   ; +0x73, 0x1002ca9b3\nmov     r14, [rdi]                                                     ; +0x80, 0x1002ca9c0\ncall    __ZdlPv; operator delete(void *)                               ; +0x83, 0x1002ca9c3\nmov     rdi, r14                                                       ; +0x88, 0x1002ca9c8\ntest    r14, r14                                                       ; +0x8b, 0x1002ca9cb\njnz     short loc_1002CA9C0                                            ; +0x8e, 0x1002ca9ce\nmov     qword ptr [rbx+418h], 0                                        ; +0x90, 0x1002ca9d0\nmov     rsi, [rbx+410h]                                                ; +0x9b, 0x1002ca9db\ntest    rsi, rsi                                                       ; +0xa2, 0x1002ca9e2\njz      short loc_1002CA9F7                                            ; +0xa5, 0x1002ca9e5\nmov     rdi, [rbx+408h]                                                ; +0xa7, 0x1002ca9e7\nshl     rsi, 3                                                         ; +0xae, 0x1002ca9ee\ncall    ___bzero                                                       ; +0xb2, 0x1002ca9f2\nmov     qword ptr [rbx+420h], 0                                        ; +0xb7, 0x1002ca9f7\npop     rbx                                                            ; +0xc2, 0x1002caa02\npop     r12                                                            ; +0xc3, 0x1002caa03\npop     r14                                                            ; +0xc5, 0x1002caa05\npop     r15                                                            ; +0xc7, 0x1002caa07\npop     rbp                                                            ; +0xc9, 0x1002caa09\nretn                                                                   ; +0xca, 0x1002caa0a", "xrefs": [], "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"}