//
// CharacterColorPage::colorForIndex from 0x10065e4b0 to 0x10065e4cf (31 bytes)
//
// 1 xrefs:
// > CharacterColorPage::createColorMenu @ 0x10065dd0b
//
// 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)
{
int result; // eax
result = -1;
if ( (unsigned int)a2 <= 0x8E )
return *(_DWORD *)&a3_0[4 * a2];
return result;
}