//
// EditorUI::selectAll from 0x6f49d0 to 0x6f4a34 (100 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x6f2016
// > EditorCommandsPopup::onCommand @ 0x77a7d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:38 +0000
//
int __fastcall EditorUI::selectAll(LevelEditorLayer **this)
{
unsigned int v2; // r5
cocos2d::CCArray *AllObjects; // r7
cocos2d::CCArray *v4; // r6
cocos2d::CCObject *v5; // r8
v2 = 0;
AllObjects = (cocos2d::CCArray *)LevelEditorLayer::getAllObjects(*(this + 236));
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(AllObjects);
while ( v2 < cocos2d::CCArray::count(AllObjects) )
{
v5 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(AllObjects, v2);
if ( LevelEditorLayer::validGroup(*(this + 236), v5, 0) )
cocos2d::CCArray::addObject(v4, v5);
++v2;
}
EditorUI::processSelectObjects((EditorUI *)this, v4);
EditorUI::deactivateRotationControl((EditorUI *)this);
EditorUI::deactivateScaleControl((EditorUI *)this);
return EditorUI::deactivateTransformControl((EditorUI *)this);
}