// // EditorUI::getSelectedObjects from 0xbdc940 to 0xbdc9f0 (176 bytes) // // 15 xrefs: // > LevelEditorLayer::handleAction @ 0x7a1d50 // > EditorUI::createUndoSelectObject @ 0x7c25fc // > EditorUI::editHSV @ 0x7c6028 // > EditorUI::handleEditorAction @ 0xbd72f0 // > EditorUI::handleEditorAction @ 0xbd7608 // > EditorUI::handleEditorAction @ 0xbd76b4 // > EditorUI::handleEditorAction @ 0xbd76d8 // > EditorUI::handleEditorAction @ 0xbd7918 // > EditorUI::handleEditorAction @ 0xbd793c // > EditorCommandsPopup::onCommand @ 0xcbc024 // > EditorCommandsPopup::onCommand @ 0xcbc048 // > EditorCommandsPopup::onCommand @ 0xcbc06c // > EditorCommandsPopup::onCommand @ 0xcbc090 // > EditorCommandsPopup::onCommand @ 0xcbc13c // > @ 0x8fe48 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:03:43 +0000 // cocos2d::CCArray *__fastcall EditorUI::getSelectedObjects(EditorUI *this) { cocos2d::CCObject *v1; // x1 unsigned int v4; // w19 cocos2d::CCArray *v5; // x21 bool v6; // cf unsigned int v7; // w1 cocos2d::CCObject *v8; // x1 v1 = *((cocos2d::CCObject **)this + 187); if ( v1 && *((_DWORD *)v1 + 257) != 749 ) return (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(*((cocos2d::CCArray **)this + 187), v1); v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(this); while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)); v7 = v4++; if ( v6 ) break; while ( 1 ) { v8 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 112), v7); if ( *((_DWORD *)v8 + 257) == 749 ) break; cocos2d::CCArray::addObject(v5, v8); v6 = v4 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)); v7 = v4++; if ( v6 ) return v5; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source