// // cocos2d::CCLabelBMFont::setString from 0xd56a70 to 0xd56b4c (220 bytes) // // 3 xrefs: // > @ 0xf2038 // > @ 0x1415360 // > @ 0x15187d0 // // 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:44 +0000 // __int64 __fastcall cocos2d::CCLabelBMFont::setString(cocos2d::CCLabelBMFont *this, cocos2d *a2, unsigned __int8 a3) { int v3; // w22 void *v5; // x19 cocos2d::CCArray *v6; // x0 __int64 result; // x0 __int64 v8; // x0 unsigned int *v9; // x1 __int64 *v10; // x19 __int64 *v11; // x21 __int64 v12; // x0 v3 = a3; if ( a3 ) { v5 = *((void **)this + 51); *((_QWORD *)this + 51) = sub_D55314(a2, (const unsigned __int16 *)a2); if ( !v5 ) goto LABEL_4; goto LABEL_3; } v5 = *((void **)this + 47); *((_QWORD *)this + 47) = sub_D55314(a2, (const unsigned __int16 *)a2); if ( v5 ) LABEL_3: operator delete[](v5); LABEL_4: v6 = *((cocos2d::CCArray **)this + 26); if ( v6 ) { if ( (unsigned int)cocos2d::CCArray::count(v6) ) { v8 = *((_QWORD *)this + 26); if ( v8 ) { v9 = *(unsigned int **)(v8 + 56); if ( *v9 ) { v10 = *((__int64 **)v9 + 2); v11 = &v10[*v9 - 1]; while ( v11 >= v10 ) { v12 = *v10; if ( !*v10 ) break; ++v10; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 344LL))(v12, 0); } } } } } result = cocos2d::CCLabelBMFont::createFontChars(this); if ( v3 ) return (*(__int64 (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)this + 960LL))(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source