{"type": "func", "start": 4297446944, "end": 4297446992, "name": "GameObject::resetColorGroups", "pseudocode": "// \n// GameObject::resetColorGroups from 0x10025d620 to 0x10025d650 (48 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::calculateColorGroups @ 0x1001e22e8\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  __int64 v1; // x8\n  std::array<short, 10> *m_colorGroups; // x9\n\n  if ( a1->m_colorGroupCount >= 1 )\n  {\n    v1 = 0;\n    m_colorGroups = a1->m_colorGroups;\n    do\n      m_colorGroups->__elems_[v1++] = 0;\n    while ( v1 < a1->m_colorGroupCount );\n  }\n  a1->m_colorGroupCount = 0;\n}", "assembly": "; \n; GameObject::resetColorGroups from 0x10025d620 to 0x10025d650 (48 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::calculateColorGroups @ 0x1001e22e8\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\nLDRSH           W8, [X0,#0x4A0]                                        ; +0x0, 0x10025d620\nCMP             W8, #1                                                 ; +0x4, 0x10025d624\nB.LT            loc_10025D648                                          ; +0x8, 0x10025d628\nMOV             X8, #0                                                 ; +0xc, 0x10025d62c\nLDR             X9, [X0,#0x498]                                        ; +0x10, 0x10025d630\nSTRH            WZR, [X9,X8,LSL#1]                                     ; +0x14, 0x10025d634\nADD             X8, X8, #1                                             ; +0x18, 0x10025d638\nLDRSH           X10, [X0,#0x4A0]                                       ; +0x1c, 0x10025d63c\nCMP             X8, X10                                                ; +0x20, 0x10025d640\nB.LT            loc_10025D634                                          ; +0x24, 0x10025d644\nSTRH            WZR, [X0,#0x4A0]                                       ; +0x28, 0x10025d648\nRET                                                                    ; +0x2c, 0x10025d64c", "xrefs": ["GJBaseGameLayer::calculateColorGroups @ 0x1001e22e8"], "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"}