//
// EditorUI::selectObjectsInRect from 0x1001a629c to 0x1001a6300 (100 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchEnded @ 0x100161fc0
//
// 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 11:00:03 +0000
//
__int64 __fastcall EditorUI::selectObjectsInRect(__int64 a1, __int64 a2)
{
__int64 v3; // x20
double v4; // d0
__int64 v5; // x20
__int64 result; // x0
__n128 v7; // q0
__int64 v8; // x0
_QWORD v9[2]; // [xsp+0h] [xbp-20h] BYREF
v3 = *(_QWORD *)(a1 + 1440);
v4 = sub_1000264D4(v9, a2);
v5 = LevelEditorLayer::objectsInRect(v3, v9, 0, v4);
result = sub_1002E757C(v5);
if ( (_DWORD)result )
{
v8 = EditorSFXManager::sharedState(v7);
EditorSFXManager::playAction_1(v8, 122);
return EditorUI::processSelectObjects(a1, v5);
}
return result;
}