{"type": "func", "start": 6841920, "end": 6842036, "name": "EditorUI::deselectObjectsColor", "pseudocode": "// \n// EditorUI::deselectObjectsColor from 0x686640 to 0x6866b4 (116 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x39d20\n// > EditorUI::checkLiveColorSelect @ 0x68e598\n// > <???> @ 0x1229c98\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::deselectObjectsColor(EditorUI *a1)\n{\n  unsigned int v2; // w19\n  GameObject *v3; // x0\n  bool v4; // cf\n  unsigned int v5; // w1\n\n  if ( a1->m_selectedObject )\n  {\n    GameObject::deselectObject(a1->m_selectedObject);\n  }\n  else\n  {\n    v2 = 0;\n    if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n    {\n      while ( 1 )\n      {\n        v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects);\n        v5 = v2++;\n        if ( v4 )\n          break;\n        v3 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v5);\n        GameObject::deselectObject(v3);\n      }\n    }\n  }\n}", "assembly": "; \n; EditorUI::deselectObjectsColor from 0x686640 to 0x6866b4 (116 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x39d20\n; > EditorUI::checkLiveColorSelect @ 0x68e598\n; > <???> @ 0x1229c98\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,#-0x20+var_s0]!                          ; +0x0, 0x686640\nMOV             X29, SP                                                ; +0x4, 0x686644\nLDR             X1, [X0,#0x530]                                        ; +0x8, 0x686648\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x68664c\nCBZ             X1, loc_686664                                         ; +0x10, 0x686650\nLDP             X19, X20, [SP,#var_s10]                                ; +0x14, 0x686654\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x18, 0x686658\nMOV             X0, X1; this                                           ; +0x1c, 0x68665c\nB               _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x20, 0x686660\nMOV             X20, X0                                                ; +0x24, 0x686664\nLDR             X0, [X0,#0x338]; this                                  ; +0x28, 0x686668\nMOV             W19, #0                                                ; +0x2c, 0x68666c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x30, 0x686670\nCBNZ            W0, loc_686690                                         ; +0x34, 0x686674\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x686678\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x68667c\nRET                                                                    ; +0x40, 0x686680\nLDR             X0, [X20,#0x338]; this                                 ; +0x44, 0x686684\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0x686688\nBL              _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x4c, 0x68668c\nLDR             X0, [X20,#0x338]; this                                 ; +0x50, 0x686690\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x54, 0x686694\nCMP             W19, W0                                                ; +0x58, 0x686698\nMOV             W1, W19; unsigned int                                  ; +0x5c, 0x68669c\nADD             W19, W19, #1                                           ; +0x60, 0x6866a0\nB.CC            loc_686684                                             ; +0x64, 0x6866a4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x6866a8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x6866ac\nRET                                                                    ; +0x70, 0x6866b0", "xrefs": ["<???> @ 0x39d20", "EditorUI::checkLiveColorSelect @ 0x68e598", "<???> @ 0x1229c98"], "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"}