{"type": "func", "start": 6443235360, "end": 6443235424, "name": "cocos2d::CCDirector::setNotificationNode", "pseudocode": "// \n// cocos2d::CCDirector::setNotificationNode from 0x1800bf820 to 0x1800bf860 (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b933c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCDirector::setNotificationNode(cocos2d::CCDirector *this, struct cocos2d::CCNode *a2)\n{\n  cocos2d::CCNode *m_pNotificationNode; // rcx\n\n  m_pNotificationNode = this->m_pNotificationNode;\n  if ( m_pNotificationNode )\n    cocos2d::CCObject::release(m_pNotificationNode);\n  this->m_pNotificationNode = a2;\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n}", "assembly": "; \n; cocos2d::CCDirector::setNotificationNode from 0x1800bf820 to 0x1800bf860 (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b933c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800bf820\npush    rdi                                                            ; +0x5, 0x1800bf825\nsub     rsp, 20h                                                       ; +0x6, 0x1800bf826\nmov     rdi, rcx                                                       ; +0xa, 0x1800bf82a\nmov     rbx, rdx                                                       ; +0xd, 0x1800bf82d\nmov     rcx, [rcx+150h]; this                                          ; +0x10, 0x1800bf830\ntest    rcx, rcx                                                       ; +0x17, 0x1800bf837\njz      short loc_1800BF841                                            ; +0x1a, 0x1800bf83a\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1c, 0x1800bf83c\nmov     [rdi+150h], rbx                                                ; +0x21, 0x1800bf841\ntest    rbx, rbx                                                       ; +0x28, 0x1800bf848\njz      short loc_1800BF855                                            ; +0x2b, 0x1800bf84b\nmov     rcx, rbx; this                                                 ; +0x2d, 0x1800bf84d\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x30, 0x1800bf850\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800bf855\nadd     rsp, 20h                                                       ; +0x3a, 0x1800bf85a\npop     rdi                                                            ; +0x3e, 0x1800bf85e\nretn                                                                   ; +0x3f, 0x1800bf85f", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b933c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}