// // cocos2d::CCBMFontConfiguration::purgeKerningDictionary from 0x7d2e30 to 0x7d2ee6 (182 bytes) // // 1 xrefs: // > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0x7d33f8 // // 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:36 +0000 // void __fastcall cocos2d::CCBMFontConfiguration::purgeKerningDictionary(cocos2d::CCBMFontConfiguration *this) { _DWORD *v2; // r4 int v3; // r7 int v4; // r3 int v5; // r2 int v6; // r1 int v7; // r2 int v8; // r2 _DWORD *v9; // r1 int v10; // r3 int v11; // r2 int v12; // r3 int v13; // r3 while ( 1 ) { v2 = *((_DWORD **)this + 22); if ( !v2 ) break; v3 = v2[3]; v4 = v2[2]; if ( v3 || v2[4] ) { v5 = *(_DWORD *)(v4 + 20); if ( v2 == (_DWORD *)(*(_DWORD *)(v4 + 16) - v5) ) *(_DWORD *)(v4 + 16) = v5 + v3; v6 = v2[3]; v7 = v2[4]; if ( v6 ) *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 22) + 8) + 20) + v6 + 8) = v7; else *((_DWORD *)this + 22) = v7; v8 = v2[4]; if ( v8 ) *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 22) + 8) + 20) + v8 + 4) = v2[3]; v9 = *(_DWORD **)(*((_DWORD *)this + 22) + 8); v10 = 12 * (v2[9] & (v9[1] - 1)); --*(_DWORD *)(*v9 + v10 + 4); v11 = **(_DWORD **)(*((_DWORD *)this + 22) + 8); if ( *(_DWORD **)(v11 + v10) == v2 + 2 ) *(_DWORD *)(v11 + v10) = v2[6]; v12 = v2[5]; if ( v12 ) *(_DWORD *)(v12 + 16) = v2[6]; v13 = v2[6]; if ( v13 ) *(_DWORD *)(v13 + 12) = v2[5]; --*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 22) + 8) + 12); } else { free(*(void **)v4); free(*(void **)(*((_DWORD *)this + 22) + 8)); *((_DWORD *)this + 22) = 0; } free(v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source