//
// EditorUI::onGroupIDFilter from 0x485b88 to 0x485c3e (182 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x6f224e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:25 +0000
//
int __fastcall EditorUI::onGroupIDFilter(EditorUI *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
int IntGameVariable; // r9
_DWORD *v5; // r4
int v7[3]; // [sp+1Ch] [bp+0h] BYREF
int v8[3]; // [sp+28h] [bp+Ch] BYREF
v3 = (GameManager *)GameManager::sharedState(this);
memset(v7, 0, sizeof(v7));
IntGameVariable = GameManager::getIntGameVariable(v3, "0133");
std::string::__init(v7, "GroupID Filter", 0xEu);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, "OK", 2u);
v5 = (_DWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, (int)v7, (int)v8, 1, 0, 0.0, 1, 0);
std::string::~string((int)v8);
std::string::~string((int)v7);
(*(void (__fastcall **)(_DWORD *, int))(*v5 + 36))(v5, 1);
v5[136] = (char *)this + 340;
return (*(int (__fastcall **)(_DWORD *))(*v5 + 656))(v5);
}