//
// GameObject::updateMainColorOnly from 0x44efb8 to 0x44efea (50 bytes)
//
// 0 xrefs:
//
// 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
//
_WORD *__fastcall GameObject::updateMainColorOnly(_WORD *this)
{
_WORD *v1; // r4
int v2; // r1
int (__fastcall *v3)(_WORD *, unsigned __int8 *); // r5
unsigned __int8 *v4; // r0
v1 = this;
v2 = *((_DWORD *)this + 139);
if ( v2 || *(this + 514) || *(this + 518) )
{
v3 = *(int (__fastcall **)(_WORD *, unsigned __int8 *))(*(_DWORD *)this + 792);
v4 = GameObject::colorForMode((GameObject *)this, v2, 1);
return (_WORD *)v3(v1, v4);
}
return this;
}