{"type": "func", "start": 6442481632, "end": 6442481717, "name": "cocos2d::CCPoolManager::pop", "pseudocode": "// \n// cocos2d::CCPoolManager::pop from 0x1800077e0 to 0x180007835 (85 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCDirector::~CCDirector @ 0x1800c1689\n// > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22f7\n// > <???> @ 0x18013a670\n// > <???> @ 0x18013a680\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7ac8\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:21:18 +0000\n// \n\nvoid __fastcall cocos2d::CCPoolManager::pop(cocos2d::CCArray **this)\n{\n  int v2; // edi\n  __int64 v3; // r8\n\n  if ( *(this + 1) )\n  {\n    v2 = cocos2d::CCArray::count(*this);\n    cocos2d::CCAutoreleasePool::clear(*(this + 1));\n    if ( v2 > 1 )\n    {\n      LOBYTE(v3) = 1;\n      cocos2d::CCArray::removeObjectAtIndex(*this, (unsigned int)(v2 - 1), v3);\n      *(this + 1) = cocos2d::CCArray::stringAtIndex(*this, v2 - 2);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCPoolManager::pop from 0x1800077e0 to 0x180007835 (85 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCDirector::~CCDirector @ 0x1800c1689\n; > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22f7\n; > <???> @ 0x18013a670\n; > <???> @ 0x18013a680\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7ac8\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:21:18 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800077e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800077e2\ncmp     qword ptr [rcx+8], 0                                           ; +0x6, 0x1800077e6\nmov     rbx, rcx                                                       ; +0xb, 0x1800077eb\njz      short loc_18000782F                                            ; +0xe, 0x1800077ee\nmov     rcx, [rcx]; this                                               ; +0x10, 0x1800077f0\nmov     [rsp+28h+arg_0], rdi                                           ; +0x13, 0x1800077f3\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18, 0x1800077f8\nmov     rcx, [rbx+8]; this                                             ; +0x1d, 0x1800077fd\nmov     edi, eax                                                       ; +0x21, 0x180007801\ncall    ?clear@CCAutoreleasePool@cocos2d@@QEAAXXZ; cocos2d::CCAutoreleasePool::clear(void) ; +0x23, 0x180007803\ncmp     edi, 1                                                         ; +0x28, 0x180007808\njle     short loc_18000782A                                            ; +0x2b, 0x18000780b\nmov     rcx, [rbx]; this                                               ; +0x2d, 0x18000780d\nlea     edx, [rdi-1]; unsigned int                                     ; +0x30, 0x180007810\nmov     r8b, 1; bool                                                   ; +0x33, 0x180007813\ncall    ?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x36, 0x180007816\nmov     rcx, [rbx]; this                                               ; +0x3b, 0x18000781b\nlea     edx, [rdi-2]; unsigned int                                     ; +0x3e, 0x18000781e\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x41, 0x180007821\nmov     [rbx+8], rax                                                   ; +0x46, 0x180007826\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x4a, 0x18000782a\nadd     rsp, 20h                                                       ; +0x4f, 0x18000782f\npop     rbx                                                            ; +0x53, 0x180007833\nretn                                                                   ; +0x54, 0x180007834", "xrefs": ["cocos2d::CCDirector::~CCDirector @ 0x1800c1689", "cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22f7", "<???> @ 0x18013a670", "<???> @ 0x18013a680", "<???> @ 0x18014cf68", "<???> @ 0x1801b7ac8"], "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"}