{"type": "func", "start": 4301848240, "end": 4301848305, "name": "GameObject::resetColorGroups", "pseudocode": "// \n// GameObject::resetColorGroups from 0x10068feb0 to 0x10068fef1 (65 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::calculateColorGroups @ 0x1000fa0bd\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:35:07 +0000\n// \n\nvoid __fastcall GameObject::resetColorGroups(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rcx\n\n  if ( *(__int16 *)(a1 + 1184) > 0 )\n  {\n    v1 = *(_QWORD *)(a1 + 1176);\n    v2 = 0;\n    do\n      *(_WORD *)(v1 + 2 * v2++) = 0;\n    while ( v2 < *(__int16 *)(a1 + 1184) );\n  }\n  *(_WORD *)(a1 + 1184) = 0;\n}", "assembly": "; \n; GameObject::resetColorGroups from 0x10068feb0 to 0x10068fef1 (65 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::calculateColorGroups @ 0x1000fa0bd\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:35:07 +0000\n; \ncmp     word ptr [rdi+4A0h], 0                                         ; +0x0, 0x10068feb0\njle     short loc_10068FEE7                                            ; +0x8, 0x10068feb8\npush    rbp                                                            ; +0xa, 0x10068feba\nmov     rbp, rsp                                                       ; +0xb, 0x10068febb\nmov     rax, [rdi+498h]                                                ; +0xe, 0x10068febe\nxor     ecx, ecx                                                       ; +0x15, 0x10068fec5\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x10068fec7\nmov     word ptr [rax+rcx*2], 0                                        ; +0x20, 0x10068fed0\ninc     rcx                                                            ; +0x26, 0x10068fed6\nmovsx   rdx, word ptr [rdi+4A0h]                                       ; +0x29, 0x10068fed9\ncmp     rcx, rdx                                                       ; +0x31, 0x10068fee1\njl      short loc_10068FED0                                            ; +0x34, 0x10068fee4\npop     rbp                                                            ; +0x36, 0x10068fee6\nmov     word ptr [rdi+4A0h], 0                                         ; +0x37, 0x10068fee7\nretn                                                                   ; +0x40, 0x10068fef0", "xrefs": ["GJBaseGameLayer::calculateColorGroups @ 0x1000fa0bd"], "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"}