//
// EditorUI::onGroupIDFilter from 0x100010610 to 0x1000106ec (220 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c6f8
// > EditorUI::setupDeleteMenu @ 0x10063bb14
//
// 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:52 +0000
//
__int64 __fastcall EditorUI::onGroupIDFilter(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // rax
int v4; // eax
_QWORD *v5; // r14
char v7; // [rsp+20h] [rbp-40h] BYREF
_BYTE v8[23]; // [rsp+21h] [rbp-3Fh] BYREF
char v9; // [rsp+38h] [rbp-28h] BYREF
char v10[15]; // [rsp+39h] [rbp-27h] BYREF
void *__p; // [rsp+48h] [rbp-18h]
v3 = GameManager::sharedState(a1, a2, a3);
GameManager::getIntGameVariable(v3, "0133");
v7 = 28;
strcpy(v8, "GroupID Filter");
v9 = 4;
strcpy(v10, "OK");
v5 = (_QWORD *)SetIDPopup::create(v4, 0, 9999, (unsigned int)&v7, (unsigned int)&v9, 1, 0, 1, 0);
if ( (v9 & 1) != 0 )
operator delete(__p);
if ( (v7 & 1) != 0 )
operator delete(*(void **)&v8[15]);
(*(void (__fastcall **)(_QWORD *, __int64, double))(*v5 + 72LL))(v5, 1, 0.0);
v5[87] = a1 + 456;
return (*(__int64 (__fastcall **)(_QWORD *))(*v5 + 1312LL))(v5);
}