// // cocos2d::CCMouseDispatcher::forceRemoveDelegate from 0x809e04 to 0x809e4c (72 bytes) // // 2 xrefs: // > cocos2d::CCMouseDispatcher::removeDelegate @ 0x809e5c // > cocos2d::CCMouseDispatcher::flushPendingDelegates @ 0x809e90 // // 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:28 +0000 // cocos2d::CCMouseDelegate *__fastcall cocos2d::CCMouseDispatcher::forceRemoveDelegate( cocos2d::CCMouseDelegate *this, cocos2d::CCMouseDelegate *a2) { cocos2d::CCMouseDelegate *v2; // r7 int v3; // r3 _DWORD *v5; // r2 cocos2d::CCMouseHandler **v6; // r5 cocos2d::CCMouseHandler **v7; // r4 cocos2d::CCMouseHandler *v8; // r6 cocos2d::CCMouseHandler *v9; // t1 v2 = this; v3 = *((_DWORD *)this + 13); if ( v3 ) { v5 = *(_DWORD **)(v3 + 52); if ( *v5 ) { v6 = (cocos2d::CCMouseHandler **)v5[3]; v7 = &v6[*v5] + 0x3FFFFFFF; while ( v6 <= v7 ) { v9 = *v6++; v8 = v9; if ( !v9 ) break; this = (cocos2d::CCMouseDelegate *)cocos2d::CCMouseHandler::getDelegate(v8); if ( a2 == this ) return (cocos2d::CCMouseDelegate *)cocos2d::CCArray::removeObject(*((cocos2d::CCArray **)v2 + 13), v8, 1); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source