//
// GameObject::getSecondaryColorMode from 0x357376 to 0x357388 (18 bytes)
//
// 14 xrefs:
// > GameObject::saveActiveColors @ 0x358d22
// > GameObject::getColorKey @ 0x3633d8
// > LevelEditorLayer::updateObjectColors @ 0x367820
// > LevelEditorLayer::updateObjectColors @ 0x367976
// > LevelEditorLayer::updateVisibility @ 0x3697ee
// > LevelEditorLayer::updateVisibility @ 0x3698c0
// > LevelEditorLayer::updateVisibility @ 0x369a16
// > LevelEditorLayer::getNextColorChannel @ 0x371bba
// > LevelEditorLayer::resetUnusedColorChannels @ 0x371d1a
// > EditorUI::canSelectObject @ 0x37d876
// > EditorUI::spriteFromObjectString @ 0x387db0
// > EditorUI::selectObjects @ 0x3a3110
// > EditorUI::copyObjects @ 0x3a6596
// > GJBaseGameLayer::triggerGradientCommand @ 0x47c9d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int GameObject::getSecondaryColorMode(GameObject *a1)
{
int result; // r0
result = (int)GameObject::getSecondaryColor(a1);
if ( result )
return GJSpriteColor::getColorMode((GJSpriteColor *)result);
return result;
}