// // GameObject::getSecondaryColorMode from 0x1005bfcc0 to 0x1005bfcde (30 bytes) // // 13 xrefs: // > EditorUI::onDelete @ 0x10002ddad // > EditorUI::copyObjects @ 0x100030f1b // > EditorUI::spriteFromObjectString @ 0x100034087 // > EditorUI::canSelectObject @ 0x10003c138 // > EditorUI::selectObjects @ 0x10003c33e // > LevelEditorLayer::updateVisibility @ 0x1000eb226 // > LevelEditorLayer::updateVisibility @ 0x1000eb42a // > LevelEditorLayer::updateVisibility @ 0x1000eb4ca // > LevelEditorLayer::updateObjectColors @ 0x1000eb8eb // > LevelEditorLayer::updateObjectColors @ 0x1000ebac2 // > LevelEditorLayer::getNextColorChannel @ 0x1000ed6df // > LevelEditorLayer::resetUnusedColorChannels @ 0x1000eda3f // > GJBaseGameLayer::triggerGradientCommand @ 0x100138fb8 // // 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::getSecondaryColorMode(GameObject *a1) { GJSpriteColor *m_detailColor; // rcx int result; // eax m_detailColor = a1->m_detailColor; if ( !m_detailColor ) return 0; result = m_detailColor->m_colorID; if ( !m_detailColor->m_colorID ) return m_detailColor->m_defaultColorID; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source