//
// cocos2d::CCLabelTTF::enableStroke from 0x7d66bc to 0x7d6720 (100 bytes)
//
// 1 xrefs:
// > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x7d6804
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:39 +0000
//
cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::enableStroke(
cocos2d::CCLabelTTF *this,
unsigned __int8 *a2,
float a3,
int a4)
{
int v5; // r2
if ( *((_BYTE *)this + 568) )
{
v5 = 0;
}
else
{
v5 = 1;
*((_BYTE *)this + 568) = 1;
}
if ( *((unsigned __int8 *)this + 569) != *a2
|| *((unsigned __int8 *)this + 570) != a2[1]
|| *((unsigned __int8 *)this + 571) != a2[2] )
{
*(_WORD *)((char *)this + 569) = *(_WORD *)a2;
*((_BYTE *)this + 571) = a2[2];
v5 = 1;
}
if ( *((float *)this + 143) == a3 )
{
if ( !v5 )
return this;
}
else
{
*((float *)this + 143) = a3;
}
if ( a4 )
return (cocos2d::CCLabelTTF *)cocos2d::CCLabelTTF::updateTexture(this);
return this;
}