//
// GameObject::updateMainColor from 0x1002ff464 to 0x1002ff4b8 (84 bytes)
//
// 1 xrefs:
// > PlayLayer::updateVisibility @ 0x1001458cc
//
// 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:03:04 +0000
//
void __fastcall GameObject::updateMainColor(__int64 a1, __n128 a2)
{
__int64 v3; // x0
v3 = GameObject::colorForMode(a1, *(unsigned int *)(a1 + 656), 1, a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1584LL))(a1, v3);
*(float *)(*(_QWORD *)(a1 + 1096) + 8LL) = GameObject::opacityModForMode(a1, *(unsigned int *)(a1 + 656), 1);
}