//
// GJGarageLayer::toggleGlow from 0x791ef8 to 0x791f6c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x56ac0
//
// 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 GJGarageLayer::toggleGlow(GJGarageLayer *a1)
{
GameManager *v2; // x21
GameManager *v3; // x0
SimplePlayer *m_playerObject; // x20
bool m_playerGlow; // w1
SimplePlayer *v6; // x0
v2 = GameManager::sharedState();
v3 = GameManager::sharedState();
m_playerObject = a1->m_playerObject;
v2->m_playerGlow = !v3->m_playerGlow;
m_playerGlow = GameManager::sharedState()->m_playerGlow;
v6 = a1->m_playerObject;
m_playerObject->m_hasGlowOutline = m_playerGlow;
SimplePlayer::updateColors(v6);
if ( GameManager::sharedState()->m_playerGlow )
GJGarageLayer::playRainbowEffect(a1);
}