// // EditorUI::deselectAll from 0xbdc624 to 0xbdc6a8 (132 bytes) // // 20 xrefs: // > LevelEditorLayer::removeAllObjects @ 0x7908ec // > LevelEditorLayer::breakApartTextObject @ 0x7a16c0 // > EditorUI::onDeleteAll @ 0x7c1c68 // > EditorUI::onDeleteStartPos @ 0x7c1da8 // > EditorUI::createSmartObjectsFromType @ 0x7c35a4 // > EditorUI::createSmartObjectsFromType @ 0x7c3734 // > EditorUI::createNewKeyframeAnim @ 0x7c3cc8 // > EditorUI::onDeleteSelectedType @ 0x7c88c4 // > EditorUI::createGradientFromSelection @ 0x7cad34 // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb174 // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb65c // > EditorUI::onPlaytest @ 0x7ce710 // > SetupKeyframePopup::onCustomButton @ 0xb6ba58 // > SetupKeyframePopup::onCustomButton @ 0xb6baf4 // > EditorUI::pasteObjects @ 0xbd96e0 // > EditorUI::selectObject @ 0xbdcb70 // > EditorUI::selectObject @ 0xbdcba4 // > EditorUI::changeSelectedObjects @ 0xbdd494 // > EditorUI::onDeselectAll @ 0xbdd584 // > @ 0xd66c0 // // 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 // __int64 __fastcall EditorUI::deselectAll(GameObject **this) { unsigned int v2; // w19 GameObject *v3; // x0 bool v4; // cf unsigned int v5; // w1 EditorUI::deselectObject(this); v2 = 0; if ( (unsigned int)cocos2d::CCArray::count(*(this + 112)) ) { while ( 1 ) { v4 = v2 >= (unsigned int)cocos2d::CCArray::count(*(this + 112)); v5 = v2++; if ( v4 ) break; v3 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 112), v5); GameObject::deselectObject(v3); } } cocos2d::CCArray::removeAllObjects(*(this + 112)); EditorUI::updateButtons((EditorUI *)this); EditorUI::deactivateRotationControl((EditorUI *)this); EditorUI::deactivateScaleControl((EditorUI *)this); EditorUI::deactivateTransformControl((EditorUI *)this); return EditorUI::updateObjectInfoLabel((EditorUI *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source