//
// sub_10012486C from 0x10012486c to 0x1001248e0 (116 bytes)
//
// 1 xrefs:
// > ConfigureHSVWidget::init @ 0x1001242b0
//
// 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 10:59:17 +0000
//
__int64 __fastcall sub_10012486C(__int64 a1, __n128 a2)
{
float v3; // s0
__int64 result; // x0
*(_BYTE *)(a1 + 388) ^= 1u;
a2.n128_u32[0] = 0.5;
Slider::setValue(*(_QWORD *)(a1 + 360), a2);
v3 = 1.0;
if ( *(_BYTE *)(a1 + 388) )
v3 = 0.0;
*(float *)(a1 + 380) = v3;
sub_1001249D4(a1);
result = *(_QWORD *)(a1 + 400);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 8LL))(result, a1);
return result;
}