// // cocos2d::CCLabelBMFont::setString from 0x7d3a8c to 0x7d3b10 (132 bytes) // // 0 xrefs: // // 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:37 +0000 // int __fastcall cocos2d::CCLabelBMFont::setString(cocos2d::CCLabelBMFont *this, cocos2d *a2, int a3) { void *v5; // r5 cocos2d::CCArray *v6; // r0 int v7; // r3 _DWORD *v8; // r2 int *v9; // r6 int *v10; // r5 int result; // r0 int v12; // r0 int v13; // t1 if ( a3 ) { v5 = *((void **)this + 78); *((_DWORD *)this + 78) = sub_7D2BD6(a2, (const unsigned __int16 *)a2); } else { v5 = *((void **)this + 74); *((_DWORD *)this + 74) = sub_7D2BD6(a2, (const unsigned __int16 *)a2); } if ( v5 ) operator delete[](v5); v6 = *((cocos2d::CCArray **)this + 48); if ( v6 ) { if ( cocos2d::CCArray::count(v6) ) { v7 = *((_DWORD *)this + 48); if ( v7 ) { v8 = *(_DWORD **)(v7 + 52); if ( *v8 ) { v9 = (int *)v8[3]; v10 = &v9[*v8 - 1]; while ( v9 <= v10 ) { v13 = *v9++; v12 = v13; if ( !v13 ) break; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v12 + 172))(v12, 0); } } } } } result = cocos2d::CCLabelBMFont::createFontChars(this); if ( a3 ) return (*(int (__fastcall **)(cocos2d::CCLabelBMFont *))(*(_DWORD *)this + 480))(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source