// // cocos2d::CCKeyboardHandler::setDelegate from 0x180044f20 to 0x180044f9a (122 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801bb74c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 11:21:40 +0000 // void __fastcall cocos2d::CCKeyboardHandler::setDelegate( cocos2d::CCKeyboardHandler *this, struct cocos2d::CCKeyboardDelegate *a2) { cocos2d::CCObject *v4; // rax __int64 v5; // rcx cocos2d::CCObject *v6; // rax if ( a2 ) { v4 = (cocos2d::CCObject *)_RTDynamicCast( a2, 0, &cocos2d::CCKeyboardDelegate `RTTI Type Descriptor', &cocos2d::CCObject `RTTI Type Descriptor', 0); cocos2d::CCObject::retain(v4); } v5 = *((_QWORD *)this + 7); if ( v5 ) { v6 = (cocos2d::CCObject *)_RTDynamicCast( v5, 0, &cocos2d::CCKeyboardDelegate `RTTI Type Descriptor', &cocos2d::CCObject `RTTI Type Descriptor', 0); cocos2d::CCObject::release(v6); } *((_QWORD *)this + 7) = a2; }