// // cocos2d::CCNotificationCenter::unregisterScriptObserver from 0xd8eab8 to 0xd8eb7c (196 bytes) // // 1 xrefs: // > @ 0xc5188 // // 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::unregisterScriptObserver( __int64 this, cocos2d::CCObject *a2, const char *a3) { __int64 v3; // x23 unsigned int *v4; // x4 cocos2d::CCObject **v5; // x19 __int64 v6; // x20 char *v7; // x21 cocos2d::CCObject *v8; // x20 __int64 i; // x23 const char *v12; // x0 v3 = *(_QWORD *)(this + 56); if ( v3 ) { v4 = *(unsigned int **)(v3 + 56); if ( *v4 ) { v5 = *((cocos2d::CCObject ***)v4 + 2); v6 = 8LL * *v4 - 8; v7 = (char *)v5 + v6; if ( v5 <= (cocos2d::CCObject **)((char *)v5 + v6) ) { v8 = *v5; for ( i = this; *v5; v8 = *v5 ) { v12 = (const char *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v8 + 96LL))(v8); this = strcmp(v12, a3); if ( !(_DWORD)this ) { this = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v8 + 80LL))(v8); if ( a2 == (cocos2d::CCObject *)this ) this = cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(i + 56), v8); } if ( v7 < (char *)++v5 ) break; } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source