; ; cocos2d::CCKeyboardDispatcher::addDelegate from 0x180044d60 to 0x180044da4 (68 bytes) ; ; 4 xrefs: ; > cocos2d::CCLayer::onEnter @ 0x180050633 ; > cocos2d::CCLayer::setKeyboardEnabled @ 0x180050c37 ; > @ 0x1801438a8 ; > @ 0x1801b1674 ; ; 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 ; test rdx, rdx ; +0x0, 0x180044d60 jz short locret_180044DA3 ; +0x3, 0x180044d63 push rbx ; +0x5, 0x180044d65 sub rsp, 20h ; +0x6, 0x180044d66 cmp byte ptr [rcx+40h], 0 ; +0xa, 0x180044d6a mov rbx, rcx ; +0xe, 0x180044d6e jnz short loc_180044D91 ; +0x11, 0x180044d71 mov rcx, rdx; struct cocos2d::CCKeyboardDelegate * ; +0x13, 0x180044d73 call ?handlerWithDelegate@CCKeyboardHandler@cocos2d@@SAPEAV12@PEAVCCKeyboardDelegate@2@@Z; cocos2d::CCKeyboardHandler::handlerWithDelegate(cocos2d::CCKeyboardDelegate *) ; +0x16, 0x180044d76 test rax, rax ; +0x1b, 0x180044d7b jz short loc_180044D9E ; +0x1e, 0x180044d7e mov rcx, [rbx+38h]; this ; +0x20, 0x180044d80 mov rdx, rax; struct cocos2d::CCObject * ; +0x24, 0x180044d84 add rsp, 20h ; +0x27, 0x180044d87 pop rbx ; +0x2b, 0x180044d8b jmp ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2c, 0x180044d8c mov rcx, [rcx+48h] ; +0x31, 0x180044d91 call sub_18009E170 ; +0x35, 0x180044d95 mov byte ptr [rbx+41h], 1 ; +0x3a, 0x180044d9a add rsp, 20h ; +0x3e, 0x180044d9e pop rbx ; +0x42, 0x180044da2 retn ; +0x43, 0x180044da3