// // cocos2d::CCNotificationCenter::removeAllObservers from 0x7f5a54 to 0x7f5ab2 (94 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:08 +0000 // int __fastcall cocos2d::CCNotificationCenter::removeAllObservers(cocos2d::CCArray **this, cocos2d::CCObject *a2) { cocos2d::CCArray *v4; // r0 int v5; // r3 cocos2d::CCArray *v6; // r6 _DWORD *v8; // r2 cocos2d::CCObject **v9; // r4 cocos2d::CCObject **v10; // r5 cocos2d::CCObject *v11; // r9 cocos2d::CCObject *v12; // t1 v4 = cocos2d::CCArray::create((cocos2d::CCArray *)this); v5 = (int)*(this + 13); v6 = v4; if ( v5 ) { v8 = *(_DWORD **)(v5 + 52); if ( *v8 ) { v9 = (cocos2d::CCObject **)v8[3]; v10 = &v9[*v8] + 0x3FFFFFFF; while ( v9 <= v10 ) { v12 = *v9++; v11 = v12; if ( !v12 ) break; if ( a2 == (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v11 + 40))(v11) ) cocos2d::CCArray::addObject(v6, v11); } } } cocos2d::CCArray::removeObjectsInArray(*(this + 13), v6); return cocos2d::CCArray::count(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source