// // EditorUI::selectAll from 0x6c3110 to 0x6c31e8 (216 bytes) // // 2 xrefs: // > EditorPauseLayer::onSelectAll @ 0x78abc4 // > @ 0x3caf8 // // 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::selectAll(EditorUI *a1) { 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 = LevelEditorLayer::getAllObjects(a1->m_editorLayer); 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(a1->m_editorLayer, 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(a1, v4); EditorUI::updateButtons(a1); EditorUI::deactivateRotationControl(a1); EditorUI::deactivateScaleControl(a1); EditorUI::deactivateTransformControl(a1); EditorUI::updateObjectInfoLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source