{"type": "func", "start": 4300990464, "end": 4300990529, "name": "GameObject::resetColorGroups", "pseudocode": "// \n// GameObject::resetColorGroups from 0x1005be800 to 0x1005be841 (65 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::calculateColorGroups @ 0x10011ddad\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 GameObject::resetColorGroups(GameObject *a1)\n{\n  std::array<short, 10> *m_colorGroups; // rax\n  __int64 v2; // rcx\n\n  if ( a1->m_colorGroupCount > 0 )\n  {\n    m_colorGroups = a1->m_colorGroups;\n    v2 = 0;\n    do\n      m_colorGroups->__elems_[v2++] = 0;\n    while ( v2 < a1->m_colorGroupCount );\n  }\n  a1->m_colorGroupCount = 0;\n}", "assembly": "; \n; GameObject::resetColorGroups from 0x1005be800 to 0x1005be841 (65 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::calculateColorGroups @ 0x10011ddad\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\ncmp     word ptr [rdi+4A0h], 0                                         ; +0x0, 0x1005be800\njle     short loc_1005BE837                                            ; +0x8, 0x1005be808\npush    rbp                                                            ; +0xa, 0x1005be80a\nmov     rbp, rsp                                                       ; +0xb, 0x1005be80b\nmov     rax, [rdi+498h]                                                ; +0xe, 0x1005be80e\nxor     ecx, ecx                                                       ; +0x15, 0x1005be815\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x1005be817\nmov     word ptr [rax+rcx*2], 0                                        ; +0x20, 0x1005be820\ninc     rcx                                                            ; +0x26, 0x1005be826\nmovsx   rdx, word ptr [rdi+4A0h]                                       ; +0x29, 0x1005be829\ncmp     rcx, rdx                                                       ; +0x31, 0x1005be831\njl      short loc_1005BE820                                            ; +0x34, 0x1005be834\npop     rbp                                                            ; +0x36, 0x1005be836\nmov     word ptr [rdi+4A0h], 0                                         ; +0x37, 0x1005be837\nretn                                                                   ; +0x40, 0x1005be840", "xrefs": ["GJBaseGameLayer::calculateColorGroups @ 0x10011ddad"], "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"}