{"type": "func", "start": 6442482144, "end": 6442482253, "name": "cocos2d::CCPoolManager::sharedPoolManager", "pseudocode": "// \n// cocos2d::CCPoolManager::sharedPoolManager from 0x1800079e0 to 0x180007a4d (109 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCObject::~CCObject @ 0x18000ea1d\n// > cocos2d::CCObject::autorelease @ 0x18000eb39\n// > cocos2d::CCDirector::~CCDirector @ 0x1800c1681\n// > cocos2d::CCDirector::init @ 0x1800c2212\n// > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22eb\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7b1c\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=2\nstruct cocos2d::CCPoolManager *__fastcall cocos2d::CCPoolManager::sharedPoolManager()\n{\n  struct cocos2d::CCPoolManager *result; // rax\n  cocos2d::CCArray **v1; // rbx\n  cocos2d::CCArray *v2; // rax\n\n  result = Block;\n  if ( !Block )\n  {\n    v1 = (cocos2d::CCArray **)sub_1800E4AC0(0x10u);\n    if ( v1 )\n    {\n      v2 = (cocos2d::CCArray *)sub_1800E4AC0(0x40u);\n      if ( v2 )\n        v2 = cocos2d::CCArray::CCArray(v2);\n      *v1 = v2;\n      cocos2d::CCArray::init(v2);\n      v1[1] = nullptr;\n    }\n    else\n    {\n      v1 = nullptr;\n    }\n    Block = (cocos2d::CCPoolManager *)v1;\n    return (struct cocos2d::CCPoolManager *)v1;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCPoolManager::sharedPoolManager from 0x1800079e0 to 0x180007a4d (109 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCObject::~CCObject @ 0x18000ea1d\n; > cocos2d::CCObject::autorelease @ 0x18000eb39\n; > cocos2d::CCDirector::~CCDirector @ 0x1800c1681\n; > cocos2d::CCDirector::init @ 0x1800c2212\n; > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22eb\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7b1c\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, 0x1800079e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800079e2\nmov     rax, cs:Block                                                  ; +0x6, 0x1800079e6\ntest    rax, rax                                                       ; +0xd, 0x1800079ed\njnz     short loc_180007A47                                            ; +0x10, 0x1800079f0\nmov     ecx, 10h; Size                                                 ; +0x12, 0x1800079f2\ncall    sub_1800E4AC0                                                  ; +0x17, 0x1800079f7\nmov     rbx, rax                                                       ; +0x1c, 0x1800079fc\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1800079ff\ntest    rax, rax                                                       ; +0x24, 0x180007a04\njz      short loc_180007A3B                                            ; +0x27, 0x180007a07\nmov     ecx, 40h ; '@'; Size                                           ; +0x29, 0x180007a09\ncall    sub_1800E4AC0                                                  ; +0x2e, 0x180007a0e\nmov     [rsp+28h+arg_8], rax                                           ; +0x33, 0x180007a13\ntest    rax, rax                                                       ; +0x38, 0x180007a18\njz      short loc_180007A26                                            ; +0x3b, 0x180007a1b\nmov     rcx, rax; this                                                 ; +0x3d, 0x180007a1d\ncall    ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void)   ; +0x40, 0x180007a20\nnop                                                                    ; +0x45, 0x180007a25\nmov     [rbx], rax                                                     ; +0x46, 0x180007a26\nmov     rcx, rax; this                                                 ; +0x49, 0x180007a29\ncall    ?init@CCArray@cocos2d@@QEAA_NXZ; cocos2d::CCArray::init(void)  ; +0x4c, 0x180007a2c\nmov     qword ptr [rbx+8], 0                                           ; +0x51, 0x180007a31\njmp     short loc_180007A3D                                            ; +0x59, 0x180007a39\nxor     ebx, ebx                                                       ; +0x5b, 0x180007a3b\nmov     cs:Block, rbx                                                  ; +0x5d, 0x180007a3d\nmov     rax, rbx                                                       ; +0x64, 0x180007a44\nadd     rsp, 20h                                                       ; +0x67, 0x180007a47\npop     rbx                                                            ; +0x6b, 0x180007a4b\nretn                                                                   ; +0x6c, 0x180007a4c", "xrefs": ["cocos2d::CCObject::~CCObject @ 0x18000ea1d", "cocos2d::CCObject::autorelease @ 0x18000eb39", "cocos2d::CCDirector::~CCDirector @ 0x1800c1681", "cocos2d::CCDirector::init @ 0x1800c2212", "cocos2d::CCDisplayLinkDirector::mainLoop @ 0x1800c22eb", "<???> @ 0x18014cf68", "<???> @ 0x1801b7b1c"], "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"}