//
// CharacterColorPage::offsetForIndex from 0x10073dd70 to 0x10073dddb (107 bytes)
//
// 1 xrefs:
// > CharacterColorPage::createColorMenu @ 0x10073d479
//
// 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 12:36:27 +0000
//
float *__fastcall CharacterColorPage::offsetForIndex(float *a1, __int64 a2, int a3)
{
float v3; // xmm1_4
float v4; // xmm0_4
v3 = 0.0;
v4 = 0.0;
if ( (unsigned int)(a3 - 4) > 0x8A )
{
if ( (unsigned int)(a3 - 54) >= 0x52 )
goto LABEL_3;
LABEL_7:
v3 = -0.80000001;
goto LABEL_5;
}
v4 = flt_100A124B4[a3 - 4];
if ( (unsigned int)(a3 - 54) < 0x52 )
goto LABEL_7;
LABEL_3:
if ( a3 >= 136 )
v3 = 0.40000001;
LABEL_5:
sub_100278250(a1, v4, v3);
return a1;
}