// // EditorUI::selectAll from 0xbdd228 to 0xbdd2f0 (200 bytes) // // 3 xrefs: // > EditorUI::handleEditorAction @ 0xbd7904 // > EditorCommandsPopup::onCommand @ 0xcbc0b8 // > @ 0x57df0 // // 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:44 +0000 // __int64 __fastcall EditorUI::selectAll(LevelEditorLayer **this) { unsigned int v2; // w19 cocos2d::CCArray *AllObjects; // x20 cocos2d::CCArray *v4; // x23 bool v5; // cf unsigned int v6; // w1 cocos2d::CCArray *v7; // x0 GameObject *v8; // x21 v2 = 0; AllObjects = (cocos2d::CCArray *)LevelEditorLayer::getAllObjects(*(this + 180)); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(AllObjects); while ( 1 ) { v5 = v2 >= (unsigned int)cocos2d::CCArray::count(AllObjects); v6 = v2; v7 = AllObjects; ++v2; if ( v5 ) break; while ( 1 ) { v8 = (GameObject *)cocos2d::CCArray::objectAtIndex(v7, v6); if ( !LevelEditorLayer::validGroup(*(this + 180), v8, 0) ) break; cocos2d::CCArray::addObject(v4, v8); v5 = v2 >= (unsigned int)cocos2d::CCArray::count(AllObjects); v6 = v2; v7 = AllObjects; ++v2; if ( v5 ) goto LABEL_6; } } LABEL_6: EditorUI::processSelectObjects((EditorUI *)this, v4); EditorUI::deactivateRotationControl((EditorUI *)this); EditorUI::deactivateScaleControl((EditorUI *)this); return EditorUI::deactivateTransformControl((EditorUI *)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source