// // cocos2d::CCNotificationCenter::observerExisted from 0xd8e878 to 0xd8e930 (184 bytes) // // 3 xrefs: // > cocos2d::CCNotificationCenter::addObserver @ 0xd8ee28 // > cocos2d::CCNotificationCenter::registerScriptObserver @ 0xd8eec8 // > @ 0x7f198 // // This function is hookable on this platform (idp: arm, 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 13:08:17 +0000 // __int64 __fastcall cocos2d::CCNotificationCenter::observerExisted( cocos2d::CCNotificationCenter *this, cocos2d::CCObject *a2, const char *a3) { __int64 v3; // x20 unsigned int *v4; // x0 __int64 *v5; // x19 __int64 v6; // x22 char *v7; // x21 __int64 v8; // x20 const char *v12; // x0 v3 = *((_QWORD *)this + 7); if ( !v3 ) return 0; v4 = *(unsigned int **)(v3 + 56); if ( !*v4 ) return 0; v5 = *((__int64 **)v4 + 2); v6 = 8LL * *v4 - 8; v7 = (char *)v5 + v6; if ( v5 > (__int64 *)((char *)v5 + v6) ) return 0; v8 = *v5; if ( !*v5 ) return 0; while ( 1 ) { if ( a2 == (cocos2d::CCObject *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 80LL))(v8) ) { v12 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 96LL))(v8); if ( !strcmp(v12, a3) ) break; } if ( v7 >= (char *)++v5 ) { v8 = *v5; if ( *v5 ) continue; } return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source