{"type": "func", "start": 6442481504, "end": 6442481639, "name": "cocos2d::CCPoolManager::push", "pseudocode": "// \n// cocos2d::CCPoolManager::push from 0x180007760 to 0x1800077e7 (135 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCPoolManager::addObject @ 0x180007547\n// > cocos2d::CCPoolManager::getCurReleasePool @ 0x180007670\n// > cocos2d::CCDirector::init @ 0x1800bea42\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801adad4\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\n// Hidden C++ exception states: #wind=3\nvoid __fastcall cocos2d::CCPoolManager::push(cocos2d::CCPoolManager *this)\n{\n  cocos2d::CCObject *v2; // rax\n  cocos2d::CCAutoreleasePool *v3; // rbx\n  cocos2d::CCArray *v4; // rax\n\n  v2 = (cocos2d::CCObject *)operator new(0x40u);\n  v3 = (cocos2d::CCAutoreleasePool *)v2;\n  if ( v2 )\n  {\n    cocos2d::CCObject::CCObject(v2);\n    v3->__vftable = (cocos2d::CCAutoreleasePool_vtbl *)&cocos2d::CCAutoreleasePool::`vftable';\n    v4 = (cocos2d::CCArray *)operator new(0x40u);\n    if ( v4 )\n      v4 = cocos2d::CCArray::CCArray(v4);\n    v3->m_pManagedObjectArray = v4;\n    cocos2d::CCArray::init(v4);\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  this->m_pCurReleasePool = v3;\n  cocos2d::CCArray::addObject(this->m_pReleasePoolStack, v3);\n  cocos2d::CCObject::release(v3);\n}", "assembly": "; \n; cocos2d::CCPoolManager::push from 0x180007760 to 0x1800077e7 (135 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCPoolManager::addObject @ 0x180007547\n; > cocos2d::CCPoolManager::getCurReleasePool @ 0x180007670\n; > cocos2d::CCDirector::init @ 0x1800bea42\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801adad4\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x180007760\npush    rdi                                                            ; +0x5, 0x180007765\nsub     rsp, 20h                                                       ; +0x6, 0x180007766\nmov     rdi, rcx                                                       ; +0xa, 0x18000776a\nmov     ecx, 40h ; '@'; Size                                           ; +0xd, 0x18000776d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x180007772\nmov     rbx, rax                                                       ; +0x17, 0x180007777\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x18000777a\ntest    rax, rax                                                       ; +0x1f, 0x18000777f\njz      short loc_1800077C3                                            ; +0x22, 0x180007782\nmov     rcx, rax; this                                                 ; +0x24, 0x180007784\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x180007787\nnop                                                                    ; +0x2c, 0x18000778c\nlea     rax, ??_7CCAutoreleasePool@cocos2d@@6B@; const cocos2d::CCAutoreleasePool::`vftable' ; +0x2d, 0x18000778d\nmov     [rbx], rax                                                     ; +0x34, 0x180007794\nmov     ecx, 40h ; '@'; Size                                           ; +0x37, 0x180007797\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3c, 0x18000779c\nmov     [rsp+28h+arg_8], rax                                           ; +0x41, 0x1800077a1\ntest    rax, rax                                                       ; +0x46, 0x1800077a6\njz      short loc_1800077B4                                            ; +0x49, 0x1800077a9\nmov     rcx, rax; this                                                 ; +0x4b, 0x1800077ab\ncall    ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void)   ; +0x4e, 0x1800077ae\nnop                                                                    ; +0x53, 0x1800077b3\nmov     [rbx+38h], rax                                                 ; +0x54, 0x1800077b4\nmov     rcx, rax; this                                                 ; +0x58, 0x1800077b8\ncall    ?init@CCArray@cocos2d@@QEAA_NXZ; cocos2d::CCArray::init(void)  ; +0x5b, 0x1800077bb\nnop                                                                    ; +0x60, 0x1800077c0\njmp     short loc_1800077C6                                            ; +0x61, 0x1800077c1\nmov     rbx, rax                                                       ; +0x63, 0x1800077c3\nmov     [rdi+8], rbx                                                   ; +0x66, 0x1800077c6\nmov     rdx, rbx; struct cocos2d::CCObject *                           ; +0x6a, 0x1800077ca\nmov     rcx, [rdi]; this                                               ; +0x6d, 0x1800077cd\ncall    ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x70, 0x1800077d0\nmov     rcx, rbx; this                                                 ; +0x75, 0x1800077d5\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x78, 0x1800077d8\nadd     rsp, 20h                                                       ; +0x7d, 0x1800077dd\npop     rdi                                                            ; +0x81, 0x1800077e1\njmp     ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x82, 0x1800077e2", "xrefs": ["cocos2d::CCPoolManager::addObject @ 0x180007547", "cocos2d::CCPoolManager::getCurReleasePool @ 0x180007670", "cocos2d::CCDirector::init @ 0x1800bea42", "<???> @ 0x1801438a8", "<???> @ 0x1801adad4"], "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"}