//
// cocos2d::CCDirector::setNotificationNode from 0xad7a88 to 0xad7ad0 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ae98
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCDirector::setNotificationNode(cocos2d::CCDirector *this, cocos2d::CCNode *a2)
{
cocos2d::CCNode *m_pNotificationNode; // x0
cocos2d::CCNode *v4; // [xsp+28h] [xbp+28h]
m_pNotificationNode = this->m_pNotificationNode;
if ( m_pNotificationNode )
{
v4 = a2;
cocos2d::CCObject::release(m_pNotificationNode);
a2 = v4;
}
this->m_pNotificationNode = a2;
if ( a2 )
cocos2d::CCObject::retain(a2);
}