//
// sub_14012CD00 from 0x14012cd00 to 0x14012cd78 (120 bytes)
//
// 2 xrefs:
// > ColorSelectPopup::hexToColor @ 0x14012b18f
// > ??> @ 0x140916cdc
//
// This function is hookable on this platform (idp: pc, 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:27:01 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall sub_14012CD00(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, _BYTE **a5)
{
_BYTE *v7; // rax
*a1 = a2;
a1[1] = 0;
v7 = operator new(0x28u);
a1[1] = v7;
v7[28] = **a5;
*((_DWORD *)v7 + 8) = 0;
*(_QWORD *)a1[1] = a3;
*(_QWORD *)(a1[1] + 8LL) = a3;
*(_QWORD *)(a1[1] + 16LL) = a3;
*(_BYTE *)(a1[1] + 24LL) = 0;
*(_BYTE *)(a1[1] + 25LL) = 0;
return a1;
}