{"type": "func", "start": 6443328896, "end": 6443328969, "name": "cocos2d::CCKeyboardDispatcher::setActionManager", "pseudocode": "// \n// cocos2d::CCKeyboardDispatcher::setActionManager from 0x1800d6580 to 0x1800d65c9 (73 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c4854\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:32 +0000\n// \n\nvoid __fastcall cocos2d::CCKeyboardDispatcher::setActionManager(\n        cocos2d::CCKeyboardDispatcher *this,\n        struct cocos2d::CCKeyboardActionManager *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCKeyboardActionManager **)this + 20) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 20);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 20) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCKeyboardDispatcher::setActionManager from 0x1800d6580 to 0x1800d65c9 (73 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c4854\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:32 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d6580\npush    rdi                                                            ; +0x5, 0x1800d6585\nsub     rsp, 20h                                                       ; +0x6, 0x1800d6586\nmov     rbx, rdx                                                       ; +0xa, 0x1800d658a\nmov     rdi, rcx                                                       ; +0xd, 0x1800d658d\ncmp     [rcx+0A0h], rdx                                                ; +0x10, 0x1800d6590\njz      short loc_1800D65BE                                            ; +0x17, 0x1800d6597\ntest    rdx, rdx                                                       ; +0x19, 0x1800d6599\njz      short loc_1800D65A6                                            ; +0x1c, 0x1800d659c\nmov     rcx, rdx; this                                                 ; +0x1e, 0x1800d659e\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x21, 0x1800d65a1\nmov     rcx, [rdi+0A0h]; this                                          ; +0x26, 0x1800d65a6\ntest    rcx, rcx                                                       ; +0x2d, 0x1800d65ad\njz      short loc_1800D65B7                                            ; +0x30, 0x1800d65b0\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x32, 0x1800d65b2\nmov     [rdi+0A0h], rbx                                                ; +0x37, 0x1800d65b7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3e, 0x1800d65be\nadd     rsp, 20h                                                       ; +0x43, 0x1800d65c3\npop     rdi                                                            ; +0x47, 0x1800d65c7\nretn                                                                   ; +0x48, 0x1800d65c8", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c4854"], "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"}