// // cocos2d::CCLabelTTF::enableStroke from 0xd5b1b4 to 0xd5b23c (136 bytes) // // 2 xrefs: // > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0xd5b3b4 // > @ 0xad038 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:46 +0000 // __int64 __fastcall cocos2d::CCLabelTTF::enableStroke(__int64 result, unsigned __int8 *a2, char a3, float a4) { int v4; // w3 v4 = 0; if ( !*(_BYTE *)(result + 684) ) { v4 = 1; *(_BYTE *)(result + 684) = 1; } if ( *(unsigned __int8 *)(result + 685) != *a2 || *(unsigned __int8 *)(result + 686) != a2[1] || *(unsigned __int8 *)(result + 687) != a2[2] ) { v4 = 1; *(_WORD *)(result + 685) = *(_WORD *)a2; *(_BYTE *)(result + 687) = a2[2]; } if ( *(float *)(result + 688) == a4 ) { if ( !v4 ) return result; } else { *(float *)(result + 688) = a4; } if ( a3 ) return cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)result); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source