// // EditorUI::getSelectedObjects from 0x68912c to 0x6891dc (176 bytes) // // 9 xrefs: // > LevelEditorLayer::handleAction @ 0x67263c // > EditorUI::createUndoSelectObject @ 0x6891f0 // > EditorUI::editHSV @ 0x68e470 // > EditorPauseLayer::onCreateExtras @ 0x78ab38 // > EditorPauseLayer::onAlignX @ 0x78ac00 // > EditorPauseLayer::onAlignY @ 0x78ac34 // > EditorPauseLayer::onCreateTemplate @ 0x78bd10 // > EditorPauseLayer::onCreateTemplate @ 0x78bd24 // > @ 0x6a530 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCArray *EditorUI::getSelectedObjects(EditorUI *a1) { GameObject *m_selectedObject; // x1 unsigned int v4; // w19 cocos2d::CCArray *v5; // x21 bool v6; // cf unsigned int v7; // w1 __int64 v8; // x1 m_selectedObject = a1->m_selectedObject; if ( m_selectedObject && m_selectedObject->m_objectID != 749 ) return (cocos2d::CCArray *)cocos2d::CCArray::createWithObject( (cocos2d::CCArray *)a1->m_selectedObject, m_selectedObject); v4 = 0; v5 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects); v7 = v4++; if ( v6 ) break; while ( 1 ) { v8 = cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v7); if ( *(_DWORD *)(v8 + 1012) == 749 ) break; cocos2d::CCArray::addObject(v5, (cocos2d::CCObject *)v8); v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects); v7 = v4++; if ( v6 ) return v5; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source