; ; cocos2d::CCLayer::keyDown from 0x1800504f0 to 0x180050528 (56 bytes) ; ; 8 xrefs: ; > @ 0x1800ed378 ; > @ 0x1800ed838 ; > @ 0x1800edd88 ; > @ 0x1800ee360 ; > @ 0x1800ee8b0 ; > @ 0x1800f7190 ; > @ 0x1801438a8 ; > @ 0x1801b1fbc ; ; 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 ; sub rsp, 28h ; +0x0, 0x1800504f0 cmp edx, 1Bh ; +0x4, 0x1800504f4 jz short loc_180050501 ; +0x7, 0x1800504f7 cmp edx, 3EBh ; +0x9, 0x1800504f9 jnz short loc_180050523 ; +0xf, 0x1800504ff call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x11, 0x180050501 mov rcx, rax ; +0x16, 0x180050506 mov rdx, [rax] ; +0x19, 0x180050509 call qword ptr [rdx+0A0h] ; +0x1c, 0x18005050c mov rcx, rax ; +0x22, 0x180050512 mov edx, 1 ; +0x25, 0x180050515 add rsp, 28h ; +0x2a, 0x18005051a jmp ?dispatchKeypadMSG@CCKeypadDispatcher@cocos2d@@QEAA_NW4ccKeypadMSGType@2@@Z; cocos2d::CCKeypadDispatcher::dispatchKeypadMSG(cocos2d::ccKeypadMSGType) ; +0x2e, 0x18005051e add rsp, 28h ; +0x33, 0x180050523 retn ; +0x37, 0x180050527