// // cocos2d::CCBMFontConfiguration::purgeKerningDictionary from 0x1006a7800 to 0x1006a7936 (310 bytes) // // 1 xrefs: // > cocos2d::CCBMFontConfiguration::dCCBMFontConfiguration @ 0x1006a762c // // 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 12:35:20 +0000 // void __fastcall cocos2d::CCBMFontConfiguration::purgeKerningDictionary(__int64 a1) { __int64 v2; // rdi _QWORD *v3; // rbx void ***v4; // rax __int64 v5; // rdx __int64 v6; // rsi __int64 v7; // rcx __int64 v8; // rsi _QWORD *v9; // r8 __int64 v10; // rcx __int64 *v11; // rcx __int64 v12; // rsi __int64 v13; // rdx __int64 v14; // rax __int64 v15; // rdx v2 = *(_QWORD *)(a1 + 112); if ( v2 ) { v3 = (_QWORD *)(a1 + 112); while ( 1 ) { while ( 1 ) { v4 = (void ***)(v2 + 8); v5 = *(_QWORD *)(v2 + 16); if ( v5 || *(_QWORD *)(v2 + 24) ) break; free(**v4); free(*(void **)(*v3 + 8LL)); *v3 = 0; free((void *)v2); v2 = *v3; if ( !*v3 ) return; } v6 = *(_QWORD *)(v2 + 8); v7 = *(_QWORD *)(v6 + 32); if ( v2 == *(_QWORD *)(v6 + 24) - v7 ) *(_QWORD *)(v6 + 24) = v7 + v5; v8 = *(_QWORD *)(v2 + 24); v9 = (_QWORD *)(v7 + v5 + 16); if ( !v5 ) v9 = v3; v10 = v2; if ( !v5 ) v10 = *(_QWORD *)(v2 + 24); *v9 = v8; v11 = *(__int64 **)(v10 + 8); if ( v8 ) *(_QWORD *)(v11[4] + v8 + 8) = v5; v12 = *v11; v13 = 16LL * (*(_DWORD *)(v2 + 60) & (unsigned int)(*((_DWORD *)v11 + 2) - 1)); --*(_DWORD *)(v12 + v13 + 8); if ( *(void ****)(v12 + v13) == v4 ) break; v14 = *(_QWORD *)(v2 + 32); v15 = *(_QWORD *)(v2 + 40); if ( v14 ) goto LABEL_16; LABEL_17: if ( v15 ) *(_QWORD *)(v15 + 24) = v14; --*((_DWORD *)v11 + 4); free((void *)v2); v2 = *v3; if ( !*v3 ) return; } *(_QWORD *)(v13 + v12) = *(_QWORD *)(v2 + 40); v14 = *(_QWORD *)(v2 + 32); v15 = *(_QWORD *)(v2 + 40); if ( !v14 ) goto LABEL_17; LABEL_16: *(_QWORD *)(v14 + 32) = v15; goto LABEL_17; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source