//
// SimplePlayer::tryEnableCustomGlowColor from 0x791bac to 0x791c30 (132 bytes)
//
// 7 xrefs:
// > CommentCell::loadFromComment @ 0x616b74
// > GJScoreCell::loadFromScore @ 0x618c90
// > GJLevelScoreCell::loadFromScore @ 0x61ab28
// > GJUserCell::loadFromScore @ 0x61b82c
// > GJRequestCell::loadFromScore @ 0x61c288
// > ProfilePage::loadPageFromUserInfo @ 0x8faf38
// > ??> @ 0x8f298
//
// 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 *v3; // x0
cocos2d::ccColor3B v5; // [xsp+30h] [xbp+30h] BYREF
if ( a2 < 0 )
{
SimplePlayer::disableCustomGlowColor(a1);
}
else
{
v3 = GameManager::sharedState();
v5 = GameManager::colorForIdx(v3, a2);
SimplePlayer::enableCustomGlowColor(a1, &v5);
}
}