{"type": "func", "start": 5372835744, "end": 5372835803, "name": "SecretLayer3::onExit", "pseudocode": "// \n// SecretLayer3::onExit from 0x1403ef7a0 to 0x1403ef7db (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405d3b10\n// > <???> @ 0x1406d8108\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 SecretLayer3::onExit(SecretLayer3 *a1)\n{\n  __int64 v1; // rcx\n  cocos2d::CCSpriteFrameCache *v2; // rax\n  cocos2d::CCTextureCache *v3; // rax\n\n  cocos2d::CCLayer::onExit(a1);\n  v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v1);\n  cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v2, \"DungeonSheet.plist\");\n  v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache();\n  cocos2d::CCTextureCache::removeTextureForKey(v3, \"DungeonSheet.png\");\n}", "assembly": "; \n; SecretLayer3::onExit from 0x1403ef7a0 to 0x1403ef7db (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405d3b10\n; > <???> @ 0x1406d8108\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, 0x1403ef7a0\ncall    cs:__imp_?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x4, 0x1403ef7a4\ncall    cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0xa, 0x1403ef7aa\nmov     rcx, rax                                                       ; +0x10, 0x1403ef7b0\nlea     rdx, aDungeonsheetPl; \"DungeonSheet.plist\"                     ; +0x13, 0x1403ef7b3\ncall    cs:?removeSpriteFramesFromFile@CCSpriteFrameCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(char const *) ; +0x1a, 0x1403ef7ba\ncall    cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x20, 0x1403ef7c0\nmov     rcx, rax                                                       ; +0x26, 0x1403ef7c6\nlea     rdx, aDungeonsheetPn; \"DungeonSheet.png\"                       ; +0x29, 0x1403ef7c9\nadd     rsp, 28h                                                       ; +0x30, 0x1403ef7d0\njmp     cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0x34, 0x1403ef7d4", "xrefs": ["<???> @ 0x1405d3b10", "<???> @ 0x1406d8108"], "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"}