// // GameObject::getMainColorMode from 0x10025e010 to 0x10025e030 (32 bytes) // // 14 xrefs: // > GJBaseGameLayer::triggerGradientCommand @ 0x1001ef9ec // > GameObject::setupCustomSprites @ 0x1002b0a30 // > LevelEditorLayer::updateVisibility @ 0x10035eca0 // > LevelEditorLayer::updateVisibility @ 0x10035ecf8 // > LevelEditorLayer::updateVisibility @ 0x10035ee3c // > LevelEditorLayer::updateObjectColors @ 0x10035f2c0 // > LevelEditorLayer::updateObjectColors @ 0x10035f318 // > LevelEditorLayer::getNextColorChannel @ 0x1003602f0 // > LevelEditorLayer::resetUnusedColorChannels @ 0x10036049c // > EditorUI::enableButton @ 0x1003e7008 // > EditorUI::copyObjects @ 0x1003e889c // > EditorUI::spriteFromObjectString @ 0x1003ea8f4 // > EditorUI::canSelectObject @ 0x1003ed5a8 // > EditorUI::selectObjects @ 0x1003ed764 // // 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 __fastcall GameObject::getMainColorMode(GameObject *a1) { GJSpriteColor *m_baseColor; // x8 int m_colorID; // w8 m_baseColor = a1->m_baseColor; if ( !m_baseColor ) return 0; m_colorID = m_baseColor->m_colorID; if ( m_colorID ) return m_colorID; else return a1->m_baseColor->m_defaultColorID; }
GD Web Decomp Icon

GD Web Decomp

Raw Source