// // cocos2d::CCLabelBMFont::setString from 0x18004e410 to 0x18004e4f8 (232 bytes) // // 6 xrefs: // > @ 0x1800f2708 // > @ 0x180140ce0 // > @ 0x180140d14 // > @ 0x18014cf68 // > @ 0x1801bbda0 // > @ 0x1801bbdac // // This function is hookable on this platform (idp: pc, 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 11:21:44 +0000 // void __fastcall cocos2d::CCLabelBMFont::setString(cocos2d::CCLabelBMFont *this, cocos2d *Src, char a3) { void *v5; // rbx cocos2d::CCArray *v6; // rcx __int64 v7; // rax unsigned int *v8; // rbx __int64 v9; // rax _QWORD *v10; // rbx _QWORD *i; // rsi if ( a3 ) { v5 = *((void **)this + 52); *((_QWORD *)this + 52) = sub_180048F90(Src, (const unsigned __int16 *)Src); } else { v5 = *((void **)this + 47); *((_QWORD *)this + 47) = sub_180048F90(Src, (const unsigned __int16 *)Src); } if ( v5 ) j_j_free_0(v5); v6 = *((cocos2d::CCArray **)this + 26); if ( v6 ) { if ( (unsigned int)cocos2d::CCArray::count(v6) ) { v7 = *((_QWORD *)this + 26); if ( v7 ) { v8 = *(unsigned int **)(v7 + 56); v9 = *v8; if ( (_DWORD)v9 ) { v10 = *((_QWORD **)v8 + 2); for ( i = &v10[v9 - 1]; v10 <= i; ++v10 ) { if ( !*v10 ) break; (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v10 + 336LL))(*v10, 0); } } } } } cocos2d::CCLabelBMFont::createFontChars(this); if ( a3 ) (*(void (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_QWORD *)this + 912LL))(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source