//
// cocos2d::CCNotificationObserver::performSelector from 0xb1e48c to 0xb1e514 (136 bytes)
//
// 2 xrefs:
// > cocos2d::CCNotificationCenter::postNotification @ 0xb1e62c
// > ??> @ 0x5f238
//
// 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 cocos2d::CCNotificationObserver::performSelector(cocos2d::CCNotificationObserver *a1, cocos2d::CCObject *a2)
{
cocos2d::CCNotificationObserver_vtbl *v2; // x3
__int64 v3; // x2
__int64 v4; // x1
v2 = a1[1].__vftable;
if ( v2 )
{
if ( a2 )
{
v3 = *(_QWORD *)&a1[1].m_nTag;
if ( (v3 & 1) != 0 )
(*(void (__fastcall **)(__int64))(*(char **)((char *)&v2->copyWithZone + (v3 >> 1)) + *(_QWORD *)&a1[1].m_uID))((__int64)v2 + (v3 >> 1));
else
(*(void (__fastcall **)(__int64))&a1[1].m_uID)((__int64)v2 + (v3 >> 1));
}
else
{
v4 = *(_QWORD *)&a1[1].m_nTag;
if ( (v4 & 1) != 0 )
(*(void (__fastcall **)(__int64, _QWORD))(*(char **)((char *)&v2->copyWithZone + (v4 >> 1))
+ *(_QWORD *)&a1[1].m_uID))(
(__int64)v2 + (v4 >> 1),
*(_QWORD *)&a1[1].m_uIndexInArray);
else
(*(void (__fastcall **)(__int64, _QWORD))&a1[1].m_uID)(
(__int64)v2 + (v4 >> 1),
*(_QWORD *)&a1[1].m_uIndexInArray);
}
}
}