//
// GameObject::setDefaultSecondaryColorMode from 0x10067adf0 to 0x10067ae20 (48 bytes)
//
// 18 xrefs:
// > LevelEditorLayer::copyObjectState @ 0x1000c79e1
// > AnimatedGameObject::setupChildSprites @ 0x10019716d
// > AnimatedGameObject::setupChildSprites @ 0x1001971e7
// > AnimatedGameObject::setupChildSprites @ 0x1001974f8
// > GameObject::setupCustomSprites @ 0x1004389cd
// > GameObject::setupCustomSprites @ 0x100438b97
// > GameObject::setupCustomSprites @ 0x10043c13a
// > GameObject::setupCustomSprites @ 0x10043cef2
// > GameObject::setupCustomSprites @ 0x10043ddb6
// > GameObject::setupCustomSprites @ 0x10043dfea
// > GameObject::setupCustomSprites @ 0x10043e5ce
// > GameObject::setupCustomSprites @ 0x100446095
// > GameObject::setupCustomSprites @ 0x100447f1f
// > GameObject::setupCustomSprites @ 0x10044b864
// > GameObject::setupCustomSprites @ 0x10044f0b3
// > GameObject::setupCustomSprites @ 0x10044f508
// > GameObject::setupCustomSprites @ 0x100450678
// > GameObject::setupCustomSprites @ 0x1004511d2
//
// 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:03 +0000
//
_DWORD *__fastcall GameObject::setDefaultSecondaryColorMode(__int64 a1, int a2)
{
_DWORD *result; // rax
int v3; // ecx
int v4; // edx
result = *(_DWORD **)(a1 + 1104);
if ( result )
{
v3 = 0;
if ( a2 > 0 )
v3 = a2;
v4 = 1101;
if ( v3 < 1101 )
v4 = v3;
result[1] = v4;
*result = 0;
}
return result;
}