// // EditorUI::selectObjectsInRect from 0x6c0fb8 to 0x6c10a8 (240 bytes) // // 2 xrefs: // > EditorUI::ccTouchEnded @ 0x6c2f38 // > @ 0x984a8 // // 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 // void EditorUI::selectObjectsInRect(EditorUI *a1, cocos2d::CCRect a2) { const cocos2d::CCRect *v2; // x1 LevelEditorLayer *m_editorLayer; // x21 unsigned int v5; // w19 cocos2d::CCArray *v6; // x21 __int64 v7; // x1 GameObject *m_selectedObject; // x0 cocos2d::CCRect v9; // [xsp+38h] [xbp+38h] BYREF cocos2d::CCRect v10; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4 m_editorLayer = a1->m_editorLayer; cocos2d::CCRect::CCRect(&v9, v2); v5 = 0; v6 = LevelEditorLayer::objectsInRect(m_editorLayer, v10, (bool)&v9); if ( (unsigned int)cocos2d::CCArray::count(v6) ) { while ( v5 < (unsigned int)cocos2d::CCArray::count(v6) ) { v7 = cocos2d::CCArray::objectAtIndex(v6, v5); m_selectedObject = a1->m_selectedObject; if ( m_selectedObject && m_selectedObject->m_uniqueID != *(_DWORD *)(v7 + 900) || !(unsigned __int8)cocos2d::CCArray::containsObject(a1->m_selectedObjects, (cocos2d::CCObject *)v7) ) { EditorUI::createUndoSelectObject(a1, 0); break; } ++v5; } EditorUI::selectObjects(a1, v6, 0); EditorUI::updateSpecialUIElements(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source