{"type": "func", "start": 6442744112, "end": 6442744166, "name": "cocos2d::CCLabelBMFont::purgeCachedData", "pseudocode": "// \n// cocos2d::CCLabelBMFont::purgeCachedData from 0x180047930 to 0x180047966 (54 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDirector::purgeDirector @ 0x1800bef26\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b189c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Alternative name is '?FNTConfigRemoveCache@cocos2d@@YAXXZ'\nvoid __fastcall cocos2d::CCLabelBMFont::purgeCachedData()\n{\n  if ( qword_1801A83B8 )\n  {\n    cocos2d::CCDictionary::removeAllObjects((cocos2d::CCDictionary *)qword_1801A83B8);\n    if ( qword_1801A83B8 )\n    {\n      cocos2d::CCObject::release(qword_1801A83B8);\n      qword_1801A83B8 = nullptr;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCLabelBMFont::purgeCachedData from 0x180047930 to 0x180047966 (54 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDirector::purgeDirector @ 0x1800bef26\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b189c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x180047930\nmov     rcx, cs:qword_1801A83B8; this                                  ; +0x4, 0x180047934\ntest    rcx, rcx                                                       ; +0xb, 0x18004793b\njz      short loc_180047961                                            ; +0xe, 0x18004793e\ncall    ?removeAllObjects@CCDictionary@cocos2d@@QEAAXXZ; cocos2d::CCDictionary::removeAllObjects(void) ; +0x10, 0x180047940\nmov     rcx, cs:qword_1801A83B8; this                                  ; +0x15, 0x180047945\ntest    rcx, rcx                                                       ; +0x1c, 0x18004794c\njz      short loc_180047961                                            ; +0x1f, 0x18004794f\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x21, 0x180047951\nmov     cs:qword_1801A83B8, 0                                          ; +0x26, 0x180047956\nadd     rsp, 28h                                                       ; +0x31, 0x180047961\nretn                                                                   ; +0x35, 0x180047965", "xrefs": ["cocos2d::CCDirector::purgeDirector @ 0x1800bef26", "<???> @ 0x1801438a8", "<???> @ 0x1801b189c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}