; ; GJPathsLayer::onExit from 0x140285160 to 0x1402851b0 (80 bytes) ; ; 2 xrefs: ; > @ 0x14056e218 ; > @ 0x1406d1544 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x140285160 sub rsp, 20h ; +0x2, 0x140285162 mov rbx, rcx ; +0x6, 0x140285166 call cs:__imp_?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x9, 0x140285169 cmp byte ptr [rbx+288h], 0 ; +0xf, 0x14028516f jz short loc_1402851AA ; +0x16, 0x140285176 call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x18, 0x140285178 mov rcx, rax ; +0x1e, 0x14028517e lea rdx, aGjPathsheetPli; "GJ_PathSheet.plist" ; +0x21, 0x140285181 call cs:?removeSpriteFramesFromFile@CCSpriteFrameCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(char const *) ; +0x28, 0x140285188 call cs:?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x2e, 0x14028518e mov rcx, rax ; +0x34, 0x140285194 lea rdx, aGjPathsheetPng; "GJ_PathSheet.png" ; +0x37, 0x140285197 add rsp, 20h ; +0x3e, 0x14028519e pop rbx ; +0x42, 0x1402851a2 jmp cs:?removeTextureForKey@CCTextureCache@cocos2d@@QEAAXPEBD@Z; cocos2d::CCTextureCache::removeTextureForKey(char const *) ; +0x43, 0x1402851a3 add rsp, 20h ; +0x4a, 0x1402851aa pop rbx ; +0x4e, 0x1402851ae retn ; +0x4f, 0x1402851af