// // GameObject::getColorIndex from 0x100262794 to 0x100262820 (140 bytes) // // 2 xrefs: // > LevelEditorLayer::getNextColorChannel @ 0x100360370 // > LevelEditorLayer::resetUnusedColorChannels @ 0x10036051c // // 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; // w8 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