// // cocos2d::CCNotificationCenter::removeAllObservers from 0xd8ea00 to 0xd8eab8 (184 bytes) // // 1 xrefs: // > @ 0x71830 // // 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::removeAllObservers(cocos2d::CCArray **this, cocos2d::CCObject *a2) { cocos2d::CCArray *v4; // x24 cocos2d::CCArray *v5; // x0 unsigned int *v6; // x2 cocos2d::CCObject **v7; // x19 __int64 v8; // x1 char *v9; // x21 cocos2d::CCObject *v10; // x20 v4 = cocos2d::CCArray::create((cocos2d::CCArray *)this); v5 = *(this + 7); if ( v5 ) { v6 = *((unsigned int **)v5 + 7); if ( *v6 ) { v7 = *((cocos2d::CCObject ***)v6 + 2); v8 = 8LL * *v6 - 8; v9 = (char *)v7 + v8; if ( v7 <= (cocos2d::CCObject **)((char *)v7 + v8) ) { v10 = *v7; if ( *v7 ) { do { if ( a2 == (cocos2d::CCObject *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 80LL))(v10) ) cocos2d::CCArray::addObject(v4, v10); if ( v9 < (char *)++v7 ) break; v10 = *v7; } while ( *v7 ); v5 = *(this + 7); } } } } cocos2d::CCArray::removeObjectsInArray(v5, v4); return cocos2d::CCArray::count(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source