// // ColorChannelSprite::updateValues from 0x4992e0 to 0x499390 (176 bytes) // // 3 xrefs: // > CustomizeObjectLayer::updateColorSprite @ 0x461c4c // > GJColorSetupLayer::updateSpriteColor @ 0x498046 // > LevelSettingsLayer::updateColorSprite @ 0x570558 // // 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 ColorChannelSprite::updateValues(ColorChannelSprite *a1, ColorAction *a2) { GLubyte r; // r1 GLubyte g; // r2 int m_copyID; // r3 _DWORD v7[2]; // [sp+0h] [bp-8h] BYREF v7[0] = a1; v7[1] = a2; if ( a2 ) { ColorChannelSprite::updateCopyLabel(a1, a2->m_copyID, a2->m_copyColorLoop); ColorChannelSprite::updateOpacity(a1, a2->m_fromOpacity); ColorChannelSprite::updateBlending(a1, a2->m_blending); r = a2->m_fromColor.r; g = a2->m_fromColor.g; BYTE2(v7[0]) = a2->m_fromColor.b; m_copyID = a2->m_copyID; LOBYTE(v7[0]) = r; BYTE1(v7[0]) = g; if ( m_copyID ) { if ( !a2->m_copyColorLoop ) { LOWORD(v7[0]) = -22874; BYTE2(v7[0]) = -90; } } a1->setColor(a1, (const cocos2d::ccColor3B *)v7); } else { a1->setColor(a1, (const cocos2d::ccColor3B *)&word_9AC083); ColorChannelSprite::updateCopyLabel(a1, 0, 0); ColorChannelSprite::updateOpacity(a1, 1.0); ColorChannelSprite::updateBlending(a1, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source