//
// cocos2d::CCLabelTTF::enableStroke from 0x5ce634 to 0x5ce698 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x5ce760
//
// 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::enableStroke(cocos2d::CCLabelTTF *a1, const cocos2d::ccColor3B *a2, float a3, bool a4)
{
int v5; // r2
if ( a1->m_strokeEnabled )
{
v5 = 0;
}
else
{
v5 = 1;
a1->m_strokeEnabled = 1;
}
if ( a1->m_strokeColor.r != a2->r || a1->m_strokeColor.g != a2->g || a1->m_strokeColor.b != a2->b )
{
a1->m_strokeColor = *a2;
v5 = 1;
}
if ( a1->m_strokeSize == a3 )
{
if ( !v5 )
return;
}
else
{
a1->m_strokeSize = a3;
}
if ( a4 )
cocos2d::CCLabelTTF::updateTexture(a1);
}