// // cocos2d::CCIMEDispatcher::addDelegate from 0x7fe354 to 0x7fe386 (50 bytes) // // 1 xrefs: // > cocos2d::CCIMEDelegate::CCIMEDelegate @ 0x7fe634 // // 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:17 +0000 // int __fastcall cocos2d::CCIMEDispatcher::addDelegate(int this, cocos2d::CCIMEDelegate *a2) { int *v2; // r5 cocos2d::CCIMEDispatcher::Impl *v4; // r4 int v5; // r4 int *v6; // r3 int v7; // r3 v2 = (int *)this; if ( a2 ) { v4 = *(cocos2d::CCIMEDispatcher::Impl **)this; if ( *(_DWORD *)this ) { this = cocos2d::CCIMEDispatcher::Impl::findDelegate(*(cocos2d::CCIMEDispatcher::Impl **)this, a2); if ( v4 == (cocos2d::CCIMEDispatcher::Impl *)this ) { v5 = *v2; this = operator new(0xCu); *(_DWORD *)(this + 8) = a2; *(_DWORD *)this = v5; v6 = *(int **)(v5 + 4); *(_DWORD *)(this + 4) = v6; *v6 = this; v7 = *(_DWORD *)(v5 + 8); *(_DWORD *)(v5 + 4) = this; *(_DWORD *)(v5 + 8) = v7 + 1; } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source