//
// sub_1004818EC from 0x1004818ec to 0x10048196c (128 bytes)
//
// 1 xrefs:
// > sub_10047FDC8 @ 0x100480454
//
// 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:46 +0000
//
__int64 __fastcall sub_1004818EC(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x21
_QWORD *v4; // x19
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v7; // [xsp+1Fh] [xbp-21h]
v2 = *(_QWORD *)(a1 + 1064);
v3 = *(_QWORD *)(a1 + 1072);
sub_100009900(__p, "Set HSV");
v4 = HSVWidgetPopup::create(v2, v3, 0xFFFFFF, a1 + 1016, (__int64)__p);
if ( v7 < 0 )
operator delete(__p[0]);
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}