// // cocos2d::CCNotificationCenter::observerExisted from 0x1002876e0 to 0x100287770 (144 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 // bool __fastcall cocos2d::CCNotificationCenter::observerExisted( cocos2d::CCNotificationCenter *a1, cocos2d::CCObject *a2, const char *a3) { cocos2d::CCNotificationCenter_vtbl *v3; // rax bool (__cdecl *canEncode)(cocos2d::CCObject *__hidden); // rax _QWORD *v6; // r12 unsigned __int64 v7; // r13 __int64 v8; // r15 const char *v9; // rax v3 = a1[1].__vftable; if ( !v3 ) return 0; canEncode = v3->canEncode; if ( *(_DWORD *)canEncode ) { v6 = *((_QWORD **)canEncode + 2); v7 = (unsigned __int64)&v6[*(unsigned int *)canEncode - 1]; do { v8 = *v6; if ( !*v6 ) break; if ( (cocos2d::CCObject *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v8 + 80LL))(*v6) == a2 ) { v9 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 96LL))(v8); if ( !strcmp(v9, a3) ) return 1; } ++v6; } while ( (unsigned __int64)v6 <= v7 ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source