// // ColorSelectPopup::onCopyOpacity from 0x73be84 to 0x73bf10 (140 bytes) // // 3 xrefs: // > @ 0xa2cf0 // > ColorSelectPopup::init @ 0x73f0dc // > @ 0x122d9a0 // // 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::onCopyOpacity(ColorSelectPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // x2 bool v3; // w1 cocos2d::CCArray *m_gameObjects; // x2 unsigned int v6; // w20 __int64 v7; // x0 bool v8; // cf unsigned int v9; // w1 ColorAction *m_colorAction; // x0 m_gameObject = a1->m_gameObject; v3 = !a1->m_copyOpacity; a1->m_copyOpacity = v3; if ( m_gameObject ) { m_gameObject->m_copyOpacity = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v6 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v9 = v6++; if ( v8 ) break; v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v9); m_gameObjects = a1->m_gameObjects; *(_BYTE *)(v7 + 1616) = a1->m_copyOpacity; } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) m_colorAction->m_copyOpacity = v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source