// // cocos2d::CCBMFontConfiguration::purgeKerningDictionary from 0xd55800 to 0xd55990 (400 bytes) // // 2 xrefs: // > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0xd560c0 // > @ 0xffca0 // // 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:43 +0000 // void __fastcall cocos2d::CCBMFontConfiguration::purgeKerningDictionary(cocos2d::CCBMFontConfiguration *this) { _QWORD *v2; // x1 _QWORD *v3; // x20 __int64 v4; // x5 _QWORD *v5; // x0 __int64 v6; // x3 __int64 v7; // x4 __int64 v8; // x2 __int64 v9; // x3 __int64 v10; // x1 __int64 v11; // x2 __int64 v12; // x1 __int64 v13; // x1 __int64 v14; // x2 v2 = *((_QWORD **)this + 14); v3 = v2; if ( v2 ) { while ( 1 ) { v14 = v2[2]; if ( v14 ) break; v7 = v2[3]; if ( v7 ) { v4 = v2[1]; v5 = v2 + 1; v6 = *(_QWORD *)(v4 + 32); if ( v2 != (_QWORD *)(*(_QWORD *)(v4 + 24) - v6) ) { *((_QWORD *)this + 14) = v7; goto LABEL_5; } LABEL_19: *(_QWORD *)(v4 + 24) = v14 + v6; v14 = v2[2]; if ( !v14 ) { v7 = v2[3]; *((_QWORD *)this + 14) = v7; goto LABEL_5; } v2 = *((_QWORD **)this + 14); LABEL_4: *(_QWORD *)(v14 + *(_QWORD *)(v2[1] + 32LL) + 16) = v3[3]; v7 = *((_QWORD *)this + 14); LABEL_5: v8 = v5[2]; if ( v8 ) { *(_QWORD *)(v8 + *(_QWORD *)(*(_QWORD *)(v7 + 8) + 32LL) + 8) = v5[1]; v7 = *((_QWORD *)this + 14); } v9 = *(_QWORD *)(v7 + 8); v10 = 16LL * ((unsigned int)(*(_DWORD *)(v9 + 8) - 1) & *((_DWORD *)v5 + 13)); --*(_DWORD *)(*(_QWORD *)v9 + v10 + 8); v11 = **(_QWORD **)(*((_QWORD *)this + 14) + 8LL); if ( *(_QWORD **)(v11 + v10) == v5 ) *(_QWORD *)(v11 + v10) = v5[4]; v12 = v5[3]; if ( v12 ) *(_QWORD *)(v12 + 32) = v5[4]; v13 = v5[4]; if ( v13 ) *(_QWORD *)(v13 + 24) = v5[3]; --*(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 14) + 8LL) + 16LL); goto LABEL_14; } free(*(void **)v2[1]); free(*(void **)(*((_QWORD *)this + 14) + 8LL)); *((_QWORD *)this + 14) = 0; LABEL_14: free(v3); v3 = *((_QWORD **)this + 14); v2 = v3; if ( !v3 ) return; } v4 = v2[1]; v5 = v2 + 1; v6 = *(_QWORD *)(v4 + 32); if ( v2 == (_QWORD *)(*(_QWORD *)(v4 + 24) - v6) ) goto LABEL_19; goto LABEL_4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source