//
// GameObject::getSecondaryColorMode from 0x100691370 to 0x10069138e (30 bytes)
//
// 13 xrefs:
// > LevelEditorLayer::updateVisibility @ 0x1000be0fa
// > LevelEditorLayer::updateVisibility @ 0x1000be2db
// > LevelEditorLayer::updateVisibility @ 0x1000be37a
// > LevelEditorLayer::updateObjectColors @ 0x1000be7ab
// > LevelEditorLayer::updateObjectColors @ 0x1000be982
// > LevelEditorLayer::getNextColorChannel @ 0x1000c0e6f
// > LevelEditorLayer::resetUnusedColorChannels @ 0x1000c11cf
// > GJBaseGameLayer::triggerGradientCommand @ 0x1001168f8
// > EditorUI::copyObjects @ 0x1005b614b
// > EditorUI::canSelectObject @ 0x1005b88d8
// > EditorUI::selectObjects @ 0x1005b8bce
// > sub_1005B9640 @ 0x1005b96ae
// > EditorUI::spriteFromObjectString @ 0x1006389c7
//
// 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:08 +0000
//
__int64 __fastcall GameObject::getSecondaryColorMode(__int64 a1)
{
unsigned int *v1; // rcx
__int64 result; // rax
v1 = *(unsigned int **)(a1 + 1104);
if ( !v1 )
return 0;
result = *v1;
if ( !(_DWORD)result )
return v1[1];
return result;
}