// // cocos2d::CCLayerGradient::setValues from 0x5d0058 to 0x5d00a4 (76 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateGradientLayers @ 0x4721e2 // // 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 cocos2d::CCLayerGradient::setValues( cocos2d::CCLayerGradient *a1, const cocos2d::ccColor3B *a2, unsigned __int8 a3, const cocos2d::ccColor3B *a4, unsigned __int8 a5, const cocos2d::CCPoint *a6) { GLubyte b; // r1 __int16 v8; // r0 int v9; // r2 GLubyte v10; // r3 *(_WORD *)&a1->_realColor.r = *(_WORD *)&a2->r; b = a2->b; v8 = *(_WORD *)&a1->_realColor.r; a1->m_cStartOpacity = a3; a1->_realColor.b = b; *(_WORD *)&a1->_displayedColor.r = v8; a1->_displayedColor.b = b; v9 = *(unsigned __int16 *)&a4->r; *(_WORD *)&a1->m_endColor.r = v9; v10 = a4->b; a1->m_cEndOpacity = a5; a1->m_endColor.b = v10; cocos2d::CCPoint::operator=(&a1->m_AlongVector, &a6->x, v9, v10); a1->updateColor(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source