//
// MenuGameLayer::updateColors from 0x100442904 to 0x10044297c (120 bytes)
//
// 1 xrefs:
// > MenuGameLayer::update @ 0x1004429c8
//
// This function is hookable on this platform (idp: arm, 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:05:12 +0000
//
__int64 __fastcall MenuGameLayer::updateColors(__int64 a1)
{
__int64 v2; // x20
unsigned __int16 *v3; // x0
__int64 v4; // x19
__int64 result; // x0
unsigned __int16 *v6; // x0
v2 = *(_QWORD *)(a1 + 448);
v3 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 408) + 944LL))(*(_QWORD *)(v2 + 408));
GJGroundLayer::updateGround01Color(v2, *v3 | (*((unsigned __int8 *)v3 + 2) << 16));
v4 = *(_QWORD *)(a1 + 448);
result = *(_QWORD *)(v4 + 416);
if ( result )
{
v6 = (unsigned __int16 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 944LL))(result);
return GJGroundLayer::updateGround02Color(v4, *v6 | (*((unsigned __int8 *)v6 + 2) << 16));
}
return result;
}