//
// cocos2d::CCNotificationObserver::performSelector from 0x100287cd0 to 0x100287d13 (67 bytes)
//
// 0 xrefs:
//
// 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::CCNotificationObserver::performSelector(
cocos2d::CCNotificationObserver *a1,
cocos2d::CCObject *a2)
{
cocos2d::CCNotificationObserver_vtbl *v3; // rdi
_QWORD *v4; // rdi
void (__fastcall *v5)(_QWORD); // rcx
v3 = a1[1].__vftable;
if ( v3 )
{
v4 = (cocos2d::CCObject *(__cdecl **)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *))((char *)&v3->copyWithZone
+ *(_QWORD *)&a1[1].m_nTag);
v5 = *(void (__fastcall **)(_QWORD))&a1[1].m_uID;
if ( a2 )
{
if ( ((unsigned __int8)v5 & 1) != 0 )
v5 = *(void (__fastcall **)(_QWORD))((char *)v5 + *v4 - 1);
v5(v4);
}
else
{
if ( ((unsigned __int8)v5 & 1) != 0 )
v5 = *(void (__fastcall **)(_QWORD))((char *)v5 + *v4 - 1);
((void (__fastcall *)(_QWORD *, _QWORD))v5)(v4, *(_QWORD *)&a1[1].m_uIndexInArray);
}
}
}