//
// GameObject::getMainColorMode from 0x44e976 to 0x44e988 (18 bytes)
//
// 17 xrefs:
// > GameObject::saveActiveColors @ 0x44f07c
// > GameObject::getColorKey @ 0x45cb40
// > LevelEditorLayer::updateObjectColors @ 0x46158c
// > LevelEditorLayer::updateObjectColors @ 0x4615c4
// > LevelEditorLayer::updateVisibility @ 0x462d94
// > LevelEditorLayer::updateVisibility @ 0x463094
// > LevelEditorLayer::updateVisibility @ 0x4630d0
// > LevelEditorLayer::getNextColorChannel @ 0x47350c
// > LevelEditorLayer::resetUnusedColorChannels @ 0x473a00
// > EditorUI::enableButton @ 0x481316
// > GJBaseGameLayer::triggerGradientCommand @ 0x59b4aa
// > GameObject::setupCustomSprites @ 0x655214
// > EditorUI::copyObjects @ 0x6f35fa
// > EditorUI::canSelectObject @ 0x6f4344
// > EditorUI::findPassesFilters @ 0x6f43b0
// > EditorUI::selectObjects @ 0x6f469e
// > EditorUI::spriteFromObjectString @ 0x6f521c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:36 +0000
//
GJSpriteColor *__fastcall GameObject::getMainColorMode(GameObject *this)
{
GJSpriteColor *result; // r0
result = (GJSpriteColor *)GameObject::getMainColor(this);
if ( result )
return (GJSpriteColor *)GJSpriteColor::getColorMode(result);
return result;
}