{"type": "func", "start": 6443246272, "end": 6443246337, "name": "cocos2d::CCDisplayLinkDirector::mainLoop", "pseudocode": "// \n// cocos2d::CCDisplayLinkDirector::mainLoop from 0x1800c22c0 to 0x1800c2301 (65 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18010db40\n// > <???> @ 0x1801c34bc\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 11:22:25 +0000\n// \n\nvoid __fastcall cocos2d::CCDisplayLinkDirector::mainLoop(cocos2d::CCDirector *a1)\n{\n  cocos2d::CCArray **v1; // rax\n\n  if ( *((_BYTE *)a1 + 184) )\n  {\n    *((_BYTE *)a1 + 184) = 0;\n    cocos2d::CCDirector::purgeDirector(a1);\n  }\n  else if ( !*((_BYTE *)a1 + 408) )\n  {\n    cocos2d::CCDirector::drawScene(a1);\n    v1 = (cocos2d::CCArray **)cocos2d::CCPoolManager::sharedPoolManager();\n    cocos2d::CCPoolManager::pop(v1);\n  }\n}", "assembly": "; \n; cocos2d::CCDisplayLinkDirector::mainLoop from 0x1800c22c0 to 0x1800c2301 (65 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18010db40\n; > <???> @ 0x1801c34bc\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 11:22:25 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800c22c0\ncmp     byte ptr [rcx+0B8h], 0                                         ; +0x4, 0x1800c22c4\njz      short loc_1800C22DD                                            ; +0xb, 0x1800c22cb\nmov     byte ptr [rcx+0B8h], 0                                         ; +0xd, 0x1800c22cd\nadd     rsp, 28h                                                       ; +0x14, 0x1800c22d4\njmp     ?purgeDirector@CCDirector@cocos2d@@IEAAXXZ; cocos2d::CCDirector::purgeDirector(void) ; +0x18, 0x1800c22d8\ncmp     byte ptr [rcx+198h], 0                                         ; +0x1d, 0x1800c22dd\njnz     short loc_1800C22FC                                            ; +0x24, 0x1800c22e4\ncall    ?drawScene@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::drawScene(void) ; +0x26, 0x1800c22e6\ncall    ?sharedPoolManager@CCPoolManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCPoolManager::sharedPoolManager(void) ; +0x2b, 0x1800c22eb\nmov     rcx, rax; this                                                 ; +0x30, 0x1800c22f0\nadd     rsp, 28h                                                       ; +0x33, 0x1800c22f3\njmp     ?pop@CCPoolManager@cocos2d@@QEAAXXZ; cocos2d::CCPoolManager::pop(void) ; +0x37, 0x1800c22f7\nadd     rsp, 28h                                                       ; +0x3c, 0x1800c22fc\nretn                                                                   ; +0x40, 0x1800c2300", "xrefs": ["<???> @ 0x18010db40", "<???> @ 0x1801c34bc"], "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"}