// // cocos2d::CCBMFontConfiguration::purgeFontDefDictionary from 0xd55990 to 0xd55b30 (416 bytes) // // 2 xrefs: // > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0xd560b8 // > @ 0x6b398 // // 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::purgeFontDefDictionary(cocos2d::CCBMFontConfiguration *this) { _QWORD *v1; // x19 _QWORD *v3; // x21 __int64 v4; // x1 __int64 v5; // x4 _QWORD *v6; // x1 __int64 v7; // x2 __int64 v8; // x3 __int64 v9; // x2 __int64 v10; // x0 __int64 v11; // x2 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 v1 = *((_QWORD **)this + 7); if ( v1 ) { v3 = (_QWORD *)v1[6]; v4 = *((_QWORD *)this + 7); while ( 1 ) { v15 = v1[5]; if ( !v15 ) break; v5 = *(_QWORD *)(v4 + 32); v6 = v1 + 4; v7 = *(_QWORD *)(v5 + 32); if ( v1 == (_QWORD *)(*(_QWORD *)(v5 + 24) - v7) ) goto LABEL_20; LABEL_4: *(_QWORD *)(v15 + v7 + 16) = v1[6]; v8 = *((_QWORD *)this + 7); LABEL_5: v9 = v6[2]; if ( v9 ) { *(_QWORD *)(v9 + *(_QWORD *)(*(_QWORD *)(v8 + 32) + 32LL) + 8) = v6[1]; v8 = *((_QWORD *)this + 7); } v10 = *(_QWORD *)(v8 + 32); v11 = 16LL * ((unsigned int)(*(_DWORD *)(v10 + 8) - 1) & *((_DWORD *)v6 + 13)); --*(_DWORD *)(*(_QWORD *)v10 + v11 + 8); v12 = **(_QWORD **)(*((_QWORD *)this + 7) + 32LL); if ( *(_QWORD **)(v12 + v11) == v6 ) *(_QWORD *)(v12 + v11) = v6[4]; v13 = v6[3]; if ( v13 ) *(_QWORD *)(v13 + 32) = v6[4]; v14 = v6[4]; if ( v14 ) *(_QWORD *)(v14 + 24) = v6[3]; --*(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 32LL) + 16LL); LABEL_14: free(v1); if ( !v3 ) return; v1 = v3; v4 = *((_QWORD *)this + 7); v3 = (_QWORD *)v3[6]; } v8 = v1[6]; if ( !v8 ) { free(**(void ***)(v4 + 32)); free(*(void **)(*((_QWORD *)this + 7) + 32LL)); *((_QWORD *)this + 7) = 0; goto LABEL_14; } v5 = *(_QWORD *)(v4 + 32); v6 = v1 + 4; v7 = *(_QWORD *)(v5 + 32); if ( v1 != (_QWORD *)(*(_QWORD *)(v5 + 24) - v7) ) { *((_QWORD *)this + 7) = v8; goto LABEL_5; } LABEL_20: *(_QWORD *)(v5 + 24) = v15 + v7; v15 = v1[5]; if ( !v15 ) { v8 = v1[6]; *((_QWORD *)this + 7) = v8; goto LABEL_5; } v7 = *(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 32LL) + 32LL); goto LABEL_4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source