// // ColorChannelSprite::updateValues from 0x10000d140 to 0x10000d240 (256 bytes) // // 3 xrefs: // > CustomizeObjectLayer::updateColorSprite @ 0x100050240 // > LevelSettingsLayer::updateColorSprite @ 0x10017bfcc // > GJColorSetupLayer::updateSpriteColor @ 0x10018e618 // // 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 __fastcall ColorChannelSprite::updateValues(ColorChannelSprite *a1, ColorAction *a2) { __int16 v4; // w8 cocos2d::CCLabelBMFont *m_copyLabel; // x0 cocos2d::CCLabelBMFont *m_opacityLabel; // x0 cocos2d::CCLabelBMFont *m_blendingLabel; // x0 __int16 v8; // [xsp+Ch] [xbp-14h] BYREF GLubyte b; // [xsp+Eh] [xbp-12h] if ( a2 ) { ColorChannelSprite::updateCopyLabel(a1, a2->m_copyID, a2->m_copyColorLoop); ColorChannelSprite::updateOpacity(a1, a2->m_fromOpacity); ColorChannelSprite::updateBlending(a1, a2->m_blending); v4 = *(_WORD *)&a2->m_fromColor.r; b = a2->m_fromColor.b; v8 = v4; if ( a2->m_copyID ) { if ( !a2->m_copyColorLoop ) { b = -90; v8 = -22874; } } ((void (__fastcall *)(ColorChannelSprite *, __int16 *))a1->setColor)(a1, &v8); } else { ((void (__fastcall *)(ColorChannelSprite *, void *))a1->setColor)(a1, &unk_1006354D3); m_copyLabel = a1->m_copyLabel; if ( m_copyLabel ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))m_copyLabel->setVisible)(m_copyLabel, 0); m_opacityLabel = a1->m_opacityLabel; if ( m_opacityLabel ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))m_opacityLabel->setVisible)(m_opacityLabel, 0); m_blendingLabel = a1->m_blendingLabel; if ( m_blendingLabel ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))m_blendingLabel->setVisible)(m_blendingLabel, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source