//
// sub_100476A28 from 0x100476a28 to 0x100476afc (212 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x1001631ac
// > EditorUI::setupDeleteMenu @ 0x10018758c
//
// 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 11:05:41 +0000
//
__int64 __fastcall sub_100476A28(__int64 a1)
{
__int64 v2; // x0
__int64 IntGameVariable; // x20
_QWORD *v4; // x20
void *__p[2]; // [xsp+10h] [xbp-40h] BYREF
char v7; // [xsp+27h] [xbp-29h]
void *v8[2]; // [xsp+28h] [xbp-28h] BYREF
char v9; // [xsp+3Fh] [xbp-11h]
v2 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v2, "0133");
sub_100009900(v8, "GroupID Filter");
sub_100009900(__p, "OK");
v4 = SetIDPopup::create(IntGameVariable, 0, 9999, (__int64)v8, (__int64)__p, 1, 0, 1, 0.0, 0);
if ( v7 < 0 )
operator delete(__p[0]);
if ( v9 < 0 )
operator delete(v8[0]);
(*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 72LL))(v4, 1);
v4[87] = a1 + 456;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}