//
// GameObject::updateMainColorOnly from 0x771d48 to 0x771da4 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xbd1d8
//
// 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
//
_WORD *__fastcall GameObject::updateMainColorOnly(_WORD *this)
{
int v1; // w1
_WORD *v2; // x19
__int64 (__fastcall *v3)(_WORD *, unsigned __int8 *); // x20
unsigned __int8 *v4; // x0
v1 = *((_DWORD *)this + 164);
if ( v1 || *(this + 592) || *(this + 600) )
{
v2 = this;
v3 = *(__int64 (__fastcall **)(_WORD *, unsigned __int8 *))(*(_QWORD *)this + 1584LL);
v4 = GameObject::colorForMode((GameObject *)this, v1, 1u);
return (_WORD *)v3(v2, v4);
}
return this;
}