//
// cocos2d::CCNotificationObserver::performSelector from 0x100273230 to 0x100273273 (67 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:38 +0000
//
_QWORD *__fastcall cocos2d::CCNotificationObserver::performSelector(_QWORD *a1, __int64 a2)
{
_QWORD *result; // rax
__int64 v3; // rdi
_QWORD *v4; // rdi
__int64 (__fastcall *v5)(_QWORD); // rcx
result = a1;
v3 = a1[7];
if ( v3 )
{
v4 = (_QWORD *)(result[9] + v3);
v5 = (__int64 (__fastcall *)(_QWORD))result[8];
if ( a2 )
{
if ( ((unsigned __int8)v5 & 1) != 0 )
v5 = *(__int64 (__fastcall **)(_QWORD))((char *)v5 + *v4 - 1);
return (_QWORD *)v5(v4);
}
else
{
if ( ((unsigned __int8)v5 & 1) != 0 )
v5 = *(__int64 (__fastcall **)(_QWORD))((char *)v5 + *v4 - 1);
return (_QWORD *)((__int64 (__fastcall *)(_QWORD *, _QWORD))v5)(v4, result[11]);
}
}
return result;
}