//
// CharacterColorPage::offsetForIndex from 0x100153cb0 to 0x100153cfc (76 bytes)
//
// 1 xrefs:
// > CharacterColorPage::createColorMenu @ 0x100153624
//
// 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:40 +0000
//
float *__usercall CharacterColorPage::offsetForIndex@(int a1@, float *a2@)
{
float v2; // s1
float v3; // s0
v2 = 0.0;
v3 = 0.0;
if ( (unsigned int)(a1 - 4) <= 0x8A )
v3 = flt_10075E608[a1 - 4];
if ( (unsigned int)(a1 - 54) < 0x52 )
v2 = -0.8;
if ( a1 > 135 )
v2 = 0.4;
return sub_1000262BC(a2, v3, v2);
}