// // EffectGameObject::getTargetColorIndex from 0x75e530 to 0x75e598 (104 bytes) // // 3 xrefs: // > ColorSelectPopup::updateCopyColor @ 0x73cc28 // > ColorSelectPopup::updateCopyColor @ 0x73cc6c // > @ 0x7e2a0 // // 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 EffectGameObject::getTargetColorIndex(EffectGameObject *a1) { int m_objectID; // w1 int result; // w0 m_objectID = a1->m_objectID; if ( m_objectID == 105 ) return 1004; if ( m_objectID <= 105 ) { result = 1000; if ( m_objectID != 29 ) { result = 1001; if ( m_objectID != 30 ) return a1->m_targetColor; } } else { if ( m_objectID == 900 ) return 1009; result = 1002; if ( m_objectID != 915 ) { result = 1003; if ( m_objectID != 744 ) return a1->m_targetColor; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source