{"type": "func", "start": 6442748048, "end": 6442748272, "name": "cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration", "pseudocode": "// \n// cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration from 0x180048890 to 0x180048970 (224 bytes)\n// \n// 6 xrefs:\n// > sub_180048A60 @ 0x180048abe\n// > sub_180048A60 @ 0x180048a7c\n// > <???> @ 0x1801406d8\n// > <???> @ 0x1801406e8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bba64\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:41 +0000\n// \n\nvoid __fastcall cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration(cocos2d::CCBMFontConfiguration *this)\n{\n  _BYTE *v2; // rax\n  void **v3; // rdi\n  _QWORD *v4; // rbx\n  void *v5; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCBMFontConfiguration::`vftable';\n  cocos2d::CCBMFontConfiguration::purgeFontDefDictionary(this);\n  cocos2d::CCBMFontConfiguration::purgeKerningDictionary(this);\n  *((_QWORD *)this + 13) = 0;\n  v2 = (char *)this + 88;\n  if ( *((_QWORD *)this + 14) > 0xFu )\n    v2 = *((_BYTE **)this + 11);\n  *v2 = 0;\n  v3 = *((void ***)this + 16);\n  if ( v3 )\n  {\n    v4 = *((_QWORD **)*v3 + 1);\n    while ( !*((_BYTE *)v4 + 25) )\n    {\n      sub_1800482A0((__int64)v3, (__int64)v3, v4[2]);\n      v5 = v4;\n      v4 = (_QWORD *)*v4;\n      j_j_free_0(v5);\n    }\n    j_j_free_0(*v3);\n    j_j_free_0(v3);\n    *((_QWORD *)this + 16) = 0;\n  }\n  sub_180005C70((__int64)this + 88);\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration from 0x180048890 to 0x180048970 (224 bytes)\n; \n; 6 xrefs:\n; > sub_180048A60 @ 0x180048abe\n; > sub_180048A60 @ 0x180048a7c\n; > <???> @ 0x1801406d8\n; > <???> @ 0x1801406e8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bba64\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:41 +0000\n; \nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x180048890\nmov     [rsp+arg_10], rdi                                              ; +0x5, 0x180048895\npush    r14                                                            ; +0xa, 0x18004889a\nsub     rsp, 20h                                                       ; +0xc, 0x18004889c\nlea     rax, ??_7CCBMFontConfiguration@cocos2d@@6B@; const cocos2d::CCBMFontConfiguration::`vftable' ; +0x10, 0x1800488a0\nmov     rsi, rcx                                                       ; +0x17, 0x1800488a7\nmov     [rcx], rax                                                     ; +0x1a, 0x1800488aa\ncall    ?purgeFontDefDictionary@CCBMFontConfiguration@cocos2d@@AEAAXXZ; cocos2d::CCBMFontConfiguration::purgeFontDefDictionary(void) ; +0x1d, 0x1800488ad\nmov     rcx, rsi; this                                                 ; +0x22, 0x1800488b2\ncall    ?purgeKerningDictionary@CCBMFontConfiguration@cocos2d@@AEAAXXZ; cocos2d::CCBMFontConfiguration::purgeKerningDictionary(void) ; +0x25, 0x1800488b5\nmov     qword ptr [rsi+68h], 0                                         ; +0x2a, 0x1800488ba\nlea     rax, [rsi+58h]                                                 ; +0x32, 0x1800488c2\ncmp     qword ptr [rsi+70h], 0Fh                                       ; +0x36, 0x1800488c6\njbe     short loc_1800488D1                                            ; +0x3b, 0x1800488cb\nmov     rax, [rsi+58h]                                                 ; +0x3d, 0x1800488cd\nmov     byte ptr [rax], 0                                              ; +0x41, 0x1800488d1\nmov     rdi, [rsi+80h]                                                 ; +0x44, 0x1800488d4\ntest    rdi, rdi                                                       ; +0x4b, 0x1800488db\njz      short loc_18004894F                                            ; +0x4e, 0x1800488de\nmov     rax, [rdi]                                                     ; +0x50, 0x1800488e0\nmov     [rsp+28h+arg_0], rbx                                           ; +0x53, 0x1800488e3\nmov     rbx, [rax+8]                                                   ; +0x58, 0x1800488e8\ncmp     byte ptr [rbx+19h], 0                                          ; +0x5c, 0x1800488ec\njnz     short loc_180048925                                            ; +0x60, 0x1800488f0\nnop     dword ptr [rax+00h]                                            ; +0x62, 0x1800488f2\nnop     word ptr [rax+rax+00000000h]                                   ; +0x66, 0x1800488f6\nmov     r8, [rbx+10h]                                                  ; +0x70, 0x180048900\nmov     rdx, rdi                                                       ; +0x74, 0x180048904\nmov     rcx, rdi                                                       ; +0x77, 0x180048907\ncall    sub_1800482A0                                                  ; +0x7a, 0x18004890a\nmov     rcx, rbx; Block                                                ; +0x7f, 0x18004890f\nmov     edx, 20h ; ' '                                                 ; +0x82, 0x180048912\nmov     rbx, [rbx]                                                     ; +0x87, 0x180048917\ncall    j_j_free_0                                                     ; +0x8a, 0x18004891a\ncmp     byte ptr [rbx+19h], 0                                          ; +0x8f, 0x18004891f\njz      short loc_180048900                                            ; +0x93, 0x180048923\nmov     rcx, [rdi]; Block                                              ; +0x95, 0x180048925\nmov     edx, 20h ; ' '                                                 ; +0x98, 0x180048928\ncall    j_j_free_0                                                     ; +0x9d, 0x18004892d\nmov     edx, 10h                                                       ; +0xa2, 0x180048932\nmov     rcx, rdi; Block                                                ; +0xa7, 0x180048937\ncall    j_j_free_0                                                     ; +0xaa, 0x18004893a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xaf, 0x18004893f\nmov     qword ptr [rsi+80h], 0                                         ; +0xb4, 0x180048944\nlea     rcx, [rsi+58h]                                                 ; +0xbf, 0x18004894f\ncall    sub_180005C70                                                  ; +0xc3, 0x180048953\nmov     rcx, rsi; this                                                 ; +0xc8, 0x180048958\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xcb, 0x18004895b\nmov     rdi, [rsp+28h+arg_10]                                          ; +0xd0, 0x180048960\nadd     rsp, 20h                                                       ; +0xd5, 0x180048965\npop     r14                                                            ; +0xd9, 0x180048969\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0xdb, 0x18004896b", "xrefs": ["sub_180048A60 @ 0x180048abe", "sub_180048A60 @ 0x180048a7c", "<???> @ 0x1801406d8", "<???> @ 0x1801406e8", "<???> @ 0x18014cf68", "<???> @ 0x1801bba64"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}