{"type": "func", "start": 6443112928, "end": 6443112977, "name": "sub_1800A19E0", "pseudocode": "// \n// sub_1800A19E0 from 0x1800a19e0 to 0x1800a1a11 (49 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCArray::removeAllObjects @ 0x180007334\n// > cocos2d::CCActionManager::removeAllActions @ 0x180038f1d\n// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1800390b1\n// > cocos2d::CCParallaxNode::removeAllChildrenWithCleanup @ 0x1800ae4c7\n// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c5fa7\n// > <???> @ 0x1801c1740\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:22:13 +0000\n// \n\n__int64 __fastcall sub_1800A19E0(unsigned int *a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n  unsigned int v4; // eax\n\n  sub_1800A1D70(a1);\n  for ( result = *a1; (_DWORD)result; result = *a1 )\n  {\n    v3 = *((_QWORD *)a1 + 2);\n    v4 = result - 1;\n    *a1 = v4;\n    cocos2d::CCObject::release(*(cocos2d::CCObject **)(v3 + 8LL * v4));\n  }\n  return result;\n}", "assembly": "; \n; sub_1800A19E0 from 0x1800a19e0 to 0x1800a1a11 (49 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCArray::removeAllObjects @ 0x180007334\n; > cocos2d::CCActionManager::removeAllActions @ 0x180038f1d\n; > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1800390b1\n; > cocos2d::CCParallaxNode::removeAllChildrenWithCleanup @ 0x1800ae4c7\n; > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c5fa7\n; > <???> @ 0x1801c1740\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:22:13 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800a19e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800a19e2\nmov     rbx, rcx                                                       ; +0x6, 0x1800a19e6\ncall    sub_1800A1D70                                                  ; +0x9, 0x1800a19e9\nmov     eax, [rbx]                                                     ; +0xe, 0x1800a19ee\ntest    eax, eax                                                       ; +0x10, 0x1800a19f0\njz      short loc_1800A1A0B                                            ; +0x12, 0x1800a19f2\nmov     rcx, [rbx+10h]                                                 ; +0x14, 0x1800a19f4\ndec     eax                                                            ; +0x18, 0x1800a19f8\nmov     [rbx], eax                                                     ; +0x1a, 0x1800a19fa\nmov     rcx, [rcx+rax*8]; this                                         ; +0x1c, 0x1800a19fc\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x20, 0x1800a1a00\nmov     eax, [rbx]                                                     ; +0x25, 0x1800a1a05\ntest    eax, eax                                                       ; +0x27, 0x1800a1a07\njnz     short loc_1800A19F4                                            ; +0x29, 0x1800a1a09\nadd     rsp, 20h                                                       ; +0x2b, 0x1800a1a0b\npop     rbx                                                            ; +0x2f, 0x1800a1a0f\nretn                                                                   ; +0x30, 0x1800a1a10", "xrefs": ["cocos2d::CCArray::removeAllObjects @ 0x180007334", "cocos2d::CCActionManager::removeAllActions @ 0x180038f1d", "cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1800390b1", "cocos2d::CCParallaxNode::removeAllChildrenWithCleanup @ 0x1800ae4c7", "cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c5fa7", "<???> @ 0x1801c1740"], "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"}