//
// CharacterColorPage::colorForIndex from 0x5650b0 to 0x5650c6 (22 bytes)
//
// 1 xrefs:
// > CharacterColorPage::createColorMenu @ 0x56522e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int CharacterColorPage::colorForIndex(CharacterColorPage *a1, int a2)
{
if ( (unsigned int)a2 > 0x8E )
return -1;
else
return *((char *)&word_9AD6A4 + a2 + 4);
}