{"type": "func", "start": 4298020384, "end": 4298020460, "name": "GJPathsLayer::onExit", "pseudocode": "// \n// GJPathsLayer::onExit from 0x1002e9620 to 0x1002e966c (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b11c80\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 12:28:22 +0000\n// \n\n__int64 __fastcall GJPathsLayer::onExit(__int64 a1, double a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  __int64 v4; // rax\n\n  result = cocos2d::CCLayer::onExit(a1);\n  if ( *(_BYTE *)(a1 + 680) == 1 )\n  {\n    v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a2);\n    cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v3, \"GJ_PathSheet.plist\");\n    v4 = cocos2d::CCTextureCache::sharedTextureCache(v3);\n    return cocos2d::CCTextureCache::removeTextureForKey(v4, \"GJ_PathSheet.png\");\n  }\n  return result;\n}", "assembly": "; \n; GJPathsLayer::onExit from 0x1002e9620 to 0x1002e966c (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b11c80\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 12:28:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002e9620\nmov     rbp, rsp                                                       ; +0x1, 0x1002e9621\npush    rbx                                                            ; +0x4, 0x1002e9624\npush    rax                                                            ; +0x5, 0x1002e9625\nmov     rbx, rdi                                                       ; +0x6, 0x1002e9626\ncall    cocos2d__CCLayer__onExit                                       ; +0x9, 0x1002e9629\ncmp     byte ptr [rbx+2A8h], 1                                         ; +0xe, 0x1002e962e\njnz     short loc_1002E9665                                            ; +0x15, 0x1002e9635\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x17, 0x1002e9637\nlea     rsi, aGjPathsheetPli; \"GJ_PathSheet.plist\"                     ; +0x1c, 0x1002e963c\nmov     rdi, rax                                                       ; +0x23, 0x1002e9643\ncall    cocos2d__CCSpriteFrameCache__removeSpriteFramesFromFile        ; +0x26, 0x1002e9646\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x2b, 0x1002e964b\nlea     rsi, aGjPathsheetPng; \"GJ_PathSheet.png\"                       ; +0x30, 0x1002e9650\nmov     rdi, rax                                                       ; +0x37, 0x1002e9657\nadd     rsp, 8                                                         ; +0x3a, 0x1002e965a\npop     rbx                                                            ; +0x3e, 0x1002e965e\npop     rbp                                                            ; +0x3f, 0x1002e965f\njmp     cocos2d__CCTextureCache__removeTextureForKey                   ; +0x40, 0x1002e9660\nadd     rsp, 8                                                         ; +0x45, 0x1002e9665\npop     rbx                                                            ; +0x49, 0x1002e9669\npop     rbp                                                            ; +0x4a, 0x1002e966a\nretn                                                                   ; +0x4b, 0x1002e966b", "xrefs": ["<???> @ 0x100b11c80"], "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"}