{"type": "func", "start": 6443145264, "end": 6443145304, "name": "cocos2d::CCTextureCache::removeTexture", "pseudocode": "// \n// cocos2d::CCTextureCache::removeTexture from 0x1800a9830 to 0x1800a9858 (40 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7ecc\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\nvoid __fastcall cocos2d::CCTextureCache::removeTexture(cocos2d::CCTextureCache *this, struct cocos2d::CCTexture2D *a2)\n{\n  struct cocos2d::CCArray *v3; // rax\n\n  if ( a2 )\n  {\n    v3 = cocos2d::CCDictionary::allKeysForObject(this->m_pTextures, a2);\n    cocos2d::CCDictionary::removeObjectsForKeys(this->m_pTextures, v3);\n  }\n}", "assembly": "; \n; cocos2d::CCTextureCache::removeTexture from 0x1800a9830 to 0x1800a9858 (40 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7ecc\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\ntest    rdx, rdx                                                       ; +0x0, 0x1800a9830\njz      short locret_1800A9857                                         ; +0x3, 0x1800a9833\npush    rbx                                                            ; +0x5, 0x1800a9835\nsub     rsp, 20h                                                       ; +0x6, 0x1800a9836\nmov     rbx, rcx                                                       ; +0xa, 0x1800a983a\nmov     rcx, [rcx+38h]; this                                           ; +0xd, 0x1800a983d\ncall    ?allKeysForObject@CCDictionary@cocos2d@@QEAAPEAVCCArray@2@PEAVCCObject@2@@Z; cocos2d::CCDictionary::allKeysForObject(cocos2d::CCObject *) ; +0x11, 0x1800a9841\nmov     rcx, [rbx+38h]; this                                           ; +0x16, 0x1800a9846\nmov     rdx, rax; struct cocos2d::CCArray *                            ; +0x1a, 0x1800a984a\ncall    ?removeObjectsForKeys@CCDictionary@cocos2d@@QEAAXPEAVCCArray@2@@Z; cocos2d::CCDictionary::removeObjectsForKeys(cocos2d::CCArray *) ; +0x1d, 0x1800a984d\nadd     rsp, 20h                                                       ; +0x22, 0x1800a9852\npop     rbx                                                            ; +0x26, 0x1800a9856\nretn                                                                   ; +0x27, 0x1800a9857", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b7ecc"], "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"}