//
// EditorUI::selectObjectsInRect from 0xbdd198 to 0xbdd228 (144 bytes)
//
// 2 xrefs:
// > EditorUI::ccTouchEnded @ 0xbd65ec
// > ??> @ 0xc9160
//
// 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::selectObjectsInRect(EditorUI *a1, const cocos2d::CCRect *a2)
{
__int64 v3; // x22
cocos2d::CCArray *v4; // x20
EditorSFXManager *v5; // x0
EditorSFXManager *v6; // x0
float v8[4]; // [xsp+38h] [xbp+38h] BYREF
v3 = *((_QWORD *)a1 + 180);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, a2);
v4 = LevelEditorLayer::objectsInRect(v3, v8, 0);
v5 = (EditorSFXManager *)cocos2d::CCArray::count(v4);
if ( (_DWORD)v5 )
{
v6 = (EditorSFXManager *)EditorSFXManager::sharedState(v5);
EditorSFXManager::playAction(v6, 122);
EditorUI::processSelectObjects(a1, v4);
}
return _stack_chk_guard;
}