{"type": "func", "start": 6875812, "end": 6875992, "name": "EditorUI::resetSelectedObjectsColor", "pseudocode": "// \n// EditorUI::resetSelectedObjectsColor from 0x68eaa4 to 0x68eb58 (180 bytes)\n// \n// 3 xrefs:\n// > EditorUI::colorSelectClosed @ 0x68eb94\n// > EditorUI::colorSelectClosed @ 0x68ebb4\n// > <???> @ 0xa9dd0\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 EditorUI::resetSelectedObjectsColor(EditorUI *a1)\n{\n  GameObject *m_selectedObject; // x0\n  cocos2d::CCArray *m_selectedObjects; // x0\n  cocos2d::ccArray *data; // x1\n  cocos2d::CCObject **arr; // x19\n  cocos2d::CCObject **v6; // x20\n  cocos2d::CCObject *i; // x0\n\n  m_selectedObject = a1->m_selectedObject;\n  if ( m_selectedObject )\n  {\n    ((void (__fastcall *)(GameObject *, __int64))m_selectedObject->selectObject)(m_selectedObject, 65280);\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    m_selectedObjects = a1->m_selectedObjects;\n    if ( m_selectedObjects )\n    {\n      data = m_selectedObjects->data;\n      if ( data->num )\n      {\n        arr = data->arr;\n        v6 = &arr[data->num - 1];\n        if ( arr <= v6 )\n        {\n          for ( i = *arr; *arr; i = *arr )\n          {\n            ++arr;\n            i->__vftable[18].setTag(i, 65280);\n            if ( v6 < arr )\n              break;\n          }\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::resetSelectedObjectsColor from 0x68eaa4 to 0x68eb58 (180 bytes)\n; \n; 3 xrefs:\n; > EditorUI::colorSelectClosed @ 0x68eb94\n; > EditorUI::colorSelectClosed @ 0x68ebb4\n; > <???> @ 0xa9dd0\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x68eaa4\nMOV             X29, SP                                                ; +0x4, 0x68eaa8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x68eaac\nMOV             X19, X0                                                ; +0xc, 0x68eab0\nLDR             X0, [X0,#0x530]                                        ; +0x10, 0x68eab4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x14, 0x68eab8\nCBZ             X0, loc_68EAE4                                         ; +0x18, 0x68eabc\nLDR             X1, [X0]                                               ; +0x1c, 0x68eac0\nLDR             X2, [X1,#0x5E8]                                        ; +0x20, 0x68eac4\nADRP            X1, #qword_EC62F8@PAGE                                 ; +0x24, 0x68eac8\nLDR             X1, [X1,#qword_EC62F8@PAGEOFF]                         ; +0x28, 0x68eacc\nBLR             X2                                                     ; +0x2c, 0x68ead0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x30, 0x68ead4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x34, 0x68ead8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x68eadc\nRET                                                                    ; +0x3c, 0x68eae0\nLDR             X0, [X19,#0x338]; this                                 ; +0x40, 0x68eae4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x68eae8\nCBZ             W0, loc_68EAD4                                         ; +0x48, 0x68eaec\nLDR             X0, [X19,#0x338]                                       ; +0x4c, 0x68eaf0\nCBZ             X0, loc_68EAD4                                         ; +0x50, 0x68eaf4\nLDR             X1, [X0,#0x38]                                         ; +0x54, 0x68eaf8\nLDR             W0, [X1]                                               ; +0x58, 0x68eafc\nCBZ             W0, loc_68EAD4                                         ; +0x5c, 0x68eb00\nLDR             X19, [X1,#0x10]                                        ; +0x60, 0x68eb04\nMOV             X20, #0xFFFFFFFFFFFFFFF8                               ; +0x64, 0x68eb08\nADD             X20, X20, W0,UXTW#3                                    ; +0x68, 0x68eb0c\nADD             X20, X19, X20                                          ; +0x6c, 0x68eb10\nCMP             X19, X20                                               ; +0x70, 0x68eb14\nB.HI            loc_68EAD4                                             ; +0x74, 0x68eb18\nLDR             X0, [X19]                                              ; +0x78, 0x68eb1c\nCBZ             X0, loc_68EAD4                                         ; +0x7c, 0x68eb20\nADRL            X1, qword_EC62F0                                       ; +0x80, 0x68eb24\nLDR             X21, [X1,#(qword_EC62F8 - 0xEC62F0)]                   ; +0x88, 0x68eb2c\nLDR             X2, [X0]                                               ; +0x8c, 0x68eb30\nMOV             X1, X21                                                ; +0x90, 0x68eb34\nADD             X19, X19, #8                                           ; +0x94, 0x68eb38\nLDR             X2, [X2,#0x5E8]                                        ; +0x98, 0x68eb3c\nBLR             X2                                                     ; +0x9c, 0x68eb40\nCMP             X20, X19                                               ; +0xa0, 0x68eb44\nB.CC            loc_68EAD4                                             ; +0xa4, 0x68eb48\nLDR             X0, [X19]                                              ; +0xa8, 0x68eb4c\nCBNZ            X0, loc_68EB30                                         ; +0xac, 0x68eb50\nB               loc_68EAD4                                             ; +0xb0, 0x68eb54", "xrefs": ["EditorUI::colorSelectClosed @ 0x68eb94", "EditorUI::colorSelectClosed @ 0x68ebb4", "<???> @ 0xa9dd0"], "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"}