{"type": "func", "start": 6442481840, "end": 6442481975, "name": "cocos2d::CCPoolManager::push", "pseudocode": "// \n// cocos2d::CCPoolManager::push from 0x1800078b0 to 0x180007937 (135 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCPoolManager::addObject @ 0x180007697\n// > cocos2d::CCPoolManager::getCurReleasePool @ 0x1800077c0\n// > cocos2d::CCDirector::init @ 0x1800c221a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7af8\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\n// Hidden C++ exception states: #wind=3\nvoid __fastcall cocos2d::CCPoolManager::push(cocos2d::CCPoolManager *this)\n{\n  cocos2d::CCObject *v2; // rax\n  struct cocos2d::CCObject *v3; // rbx\n  cocos2d::CCArray *v4; // rax\n\n  v2 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);\n  v3 = v2;\n  if ( v2 )\n  {\n    cocos2d::CCObject::CCObject(v2);\n    *(_QWORD *)v3 = &cocos2d::CCAutoreleasePool::`vftable';\n    v4 = (cocos2d::CCArray *)sub_1800E4AC0(0x40u);\n    if ( v4 )\n      v4 = cocos2d::CCArray::CCArray(v4);\n    *((_QWORD *)v3 + 7) = v4;\n    cocos2d::CCArray::init(v4);\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  *((_QWORD *)this + 1) = v3;\n  cocos2d::CCArray::addObject(*(cocos2d::CCArray **)this, v3);\n  cocos2d::CCObject::release(v3);\n}", "assembly": "; \n; cocos2d::CCPoolManager::push from 0x1800078b0 to 0x180007937 (135 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCPoolManager::addObject @ 0x180007697\n; > cocos2d::CCPoolManager::getCurReleasePool @ 0x1800077c0\n; > cocos2d::CCDirector::init @ 0x1800c221a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7af8\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; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800078b0\npush    rdi                                                            ; +0x5, 0x1800078b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800078b6\nmov     rdi, rcx                                                       ; +0xa, 0x1800078ba\nmov     ecx, 40h ; '@'; Size                                           ; +0xd, 0x1800078bd\ncall    sub_1800E4AC0                                                  ; +0x12, 0x1800078c2\nmov     rbx, rax                                                       ; +0x17, 0x1800078c7\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x1800078ca\ntest    rax, rax                                                       ; +0x1f, 0x1800078cf\njz      short loc_180007913                                            ; +0x22, 0x1800078d2\nmov     rcx, rax; this                                                 ; +0x24, 0x1800078d4\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x1800078d7\nnop                                                                    ; +0x2c, 0x1800078dc\nlea     rax, ??_7CCAutoreleasePool@cocos2d@@6B@; const cocos2d::CCAutoreleasePool::`vftable' ; +0x2d, 0x1800078dd\nmov     [rbx], rax                                                     ; +0x34, 0x1800078e4\nmov     ecx, 40h ; '@'; Size                                           ; +0x37, 0x1800078e7\ncall    sub_1800E4AC0                                                  ; +0x3c, 0x1800078ec\nmov     [rsp+28h+arg_8], rax                                           ; +0x41, 0x1800078f1\ntest    rax, rax                                                       ; +0x46, 0x1800078f6\njz      short loc_180007904                                            ; +0x49, 0x1800078f9\nmov     rcx, rax; this                                                 ; +0x4b, 0x1800078fb\ncall    ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void)   ; +0x4e, 0x1800078fe\nnop                                                                    ; +0x53, 0x180007903\nmov     [rbx+38h], rax                                                 ; +0x54, 0x180007904\nmov     rcx, rax; this                                                 ; +0x58, 0x180007908\ncall    ?init@CCArray@cocos2d@@QEAA_NXZ; cocos2d::CCArray::init(void)  ; +0x5b, 0x18000790b\nnop                                                                    ; +0x60, 0x180007910\njmp     short loc_180007916                                            ; +0x61, 0x180007911\nmov     rbx, rax                                                       ; +0x63, 0x180007913\nmov     [rdi+8], rbx                                                   ; +0x66, 0x180007916\nmov     rdx, rbx; struct cocos2d::CCObject *                           ; +0x6a, 0x18000791a\nmov     rcx, [rdi]; this                                               ; +0x6d, 0x18000791d\ncall    ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x70, 0x180007920\nmov     rcx, rbx; this                                                 ; +0x75, 0x180007925\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x78, 0x180007928\nadd     rsp, 20h                                                       ; +0x7d, 0x18000792d\npop     rdi                                                            ; +0x81, 0x180007931\njmp     ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x82, 0x180007932", "xrefs": ["cocos2d::CCPoolManager::addObject @ 0x180007697", "cocos2d::CCPoolManager::getCurReleasePool @ 0x1800077c0", "cocos2d::CCDirector::init @ 0x1800c221a", "<???> @ 0x18014cf68", "<???> @ 0x1801b7af8"], "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"}