// // cocos2d::CCNotificationCenter::observerExisted from 0x180093510 to 0x1800935c1 (177 bytes) // // 4 xrefs: // > cocos2d::CCNotificationCenter::addObserver @ 0x1800933b3 // > cocos2d::CCNotificationCenter::registerScriptObserver @ 0x180093899 // > @ 0x1801438a8 // > @ 0x1801b64bc // // 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 // char __fastcall cocos2d::CCNotificationCenter::observerExisted( cocos2d::CCNotificationCenter *this, struct cocos2d::CCObject *a2, const char *a3) { __int64 v3; // rdi unsigned int *v6; // rdi __int64 v7; // rax _QWORD *v8; // rdi _QWORD *i; // rsi __int64 v10; // rbx __int64 v11; // rax const char *v12; // r8 int v13; // ecx int v14; // edx v3 = *((_QWORD *)this + 7); if ( v3 ) { v6 = *(unsigned int **)(v3 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((_QWORD **)v6 + 2); for ( i = &v8[v7 - 1]; v8 <= i; ++v8 ) { v10 = *v8; if ( !*v8 ) break; if ( (struct cocos2d::CCObject *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v10 + 72LL))(*v8) == a2 ) { v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 88LL))(v10); v12 = &a3[-v11]; do { v13 = (unsigned __int8)v12[v11]; v14 = *(unsigned __int8 *)v11 - v13; if ( v14 ) break; ++v11; } while ( v13 ); if ( !v14 ) return 1; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source