{"type": "func", "start": 7291308, "end": 7291382, "name": "EditorUI::deselectObject", "pseudocode": "// \n// EditorUI::deselectObject from 0x6f41ac to 0x6f41f6 (74 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::handleAction @ 0x46ef9a\n// > LevelEditorLayer::handleAction @ 0x46eff0\n// > EditorUI::deleteObject @ 0x481d22\n// > EditorUI::deselectTargetPortals @ 0x6f42d0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:38 +0000\n// \n\nint __fastcall EditorUI::deselectObject(EditorUI *this, GameObject *a2)\n{\n  int v3; // r3\n  int result; // r0\n  cocos2d::CCArray *v6; // r0\n\n  v3 = *((_DWORD *)this + 249);\n  if ( v3 && *(_DWORD *)(v3 + 780) == *((_DWORD *)a2 + 195) )\n  {\n    result = EditorUI::deselectObject((GameObject **)this);\n    *((_BYTE *)this + 588) = 1;\n  }\n  else\n  {\n    GameObject::deselectObject(a2, (int)a2);\n    result = cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 167), a2);\n    if ( result )\n    {\n      v6 = *((cocos2d::CCArray **)this + 167);\n      *((_BYTE *)this + 588) = 1;\n      return cocos2d::CCArray::removeObject(v6, a2, 1);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::deselectObject from 0x6f41ac to 0x6f41f6 (74 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::handleAction @ 0x46ef9a\n; > LevelEditorLayer::handleAction @ 0x46eff0\n; > EditorUI::deleteObject @ 0x481d22\n; > EditorUI::deselectTargetPortals @ 0x6f42d0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:38 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x6f41ac\nMOV             R4, R0                                                 ; +0x2, 0x6f41ae\nLDR.W           R3, [R0,#0x3E4]                                        ; +0x4, 0x6f41b0\nMOV             R5, R1                                                 ; +0x8, 0x6f41b4\nCBZ             R3, loc_6F41C4                                         ; +0xa, 0x6f41b6\nLDR.W           R2, [R3,#0x30C]                                        ; +0xc, 0x6f41b8\nLDR.W           R3, [R1,#0x30C]                                        ; +0x10, 0x6f41bc\nCMP             R2, R3                                                 ; +0x14, 0x6f41c0\nBEQ             loc_6F41EA                                             ; +0x16, 0x6f41c2\nMOV             R0, R5; this                                           ; +0x18, 0x6f41c4\nBL              _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x1a, 0x6f41c6\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x1e, 0x6f41ca\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x22, 0x6f41ce\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x24, 0x6f41d0\nCBZ             R0, locret_6F41F4                                      ; +0x28, 0x6f41d4\nMOVS            R2, #1; bool                                           ; +0x2a, 0x6f41d6\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x2c, 0x6f41d8\nSTRB.W          R2, [R4,#0x24C]                                        ; +0x30, 0x6f41dc\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x34, 0x6f41e0\nPOP.W           {R3-R5,LR}                                             ; +0x36, 0x6f41e2\nB.W             _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x3a, 0x6f41e6\nBL              _ZN8EditorUI14deselectObjectEv; EditorUI::deselectObject(void) ; +0x3e, 0x6f41ea\nMOVS            R3, #1                                                 ; +0x42, 0x6f41ee\nSTRB.W          R3, [R4,#0x24C]                                        ; +0x44, 0x6f41f0\nPOP             {R3-R5,PC}                                             ; +0x48, 0x6f41f4", "xrefs": ["LevelEditorLayer::handleAction @ 0x46ef9a", "LevelEditorLayer::handleAction @ 0x46eff0", "EditorUI::deleteObject @ 0x481d22", "EditorUI::deselectTargetPortals @ 0x6f42d0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}