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

GD Web Decomp

Raw Source