//
// GameObject::setSecondaryColorMode from 0x10069b8b0 to 0x10069b8d9 (41 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:35:16 +0000
//
int *__fastcall GameObject::setSecondaryColorMode(__int64 a1, int a2)
{
int *result; // rax
int v3; // ecx
int v4; // edx
result = *(int **)(a1 + 1104);
if ( result )
{
v3 = 0;
if ( a2 > 0 )
v3 = a2;
v4 = 1101;
if ( v3 < 1101 )
v4 = v3;
*result = v4;
}
return result;
}