{"type": "func", "start": 6443231968, "end": 6443232033, "name": "cocos2d::CCDisplayLinkDirector::mainLoop", "pseudocode": "// \n// cocos2d::CCDisplayLinkDirector::mainLoop from 0x1800beae0 to 0x1800beb21 (65 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801073e8\n// > <???> @ 0x1801b9204\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 cocos2d::CCDisplayLinkDirector::mainLoop(cocos2d::CCDisplayLinkDirector *a1)\n{\n  cocos2d::CCPoolManager *v1; // rax\n\n  if ( a1->m_bPurgeDirecotorInNextLoop )\n  {\n    a1->m_bPurgeDirecotorInNextLoop = 0;\n    cocos2d::CCDirector::purgeDirector(a1);\n  }\n  else if ( !LOBYTE(a1[1].cocos2d::CCDirector::cocos2d::CCObject::cocos2d::CCCopying::__vftable) )\n  {\n    cocos2d::CCDirector::drawScene(a1);\n    v1 = cocos2d::CCPoolManager::sharedPoolManager();\n    cocos2d::CCPoolManager::pop(v1);\n  }\n}", "assembly": "; \n; cocos2d::CCDisplayLinkDirector::mainLoop from 0x1800beae0 to 0x1800beb21 (65 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801073e8\n; > <???> @ 0x1801b9204\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800beae0\ncmp     byte ptr [rcx+0B0h], 0                                         ; +0x4, 0x1800beae4\njz      short loc_1800BEAFD                                            ; +0xb, 0x1800beaeb\nmov     byte ptr [rcx+0B0h], 0                                         ; +0xd, 0x1800beaed\nadd     rsp, 28h                                                       ; +0x14, 0x1800beaf4\njmp     ?purgeDirector@CCDirector@cocos2d@@IEAAXXZ; cocos2d::CCDirector::purgeDirector(void) ; +0x18, 0x1800beaf8\ncmp     byte ptr [rcx+190h], 0                                         ; +0x1d, 0x1800beafd\njnz     short loc_1800BEB1C                                            ; +0x24, 0x1800beb04\ncall    ?drawScene@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::drawScene(void) ; +0x26, 0x1800beb06\ncall    ?sharedPoolManager@CCPoolManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCPoolManager::sharedPoolManager(void) ; +0x2b, 0x1800beb0b\nmov     rcx, rax; this                                                 ; +0x30, 0x1800beb10\nadd     rsp, 28h                                                       ; +0x33, 0x1800beb13\njmp     ?pop@CCPoolManager@cocos2d@@QEAAXXZ; cocos2d::CCPoolManager::pop(void) ; +0x37, 0x1800beb17\nadd     rsp, 28h                                                       ; +0x3c, 0x1800beb1c\nretn                                                                   ; +0x40, 0x1800beb20", "xrefs": ["<???> @ 0x1801073e8", "<???> @ 0x1801b9204"], "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"}