; ; cocos2d::CCKeyboardDispatcher::addDelegate from 0x180045aa0 to 0x180045ae4 (68 bytes) ; ; 4 xrefs: ; > cocos2d::CCLayer::onEnter @ 0x180052453 ; > cocos2d::CCLayer::setKeyboardEnabled @ 0x180052a57 ; > @ 0x18014cf68 ; > @ 0x1801bb890 ; ; 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 ; test rdx, rdx ; +0x0, 0x180045aa0 jz short locret_180045AE3 ; +0x3, 0x180045aa3 push rbx ; +0x5, 0x180045aa5 sub rsp, 20h ; +0x6, 0x180045aa6 cmp byte ptr [rcx+40h], 0 ; +0xa, 0x180045aaa mov rbx, rcx ; +0xe, 0x180045aae jnz short loc_180045AD1 ; +0x11, 0x180045ab1 mov rcx, rdx; struct cocos2d::CCKeyboardDelegate * ; +0x13, 0x180045ab3 call ?handlerWithDelegate@CCKeyboardHandler@cocos2d@@SAPEAV12@PEAVCCKeyboardDelegate@2@@Z; cocos2d::CCKeyboardHandler::handlerWithDelegate(cocos2d::CCKeyboardDelegate *) ; +0x16, 0x180045ab6 test rax, rax ; +0x1b, 0x180045abb jz short loc_180045ADE ; +0x1e, 0x180045abe mov rcx, [rbx+38h]; this ; +0x20, 0x180045ac0 mov rdx, rax; struct cocos2d::CCObject * ; +0x24, 0x180045ac4 add rsp, 20h ; +0x27, 0x180045ac7 pop rbx ; +0x2b, 0x180045acb jmp ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2c, 0x180045acc mov rcx, [rcx+48h] ; +0x31, 0x180045ad1 call sub_1800A1E00 ; +0x35, 0x180045ad5 mov byte ptr [rbx+41h], 1 ; +0x3a, 0x180045ada add rsp, 20h ; +0x3e, 0x180045ade pop rbx ; +0x42, 0x180045ae2 retn ; +0x43, 0x180045ae3