//
// GameObject::updateMainColor from 0x44ef94 to 0x44efb8 (36 bytes)
//
// 1 xrefs:
// > PlayLayer::updateVisibility @ 0x406f22
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:36 +0000
//
int __fastcall GameObject::updateMainColor(GameObject *this)
{
void (__fastcall *v2)(GameObject *, unsigned __int8 *); // r5
unsigned __int8 *v3; // r0
v2 = *(void (__fastcall **)(GameObject *, unsigned __int8 *))(*(_DWORD *)this + 792);
v3 = GameObject::colorForMode(this, *((_DWORD *)this + 139), 1);
v2(this, v3);
return GameObject::updateMainOpacity(this);
}