// // cocos2d::CCKeyboardDispatcher::forceRemoveDelegate from 0x1002034a0 to 0x10020352d (141 bytes) // // 0 xrefs: // // 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 __fastcall cocos2d::CCKeyboardDispatcher::forceRemoveDelegate( cocos2d::CCKeyboardDispatcher *a1, cocos2d::CCKeyboardDelegate *a2) { cocos2d::CCArray *m_pDelegates; // rax cocos2d::ccArray *data; // rax cocos2d::CCKeyboardHandler **arr; // r12 unsigned __int64 v5; // r13 cocos2d::CCKeyboardHandler *v6; // r15 m_pDelegates = a1->m_pDelegates; if ( m_pDelegates ) { data = m_pDelegates->data; if ( data->num ) { arr = (cocos2d::CCKeyboardHandler **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { v6 = *arr; if ( !*arr ) break; if ( cocos2d::CCKeyboardHandler::getDelegate(*arr) == a2 ) { sub_100720220(a1->m_pDelegates, v6, 1); return; } ++arr; } while ( (unsigned __int64)arr <= v5 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source