{"type": "func", "start": 4298107568, "end": 4298107644, "name": "GJPathsLayer::onExit", "pseudocode": "// \n// GJPathsLayer::onExit from 0x1002feab0 to 0x1002feafc (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10090a468\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 GJPathsLayer::onExit(GJPathsLayer *a1)\n{\n  cocos2d::CCSpriteFrameCache *v1; // rax\n  cocos2d::CCTextureCache *v2; // rax\n\n  cocos2d::CCLayer::onExit(a1);\n  if ( a1->m_exiting )\n  {\n    v1 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n    cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v1, \"GJ_PathSheet.plist\");\n    v2 = cocos2d::CCTextureCache::sharedTextureCache();\n    cocos2d::CCTextureCache::removeTextureForKey(v2, \"GJ_PathSheet.png\");\n  }\n}", "assembly": "; \n; GJPathsLayer::onExit from 0x1002feab0 to 0x1002feafc (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10090a468\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\npush    rbp                                                            ; +0x0, 0x1002feab0\nmov     rbp, rsp                                                       ; +0x1, 0x1002feab1\npush    rbx                                                            ; +0x4, 0x1002feab4\npush    rax                                                            ; +0x5, 0x1002feab5\nmov     rbx, rdi                                                       ; +0x6, 0x1002feab6\ncall    cocos2d__CCLayer__onExit                                       ; +0x9, 0x1002feab9\ncmp     byte ptr [rbx+288h], 1                                         ; +0xe, 0x1002feabe\njnz     short loc_1002FEAF5                                            ; +0x15, 0x1002feac5\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x17, 0x1002feac7\nlea     rsi, aGjPathsheetPli; \"GJ_PathSheet.plist\"                     ; +0x1c, 0x1002feacc\nmov     rdi, rax                                                       ; +0x23, 0x1002fead3\ncall    cocos2d__CCSpriteFrameCache__removeSpriteFramesFromFile        ; +0x26, 0x1002fead6\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x2b, 0x1002feadb\nlea     rsi, aGjPathsheetPng; \"GJ_PathSheet.png\"                       ; +0x30, 0x1002feae0\nmov     rdi, rax                                                       ; +0x37, 0x1002feae7\nadd     rsp, 8                                                         ; +0x3a, 0x1002feaea\npop     rbx                                                            ; +0x3e, 0x1002feaee\npop     rbp                                                            ; +0x3f, 0x1002feaef\njmp     cocos2d__CCTextureCache__removeTextureForKey                   ; +0x40, 0x1002feaf0\nadd     rsp, 8                                                         ; +0x45, 0x1002feaf5\npop     rbx                                                            ; +0x49, 0x1002feaf9\npop     rbp                                                            ; +0x4a, 0x1002feafa\nretn                                                                   ; +0x4b, 0x1002feafb", "xrefs": ["<???> @ 0x10090a468"], "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"}