//
// GJGarageLayer::toggleGlow from 0x1003580e0 to 0x10035814c (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:52 +0000
//
void __fastcall GJGarageLayer::toggleGlow(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rax
__int64 v5; // r14
__int64 v6; // rdx
__int64 v7; // rax
__int64 v8; // r14
__int64 v9; // rdx
__int64 v10; // rax
__int64 v11; // rdi
__int64 v12; // rdx
__int64 v13; // rax
GameManager::sharedState(a1, a2, a3);
v5 = v4;
GameManager::sharedState(a1, a2, v6);
*(_BYTE *)(v5 + 912) = *(_BYTE *)(v7 + 912) ^ 1;
v8 = *(_QWORD *)(a1 + 472);
GameManager::sharedState(a1, a2, v9);
*(_BYTE *)(v8 + 660) = *(_BYTE *)(v10 + 912);
v11 = *(_QWORD *)(a1 + 472);
SimplePlayer::updateColors(v11);
GameManager::sharedState(v11, a2, v12);
if ( *(_BYTE *)(v13 + 912) == 1 )
GJGarageLayer::playRainbowEffect((_QWORD **)a1);
}