{"type": "func", "start": 6443111024, "end": 6443111072, "name": "sub_1800A1270", "pseudocode": "// \n// sub_1800A1270 from 0x1800a1270 to 0x1800a12a0 (48 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCActionManager::addAction @ 0x180038519\n// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c5a66\n// > <???> @ 0x1801c1674\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_1800A1270(__int64 a1, cocos2d::CCObject *a2)\n{\n  __int64 result; // rax\n\n  cocos2d::CCObject::retain(a2);\n  result = *(_QWORD *)(a1 + 16);\n  *(_QWORD *)(result + 8LL * (unsigned int)(*(_DWORD *)a1)++) = a2;\n  return result;\n}", "assembly": "; \n; sub_1800A1270 from 0x1800a1270 to 0x1800a12a0 (48 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCActionManager::addAction @ 0x180038519\n; > cocos2d::CCScheduler::scheduleSelector @ 0x1800c5a66\n; > <???> @ 0x1801c1674\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a1270\npush    rdi                                                            ; +0x5, 0x1800a1275\nsub     rsp, 20h                                                       ; +0x6, 0x1800a1276\nmov     rdi, rcx                                                       ; +0xa, 0x1800a127a\nmov     rbx, rdx                                                       ; +0xd, 0x1800a127d\nmov     rcx, rdx; this                                                 ; +0x10, 0x1800a1280\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x13, 0x1800a1283\nmov     r8d, [rdi]                                                     ; +0x18, 0x1800a1288\nmov     rax, [rdi+10h]                                                 ; +0x1b, 0x1800a128b\nmov     [rax+r8*8], rbx                                                ; +0x1f, 0x1800a128f\ninc     dword ptr [rdi]                                                ; +0x23, 0x1800a1293\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25, 0x1800a1295\nadd     rsp, 20h                                                       ; +0x2a, 0x1800a129a\npop     rdi                                                            ; +0x2e, 0x1800a129e\nretn                                                                   ; +0x2f, 0x1800a129f", "xrefs": ["cocos2d::CCActionManager::addAction @ 0x180038519", "cocos2d::CCScheduler::scheduleSelector @ 0x1800c5a66", "<???> @ 0x1801c1674"], "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"}