//
// MenuGameLayer::updateColors from 0x1004f99f0 to 0x1004f9a5e (110 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:31:28 +0000
//
__int64 __fastcall MenuGameLayer::updateColors(__int64 a1)
{
__int64 v1; // r14
unsigned __int16 *v2; // rax
__int64 result; // rax
__int64 v4; // rbx
__int64 v5; // rdi
unsigned __int16 *v6; // rax
v1 = *(_QWORD *)(a1 + 448);
v2 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 408) + 944LL))(*(_QWORD *)(v1 + 408));
result = GJGroundLayer::updateGround01Color(v1, *v2 | (*((unsigned __int8 *)v2 + 2) << 16));
v4 = *(_QWORD *)(a1 + 448);
v5 = *(_QWORD *)(v4 + 416);
if ( v5 )
{
v6 = (unsigned __int16 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 944LL))(v5);
return GJGroundLayer::updateGround02Color(v4, *v6 | (*((unsigned __int8 *)v6 + 2) << 16));
}
return result;
}