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

GD Web Decomp

Raw Source