// // ColorSelectPopup::updateCustomColorIdx from 0x3da490 to 0x3da4da (74 bytes) // // 3 xrefs: // > ColorSelectPopup::onUpdateCustomColor @ 0x3da5cc // > ColorSelectPopup::colorSelectClosed @ 0x3da788 // > ColorSelectPopup::textChanged @ 0x3dd06c // // 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 // void ColorSelectPopup::updateCustomColorIdx(ColorSelectPopup *a1) { int m_colorID; // r3 EffectGameObject *m_gameObject; // r4 int v4; // r0 m_colorID = a1->m_colorID; m_gameObject = a1->m_gameObject; if ( m_colorID < 1 ) m_colorID = 1; a1->m_colorID = m_colorID; if ( m_gameObject ) { m_gameObject->m_targetColor = m_colorID; } else if ( a1->m_gameObjects ) { while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) ) { v4 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject); m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1); *(_DWORD *)(v4 + 880) = a1->m_colorID; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source