//
// EditorUI::findTriggerTest from 0x100016580 to 0x1000165d0 (80 bytes)
//
// 0 xrefs:
//
// 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:18:54 +0000
//
__int64 __fastcall EditorUI::findTriggerTest(__int64 a1)
{
__int64 AllObjects; // rbx
__int64 result; // rax
unsigned int v3; // r14d
AllObjects = LevelEditorLayer::getAllObjects(*(_QWORD *)(a1 + 1440));
result = sub_1007FEF90(AllObjects);
if ( (_DWORD)result )
{
v3 = 0;
do
{
sub_1007FEFE0(AllObjects, v3++);
result = sub_1007FEF90(AllObjects);
}
while ( v3 < (unsigned int)result );
}
return result;
}