//
// SimplePlayer::tryEnableCustomGlowColor from 0x402e5c to 0x402eac (80 bytes)
//
// 6 xrefs:
// > CommentCell::loadFromComment @ 0x335f78
// > GJScoreCell::loadFromScore @ 0x337396
// > GJLevelScoreCell::loadFromScore @ 0x3383f8
// > GJUserCell::loadFromScore @ 0x338b4c
// > GJRequestCell::loadFromScore @ 0x339232
// > ProfilePage::loadPageFromUserInfo @ 0x4c5768
//
// 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
//
void SimplePlayer::tryEnableCustomGlowColor(SimplePlayer *a1, int a2)
{
GameManager *v4; // r0
int v5; // r0
_DWORD v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = a1;
v6[1] = a2;
if ( a2 < 0 )
{
SimplePlayer::disableCustomGlowColor(a1);
}
else
{
v4 = GameManager::sharedState();
*(cocos2d::ccColor3B *)&v5 = GameManager::colorForIdx(v4, a2);
LOWORD(v6[0]) = v5;
BYTE2(v6[0]) = BYTE2(v5);
SimplePlayer::enableCustomGlowColor(a1, (const cocos2d::ccColor3B *)v6);
}
}