//
// GameObject::updateMainColor from 0x771d08 to 0x771d48 (64 bytes)
//
// 2 xrefs:
// > PlayLayer::updateVisibility @ 0x701820
// > ??> @ 0xd2748
//
// 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 12:53:13 +0000
//
void __fastcall GameObject::updateMainColor(GameObject *this)
{
void (__fastcall *v2)(GameObject *, unsigned __int8 *); // x20
unsigned __int8 *v3; // x0
v2 = *(void (__fastcall **)(GameObject *, unsigned __int8 *))(*(_QWORD *)this + 1584LL);
v3 = GameObject::colorForMode(this, *((_DWORD *)this + 164), 1u);
v2(this, v3);
GameObject::updateMainOpacity(this);
}