{"type": "func", "start": 7291878, "end": 7291966, "name": "EditorUI::getSelectedObjects", "pseudocode": "// \n// EditorUI::getSelectedObjects from 0x6f43e6 to 0x6f443e (88 bytes)\n// \n// 14 xrefs:\n// > LevelEditorLayer::handleAction @ 0x46f0fa\n// > EditorUI::createUndoSelectObject @ 0x4822aa\n// > EditorUI::editHSV @ 0x484182\n// > EditorUI::handleEditorAction @ 0x6f1f7a\n// > EditorUI::handleEditorAction @ 0x6f1f92\n// > EditorUI::handleEditorAction @ 0x6f1faa\n// > EditorUI::handleEditorAction @ 0x6f1fc2\n// > EditorUI::handleEditorAction @ 0x6f2044\n// > EditorUI::handleEditorAction @ 0x6f20b4\n// > EditorCommandsPopup::onCommand @ 0x77a782\n// > EditorCommandsPopup::onCommand @ 0x77a794\n// > EditorCommandsPopup::onCommand @ 0x77a7ac\n// > EditorCommandsPopup::onCommand @ 0x77a7be\n// > EditorCommandsPopup::onCommand @ 0x77a82a\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\ncocos2d::CCArray *__fastcall EditorUI::getSelectedObjects(EditorUI *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray *v3; // r0\n  unsigned int v4; // r4\n  cocos2d::CCArray *v5; // r6\n  cocos2d::CCObject *v6; // r1\n\n  v3 = *((cocos2d::CCArray **)this + 249);\n  if ( v3 && *((_DWORD *)v3 + 223) != 749 )\n    return (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v3, a2);\n  v4 = 0;\n  v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3);\n  while ( v4 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167)) )\n  {\n    v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 167), v4);\n    if ( *((_DWORD *)v6 + 223) != 749 )\n      cocos2d::CCArray::addObject(v5, v6);\n    ++v4;\n  }\n  return v5;\n}", "assembly": "; \n; EditorUI::getSelectedObjects from 0x6f43e6 to 0x6f443e (88 bytes)\n; \n; 14 xrefs:\n; > LevelEditorLayer::handleAction @ 0x46f0fa\n; > EditorUI::createUndoSelectObject @ 0x4822aa\n; > EditorUI::editHSV @ 0x484182\n; > EditorUI::handleEditorAction @ 0x6f1f7a\n; > EditorUI::handleEditorAction @ 0x6f1f92\n; > EditorUI::handleEditorAction @ 0x6f1faa\n; > EditorUI::handleEditorAction @ 0x6f1fc2\n; > EditorUI::handleEditorAction @ 0x6f2044\n; > EditorUI::handleEditorAction @ 0x6f20b4\n; > EditorCommandsPopup::onCommand @ 0x77a782\n; > EditorCommandsPopup::onCommand @ 0x77a794\n; > EditorCommandsPopup::onCommand @ 0x77a7ac\n; > EditorCommandsPopup::onCommand @ 0x77a7be\n; > EditorCommandsPopup::onCommand @ 0x77a82a\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-R7,LR}                                             ; +0x0, 0x6f43e6\nMOV             R5, R0                                                 ; +0x2, 0x6f43e8\nLDR.W           R0, [R0,#0x3E4]; this                                  ; +0x4, 0x6f43ea\nCBZ             R0, loc_6F43FC                                         ; +0x8, 0x6f43ee\nLDR.W           R2, [R0,#0x37C]                                        ; +0xa, 0x6f43f0\nMOVW            R3, #0x2ED                                             ; +0xe, 0x6f43f4\nCMP             R2, R3                                                 ; +0x12, 0x6f43f8\nBNE             loc_6F4432                                             ; +0x14, 0x6f43fa\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x16, 0x6f43fc\nMOVS            R4, #0                                                 ; +0x1a, 0x6f4400\nMOVW            R7, #0x2ED                                             ; +0x1c, 0x6f4402\nMOV             R6, R0                                                 ; +0x20, 0x6f4406\nLDR.W           R0, [R5,#0x29C]; this                                  ; +0x22, 0x6f4408\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x26, 0x6f440c\nCMP             R4, R0                                                 ; +0x2a, 0x6f4410\nBCS             loc_6F443A                                             ; +0x2c, 0x6f4412\nMOV             R1, R4; unsigned int                                   ; +0x2e, 0x6f4414\nLDR.W           R0, [R5,#0x29C]; this                                  ; +0x30, 0x6f4416\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x34, 0x6f441a\nLDR.W           R3, [R0,#0x37C]                                        ; +0x38, 0x6f441e\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x3c, 0x6f4422\nCMP             R3, R7                                                 ; +0x3e, 0x6f4424\nBEQ             loc_6F442E                                             ; +0x40, 0x6f4426\nMOV             R0, R6; this                                           ; +0x42, 0x6f4428\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x44, 0x6f442a\nADDS            R4, #1                                                 ; +0x48, 0x6f442e\nB               loc_6F4408                                             ; +0x4a, 0x6f4430\nPOP.W           {R3-R7,LR}                                             ; +0x4c, 0x6f4432\nB.W             _ZN7cocos2d7CCArray16createWithObjectEPNS_8CCObjectE; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x50, 0x6f4436\nMOV             R0, R6                                                 ; +0x54, 0x6f443a\nPOP             {R3-R7,PC}                                             ; +0x56, 0x6f443c", "xrefs": ["LevelEditorLayer::handleAction @ 0x46f0fa", "EditorUI::createUndoSelectObject @ 0x4822aa", "EditorUI::editHSV @ 0x484182", "EditorUI::handleEditorAction @ 0x6f1f7a", "EditorUI::handleEditorAction @ 0x6f1f92", "EditorUI::handleEditorAction @ 0x6f1faa", "EditorUI::handleEditorAction @ 0x6f1fc2", "EditorUI::handleEditorAction @ 0x6f2044", "EditorUI::handleEditorAction @ 0x6f20b4", "EditorCommandsPopup::onCommand @ 0x77a782", "EditorCommandsPopup::onCommand @ 0x77a794", "EditorCommandsPopup::onCommand @ 0x77a7ac", "EditorCommandsPopup::onCommand @ 0x77a7be", "EditorCommandsPopup::onCommand @ 0x77a82a"], "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"}