; ; cocos2d::CCKeyboardHandler::setDelegate from 0x180044b50 to 0x180044bca (122 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b1644 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180044b50 push rdi ; +0x5, 0x180044b55 sub rsp, 30h ; +0x6, 0x180044b56 mov rbx, rdx ; +0xa, 0x180044b5a mov rdi, rcx ; +0xd, 0x180044b5d test rdx, rdx ; +0x10, 0x180044b60 jz short loc_180044B8D ; +0x13, 0x180044b63 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x15, 0x180044b65 mov [rsp+38h+var_18], 0 ; +0x1c, 0x180044b6c lea r8, ??_R0?AVCCKeyboardDelegate@cocos2d@@@8; cocos2d::CCKeyboardDelegate `RTTI Type Descriptor' ; +0x24, 0x180044b74 xor edx, edx ; +0x2b, 0x180044b7b mov rcx, rbx ; +0x2d, 0x180044b7d call __RTDynamicCast ; +0x30, 0x180044b80 mov rcx, rax; this ; +0x35, 0x180044b85 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x38, 0x180044b88 mov rcx, [rdi+38h] ; +0x3d, 0x180044b8d test rcx, rcx ; +0x41, 0x180044b91 jz short loc_180044BBB ; +0x44, 0x180044b94 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x46, 0x180044b96 mov [rsp+38h+var_18], 0 ; +0x4d, 0x180044b9d lea r8, ??_R0?AVCCKeyboardDelegate@cocos2d@@@8; cocos2d::CCKeyboardDelegate `RTTI Type Descriptor' ; +0x55, 0x180044ba5 xor edx, edx ; +0x5c, 0x180044bac call __RTDynamicCast ; +0x5e, 0x180044bae mov rcx, rax; this ; +0x63, 0x180044bb3 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x66, 0x180044bb6 mov [rdi+38h], rbx ; +0x6b, 0x180044bbb mov rbx, [rsp+38h+arg_0] ; +0x6f, 0x180044bbf add rsp, 30h ; +0x74, 0x180044bc4 pop rdi ; +0x78, 0x180044bc8 retn ; +0x79, 0x180044bc9