// // cocos2d::CCLabelTTF::enableShadow from 0xae94d0 to 0xae9550 (128 bytes) // // 2 xrefs: // > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0xae976c // > @ 0x46008 // // 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::CCLabelTTF::enableShadow(cocos2d::CCLabelTTF *a1, const cocos2d::CCSize *a2, float a3, float a4, bool a5) { int v5; // w3 float height; // s2 v5 = 0; if ( !a1->m_shadowEnabled ) { v5 = 1; a1->m_shadowEnabled = 1; } height = a2->height; if ( a1->m_shadowOffset.width != a2->width || a1->m_shadowOffset.height != height ) { v5 = 1; a1->m_shadowOffset.width = a2->width; a1->m_shadowOffset.height = height; } if ( a1->m_shadowOpacity != a3 ) { v5 = 1; a1->m_shadowOpacity = a3; } if ( a1->m_shadowBlur == a4 ) { if ( !v5 ) return; } else { a1->m_shadowBlur = a4; } if ( a5 ) cocos2d::CCLabelTTF::updateTexture(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source