//
// EditorUI::onGroupIDFilter from 0x7c7998 to 0x7c7b08 (368 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd7454
// > ??> @ 0xd61e0
// > EditorUI::setupDeleteMenu @ 0xbdefc4
// > ??> @ 0x15465e0
//
// 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 12:54:09 +0000
//
__int64 __fastcall EditorUI::onGroupIDFilter(EditorUI *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
unsigned int IntGameVariable; // w23
_QWORD *v5; // x19
__int64 v7[2]; // [xsp+58h] [xbp+48h] BYREF
void *v8; // [xsp+68h] [xbp+58h]
__int64 v9[2]; // [xsp+70h] [xbp+60h] BYREF
void *v10; // [xsp+80h] [xbp+70h]
v3 = (GameManager *)GameManager::sharedState(_stack_chk_guard);
IntGameVariable = GameManager::getIntGameVariable(v3, "0133");
v7[0] = 0;
v7[1] = 0;
v8 = nullptr;
std::string::__init(v7, "GroupID Filter", 0xEu);
v9[0] = 0;
v9[1] = 0;
v10 = nullptr;
std::string::__init(v9, "OK", 2u);
v5 = (_QWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, v7, v9, 1, 0, 1, 0.0, 0);
if ( (v9[0] & 1) != 0 )
operator delete(v10);
if ( (v7[0] & 1) != 0 )
operator delete(v8);
(*(void (__fastcall **)(_QWORD *, __int64))(*v5 + 72LL))(v5, 1);
v5[87] = (char *)this + 456;
(*(void (__fastcall **)(_QWORD *))(*v5 + 1312LL))(v5);
return _stack_chk_guard;
}