// // cocos2d::CCKeyboardHandler::handlerWithDelegate from 0x10043e290 to 0x10043e2fb (107 bytes) // // 3 xrefs: // > cocos2d::CCKeyboardDispatcher::addDelegate @ 0x100203556 // > cocos2d::CCKeyboardDispatcher::forceAddDelegate @ 0x10020358c // > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x100203826 // // 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 // cocos2d::CCKeyboardHandler *__fastcall cocos2d::CCKeyboardHandler::handlerWithDelegate(cocos2d::CCKeyboardDelegate *a1) { cocos2d::CCKeyboardHandler *v1; // rbx cocos2d::CCObject *v2; // rdi v1 = (cocos2d::CCKeyboardHandler *)operator new(0x40u); cocos2d::CCObject::CCObject(v1); v1->__vftable = (cocos2d::CCKeyboardHandler_vtbl *)off_1009380C8; v1->m_pDelegate = a1; if ( a1 ) v2 = (cocos2d::CCObject *)__dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCKeyboardDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); else v2 = nullptr; cocos2d::CCObject::retain(v2); cocos2d::CCObject::autorelease(v1); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source