//
// GJGarageLayer::playerColorChanged from 0x140380450 to 0x14038047e (46 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407702a0
// > ??> @ 0x1409228e0
//
// 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 11:31:05 +0000
//
__int64 __fastcall GJGarageLayer::playerColorChanged(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
__int64 v3; // rcx
v2 = a1 - 448;
v3 = *(_QWORD *)(a1 + 112);
if ( v3 )
{
LOBYTE(a2) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 336LL))(v3, a2);
}
return GJGarageLayer::updatePlayerColors(v2);
}