{"type": "func", "start": 6442481296, "end": 6442481381, "name": "cocos2d::CCPoolManager::pop", "pseudocode": "// \n// cocos2d::CCPoolManager::pop from 0x180007690 to 0x1800076e5 (85 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCDirector::~CCDirector @ 0x1800bde69\n// > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800beb17\n// > <???> @ 0x180131808\n// > <???> @ 0x180131818\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801adaa4\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 __fastcall cocos2d::CCPoolManager::pop(cocos2d::CCPoolManager *this)\n{\n  int v2; // edi\n  __int64 v3; // r8\n\n  if ( this->m_pCurReleasePool )\n  {\n    v2 = cocos2d::CCArray::count(this->m_pReleasePoolStack);\n    cocos2d::CCAutoreleasePool::clear(this->m_pCurReleasePool);\n    if ( v2 > 1 )\n    {\n      LOBYTE(v3) = 1;\n      cocos2d::CCArray::removeObjectAtIndex(this->m_pReleasePoolStack, (unsigned int)(v2 - 1), v3);\n      this->m_pCurReleasePool = (cocos2d::CCAutoreleasePool *)cocos2d::CCArray::stringAtIndex(\n                                                                this->m_pReleasePoolStack,\n                                                                v2 - 2);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCPoolManager::pop from 0x180007690 to 0x1800076e5 (85 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCDirector::~CCDirector @ 0x1800bde69\n; > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800beb17\n; > <???> @ 0x180131808\n; > <???> @ 0x180131818\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801adaa4\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\npush    rbx                                                            ; +0x0, 0x180007690\nsub     rsp, 20h                                                       ; +0x2, 0x180007692\ncmp     qword ptr [rcx+8], 0                                           ; +0x6, 0x180007696\nmov     rbx, rcx                                                       ; +0xb, 0x18000769b\njz      short loc_1800076DF                                            ; +0xe, 0x18000769e\nmov     rcx, [rcx]; this                                               ; +0x10, 0x1800076a0\nmov     [rsp+28h+arg_0], rdi                                           ; +0x13, 0x1800076a3\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18, 0x1800076a8\nmov     rcx, [rbx+8]; this                                             ; +0x1d, 0x1800076ad\nmov     edi, eax                                                       ; +0x21, 0x1800076b1\ncall    ?clear@CCAutoreleasePool@cocos2d@@QEAAXXZ; cocos2d::CCAutoreleasePool::clear(void) ; +0x23, 0x1800076b3\ncmp     edi, 1                                                         ; +0x28, 0x1800076b8\njle     short loc_1800076DA                                            ; +0x2b, 0x1800076bb\nmov     rcx, [rbx]; this                                               ; +0x2d, 0x1800076bd\nlea     edx, [rdi-1]; unsigned int                                     ; +0x30, 0x1800076c0\nmov     r8b, 1; bool                                                   ; +0x33, 0x1800076c3\ncall    ?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x36, 0x1800076c6\nmov     rcx, [rbx]; this                                               ; +0x3b, 0x1800076cb\nlea     edx, [rdi-2]; unsigned int                                     ; +0x3e, 0x1800076ce\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x41, 0x1800076d1\nmov     [rbx+8], rax                                                   ; +0x46, 0x1800076d6\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x4a, 0x1800076da\nadd     rsp, 20h                                                       ; +0x4f, 0x1800076df\npop     rbx                                                            ; +0x53, 0x1800076e3\nretn                                                                   ; +0x54, 0x1800076e4", "xrefs": ["cocos2d::CCDirector::~CCDirector @ 0x1800bde69", "cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800beb17", "<???> @ 0x180131808", "<???> @ 0x180131818", "<???> @ 0x1801438a8", "<???> @ 0x1801adaa4"], "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"}