// // GameObject::getColorIndex from 0x1005cb610 to 0x1005cb689 (121 bytes) // // 2 xrefs: // > LevelEditorLayer::getNextColorChannel @ 0x1000ed762 // > LevelEditorLayer::resetUnusedColorChannels @ 0x1000edac1 // // 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::getColorIndex(GameObject *a1) { int m_objectID; // eax m_objectID = a1->m_objectID; if ( m_objectID <= 743 ) { if ( m_objectID == 29 ) return 1000; if ( m_objectID != 30 ) { if ( m_objectID == 105 ) return 1004; return 0; } return 1001; } else if ( m_objectID > 899 ) { if ( m_objectID != 900 ) { if ( m_objectID == 915 ) return 1002; return 0; } return 1009; } else { if ( m_objectID != 744 ) { if ( m_objectID == 899 ) return a1->m_targetColor; return 0; } return 1003; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source