; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180044f20 push rdi ; +0x5, 0x180044f25 sub rsp, 30h ; +0x6, 0x180044f26 mov rbx, rdx ; +0xa, 0x180044f2a mov rdi, rcx ; +0xd, 0x180044f2d test rdx, rdx ; +0x10, 0x180044f30 jz short loc_180044F5D ; +0x13, 0x180044f33 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x15, 0x180044f35 mov [rsp+38h+var_18], 0 ; +0x1c, 0x180044f3c lea r8, ??_R0?AVCCKeyboardDelegate@cocos2d@@@8; cocos2d::CCKeyboardDelegate `RTTI Type Descriptor' ; +0x24, 0x180044f44 xor edx, edx ; +0x2b, 0x180044f4b mov rcx, rbx ; +0x2d, 0x180044f4d call __RTDynamicCast ; +0x30, 0x180044f50 mov rcx, rax; this ; +0x35, 0x180044f55 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x38, 0x180044f58 mov rcx, [rdi+38h] ; +0x3d, 0x180044f5d test rcx, rcx ; +0x41, 0x180044f61 jz short loc_180044F8B ; +0x44, 0x180044f64 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x46, 0x180044f66 mov [rsp+38h+var_18], 0 ; +0x4d, 0x180044f6d lea r8, ??_R0?AVCCKeyboardDelegate@cocos2d@@@8; cocos2d::CCKeyboardDelegate `RTTI Type Descriptor' ; +0x55, 0x180044f75 xor edx, edx ; +0x5c, 0x180044f7c call __RTDynamicCast ; +0x5e, 0x180044f7e mov rcx, rax; this ; +0x63, 0x180044f83 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x66, 0x180044f86 mov [rdi+38h], rbx ; +0x6b, 0x180044f8b mov rbx, [rsp+38h+arg_0] ; +0x6f, 0x180044f8f add rsp, 30h ; +0x74, 0x180044f94 pop rdi ; +0x78, 0x180044f98 retn ; +0x79, 0x180044f99