//
// HSVLiveOverlay::create from 0x10023467c to 0x100234774 (248 bytes)
//
// 1 xrefs:
// > sub_10047C854 @ 0x10047c944
//
// 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:01:18 +0000
//
char *__fastcall HSVLiveOverlay::create(__int64 a1, __int64 a2, int a3, int a4)
{
char *v8; // x19
v8 = (char *)operator new(0x2E8u);
FLAlertLayer::FLAlertLayer((__int64)v8);
*(_QWORD *)v8 = off_100902280;
*((_QWORD *)v8 + 40) = off_1009027D8;
*((_QWORD *)v8 + 41) = &off_100902848;
*((_QWORD *)v8 + 42) = off_100902860;
*((_QWORD *)v8 + 43) = off_100902880;
*((_QWORD *)v8 + 44) = off_1009028A8;
*((_QWORD *)v8 + 51) = off_1009028D8;
*((_QWORD *)v8 + 54) = off_100902958;
*((_QWORD *)v8 + 68) = off_100902978;
*((_QWORD *)v8 + 83) = off_1009029C0;
*((_OWORD *)v8 + 42) = 0u;
*(_OWORD *)(v8 + 696) = 0u;
*((_DWORD *)v8 + 178) = -1;
*((_QWORD *)v8 + 90) = 0;
*(_DWORD *)(v8 + 727) = 0;
if ( (unsigned int)HSVLiveOverlay::init(v8, a1, a2, *(_QWORD *)&a3 & 0xFFFFFFLL, *(_QWORD *)&a4 & 0xFFFFFFLL) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}