//
// EditorUI::selectObjectsInRect from 0x1005b9030 to 0x1005b9097 (103 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchEnded @ 0x10060af4c
//
// This function is hookable on this platform (idp: pc, 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 12:32:43 +0000
//
__int64 __fastcall EditorUI::selectObjectsInRect(__int64 a1, unsigned __int64 *a2)
{
__int64 v2; // r14
__int64 v3; // r14
__int64 result; // rax
__int64 v5; // rax
__m128 v6[2]; // [rsp+8h] [rbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 1440);
sub_1002787F0(v6, a2);
v3 = LevelEditorLayer::objectsInRect(v2, v6[0].f32, 0);
result = sub_1007FEF90(v3);
if ( (_DWORD)result )
{
v5 = EditorSFXManager::sharedState(v3);
EditorSFXManager::playAction_1(v5, 122);
return EditorUI::processSelectObjects(a1, v3);
}
return result;
}