; ; cocos2d::CCDisplayLinkDirector::mainLoop from 0x1800c22c0 to 0x1800c2301 (65 bytes) ; ; 2 xrefs: ; > @ 0x18010db40 ; > @ 0x1801c34bc ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:25 +0000 ; sub rsp, 28h ; +0x0, 0x1800c22c0 cmp byte ptr [rcx+0B8h], 0 ; +0x4, 0x1800c22c4 jz short loc_1800C22DD ; +0xb, 0x1800c22cb mov byte ptr [rcx+0B8h], 0 ; +0xd, 0x1800c22cd add rsp, 28h ; +0x14, 0x1800c22d4 jmp ?purgeDirector@CCDirector@cocos2d@@IEAAXXZ; cocos2d::CCDirector::purgeDirector(void) ; +0x18, 0x1800c22d8 cmp byte ptr [rcx+198h], 0 ; +0x1d, 0x1800c22dd jnz short loc_1800C22FC ; +0x24, 0x1800c22e4 call ?drawScene@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::drawScene(void) ; +0x26, 0x1800c22e6 call ?sharedPoolManager@CCPoolManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCPoolManager::sharedPoolManager(void) ; +0x2b, 0x1800c22eb mov rcx, rax; this ; +0x30, 0x1800c22f0 add rsp, 28h ; +0x33, 0x1800c22f3 jmp ?pop@CCPoolManager@cocos2d@@QEAAXXZ; cocos2d::CCPoolManager::pop(void) ; +0x37, 0x1800c22f7 add rsp, 28h ; +0x3c, 0x1800c22fc retn ; +0x40, 0x1800c2300