// // cocos2d::CCKeypadDispatcher::forceRemoveDelegate from 0x5cad6c to 0x5cadb4 (72 bytes) // // 2 xrefs: // > cocos2d::CCKeypadDispatcher::removeDelegate @ 0x5cadc4 // > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x5cae64 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCKeypadDispatcher::forceRemoveDelegate(cocos2d::CCKeypadDispatcher *a1, cocos2d::CCKeypadDelegate *a2) { cocos2d::CCArray *m_pDelegates; // r3 cocos2d::ccArray *data; // r2 cocos2d::_ccArray **arr; // r5 cocos2d::_ccArray **v7; // r4 cocos2d::_ccArray *v8; // r6 cocos2d::_ccArray *v9; // t1 bool v10; // r3 m_pDelegates = a1->m_pDelegates; if ( m_pDelegates ) { data = m_pDelegates->data; if ( data->num ) { arr = (cocos2d::_ccArray **)data->arr; v7 = &arr[data->num] + 0x3FFFFFFF; while ( arr <= v7 ) { v9 = *arr++; v8 = v9; if ( !v9 ) break; if ( a2 == cocos2d::CCKeypadHandler::getDelegate((cocos2d::CCKeypadHandler *)v8) ) { cocos2d::CCArray::removeObject(a1->m_pDelegates, v8, 1, v10); return; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source