// // cocos2d::CCLabelTTF::enableShadow from 0x7d662a to 0x7d66a8 (126 bytes) // // 1 xrefs: // > cocos2d::CCLabelTTF::_updateWithTextDefinition @ 0x7d67f0 // // 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 // int __fastcall cocos2d::CCLabelTTF::enableShadow(int this, const cocos2d::CCSize *a2, float a3, float a4, bool a5) { int v6; // r3 if ( *(_BYTE *)(this + 548) ) { v6 = 0; } else { v6 = 1; *(_BYTE *)(this + 548) = 1; } if ( *(float *)(this + 552) != *(float *)a2 || *(float *)(this + 556) != *((float *)a2 + 1) ) { *(_DWORD *)(this + 552) = *(_DWORD *)a2; *(_DWORD *)(this + 556) = *((_DWORD *)a2 + 1); v6 = 1; } if ( *(float *)(this + 560) != a3 ) { *(float *)(this + 560) = a3; v6 = 1; } if ( *(float *)(this + 564) == a4 ) { if ( !v6 ) return this; } else { *(float *)(this + 564) = a4; } if ( a5 ) return cocos2d::CCLabelTTF::updateTexture((cocos2d::CCLabelTTF *)this); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source