//
// CharacterColorPage::colorForIndex from 0x10012a088 to 0x10012a0a8 (32 bytes)
//
// 1 xrefs:
// > CharacterColorPage::createColorMenu @ 0x100129ae4
//
// 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 __fastcall CharacterColorPage::colorForIndex(CharacterColorPage *a1, int a2)
{
if ( (unsigned int)a2 > 0x8E )
return -1;
else
return *(_DWORD *)&a3_1[4 * a2];
}