//
// GameObject::updateSecondaryColor from 0x1002ff644 to 0x1002ff6b0 (108 bytes)
//
// 1 xrefs:
// > PlayLayer::updateVisibility @ 0x1001458d4
//
// 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::updateSecondaryColor(__int64 a1, __n128 a2, double a3, double a4, float a5)
{
__int64 v6; // x1
_BYTE *v7; // x0
if ( *(_QWORD *)(a1 + 888) )
{
v6 = *(unsigned int *)(a1 + 660);
if ( (_DWORD)v6 || *(_WORD *)(a1 + 1168) )
{
v7 = GameObject::colorForMode(a1, v6, 0, a2, a3, a4, a5);
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 1592LL))(a1, v7);
*(float *)(*(_QWORD *)(a1 + 1104) + 8LL) = GameObject::opacityModForMode(a1, *(_DWORD *)(a1 + 660), 0);
}
}
}