//
// cocos2d::CCIMEDispatcher::Impl::findDelegate from 0x7fe31a to 0x7fe32e (20 bytes)
//
// 3 xrefs:
// > cocos2d::CCIMEDispatcher::addDelegate @ 0x7fe362
// > cocos2d::CCIMEDispatcher::attachDelegateWithIME @ 0x7fe396
// > cocos2d::CCIMEDispatcher::removeDelegate @ 0x7fe426
//
// 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::Impl::findDelegate(
cocos2d::CCIMEDispatcher::Impl *this,
cocos2d::CCIMEDelegate *a2)
{
int i; // r3
for ( i = *((_DWORD *)this + 1);
(cocos2d::CCIMEDispatcher::Impl *)i != this && a2 != *(cocos2d::CCIMEDelegate **)(i + 8);
i = *(_DWORD *)(i + 4) )
{
;
}
return i;
}