; ; cocos2d::CCDirector::purgeDirector from 0x1800bee50 to 0x1800bef83 (307 bytes) ; ; 3 xrefs: ; > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800beaf8 ; > @ 0x1801438a8 ; > @ 0x1801b9264 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800bee50 push rdi ; +0x5, 0x1800bee55 sub rsp, 20h ; +0x6, 0x1800bee56 mov rax, [rcx] ; +0xa, 0x1800bee5a mov rbx, rcx ; +0xd, 0x1800bee5d call qword ptr [rax+70h] ; +0x10, 0x1800bee60 mov rcx, rax; this ; +0x13, 0x1800bee63 call ?unscheduleAll@CCScheduler@cocos2d@@QEAAXXZ; cocos2d::CCScheduler::unscheduleAll(void) ; +0x16, 0x1800bee66 mov rcx, [rbx+78h]; this ; +0x1b, 0x1800bee6b call ?removeAllDelegates@CCTouchDispatcher@cocos2d@@QEAAXXZ; cocos2d::CCTouchDispatcher::removeAllDelegates(void) ; +0x1f, 0x1800bee6f mov rcx, [rbx+108h] ; +0x24, 0x1800bee74 test rcx, rcx ; +0x2b, 0x1800bee7b jz short loc_1800BEEB5 ; +0x2e, 0x1800bee7e mov rax, [rcx] ; +0x30, 0x1800bee80 call qword ptr [rax+2C0h] ; +0x33, 0x1800bee83 mov rcx, [rbx+108h] ; +0x39, 0x1800bee89 mov rax, [rcx] ; +0x40, 0x1800bee90 call qword ptr [rax+2B8h] ; +0x43, 0x1800bee93 mov rcx, [rbx+108h] ; +0x49, 0x1800bee99 mov rax, [rcx] ; +0x50, 0x1800beea0 call qword ptr [rax+2C8h] ; +0x53, 0x1800beea3 mov rcx, [rbx+108h]; this ; +0x59, 0x1800beea9 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x60, 0x1800beeb0 mov rcx, [rbx+120h]; this ; +0x65, 0x1800beeb5 xor edi, edi ; +0x6c, 0x1800beebc mov [rbx+108h], rdi ; +0x6e, 0x1800beebe mov [rbx+110h], rdi ; +0x75, 0x1800beec5 mov [rbx+60h], rdi ; +0x7c, 0x1800beecc call ?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x80, 0x1800beed0 mov rax, [rbx] ; +0x85, 0x1800beed5 mov rcx, rbx ; +0x88, 0x1800beed8 call qword ptr [rax+58h] ; +0x8b, 0x1800beedb mov rcx, [rbx+0E0h]; this ; +0x8e, 0x1800beede test rcx, rcx ; +0x95, 0x1800beee5 jz short loc_1800BEEF6 ; +0x98, 0x1800beee8 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x9a, 0x1800beeea mov [rbx+0E0h], rdi ; +0x9f, 0x1800beeef mov rcx, [rbx+0E8h]; this ; +0xa6, 0x1800beef6 test rcx, rcx ; +0xad, 0x1800beefd jz short loc_1800BEF0E ; +0xb0, 0x1800bef00 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xb2, 0x1800bef02 mov [rbx+0E8h], rdi ; +0xb7, 0x1800bef07 mov rcx, [rbx+0F0h]; this ; +0xbe, 0x1800bef0e test rcx, rcx ; +0xc5, 0x1800bef15 jz short loc_1800BEF26 ; +0xc8, 0x1800bef18 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xca, 0x1800bef1a mov [rbx+0F0h], rdi ; +0xcf, 0x1800bef1f call ?purgeCachedData@CCLabelBMFont@cocos2d@@SAXXZ; cocos2d::CCLabelBMFont::purgeCachedData(void) ; +0xd6, 0x1800bef26 call ?ccDrawFree@cocos2d@@YAXXZ; cocos2d::ccDrawFree(void) ; +0xdb, 0x1800bef2b call ?purgeSharedAnimationCache@CCAnimationCache@cocos2d@@SAXXZ; cocos2d::CCAnimationCache::purgeSharedAnimationCache(void) ; +0xe0, 0x1800bef30 call ?purgeSharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAXXZ; cocos2d::CCSpriteFrameCache::purgeSharedSpriteFrameCache(void) ; +0xe5, 0x1800bef35 call ?purgeSharedTextureCache@CCTextureCache@cocos2d@@SAXXZ; cocos2d::CCTextureCache::purgeSharedTextureCache(void) ; +0xea, 0x1800bef3a call ?purgeSharedShaderCache@CCShaderCache@cocos2d@@SAXXZ; cocos2d::CCShaderCache::purgeSharedShaderCache(void) ; +0xef, 0x1800bef3f call ?purgeFileUtils@CCFileUtils@cocos2d@@SAXXZ; cocos2d::CCFileUtils::purgeFileUtils(void) ; +0xf4, 0x1800bef44 call ?purgeConfiguration@CCConfiguration@cocos2d@@SAXXZ; cocos2d::CCConfiguration::purgeConfiguration(void) ; +0xf9, 0x1800bef49 call ?purgeSharedUserDefault@CCUserDefault@cocos2d@@SAXXZ; cocos2d::CCUserDefault::purgeSharedUserDefault(void) ; +0xfe, 0x1800bef4e call ?purgeNotificationCenter@CCNotificationCenter@cocos2d@@SAXXZ; cocos2d::CCNotificationCenter::purgeNotificationCenter(void) ; +0x103, 0x1800bef53 call ?ccGLInvalidateStateCache@cocos2d@@YAXXZ; cocos2d::ccGLInvalidateStateCache(void) ; +0x108, 0x1800bef58 mov rcx, [rbx+0B8h] ; +0x10d, 0x1800bef5d mov rax, [rcx] ; +0x114, 0x1800bef64 call qword ptr [rax+8] ; +0x117, 0x1800bef67 mov rcx, rbx; this ; +0x11a, 0x1800bef6a mov [rbx+0B8h], rdi ; +0x11d, 0x1800bef6d mov rbx, [rsp+28h+arg_0] ; +0x124, 0x1800bef74 add rsp, 20h ; +0x129, 0x1800bef79 pop rdi ; +0x12d, 0x1800bef7d jmp ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x12e, 0x1800bef7e