//
// EditorUI::onGroupIDFilter from 0x1400e7150 to 0x1400e7299 (329 bytes)
//
// 2 xrefs:
// > EditorUI::setupDeleteMenu @ 0x1400e598f
// > ??> @ 0x1406c8db4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=3
void EditorUI::onGroupIDFilter(EditorUI *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // rcx
int IntGameVariable; // eax
_QWORD *v5; // rbx
SetIDPopupDelegate *v6; // rcx
void *v7; // [rsp+50h] [rbp-58h]
char v8[16]; // [rsp+58h] [rbp-50h] BYREF
__int64 v9; // [rsp+68h] [rbp-40h]
__int64 v10; // [rsp+70h] [rbp-38h]
__int128 v11; // [rsp+78h] [rbp-30h] BYREF
__int64 v12; // [rsp+88h] [rbp-20h]
__int64 v13; // [rsp+90h] [rbp-18h]
v11 = 0;
v12 = 2;
v13 = 15;
strcpy((char *)&v11, "OK");
v8[15] = 0;
v9 = 14;
v10 = 15;
strcpy(v8, "GroupID Filter");
v3 = (GameManager *)qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v7 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v3 = (GameManager *)qword_1406C2ED8;
}
IntGameVariable = GameManager::getIntGameVariable(v3, "0133");
v5 = (_QWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, (unsigned int)v8, (__int64)&v11);
(*(void (__fastcall **)(_QWORD *, __int64))(*v5 + 64LL))(v5, 1);
v6 = &a1->SetIDPopupDelegate;
if ( !a1 )
v6 = nullptr;
v5[84] = v6;
(*(void (__fastcall **)(_QWORD *))(*v5 + 1040LL))(v5);
}