; ; cocos2d::CCLayer::keyDown from 0x180052310 to 0x18005234b (59 bytes) ; ; 8 xrefs: ; > @ 0x1800f34d8 ; > @ 0x1800f39b8 ; > @ 0x1800f3f28 ; > @ 0x1800f4520 ; > @ 0x1800f4a90 ; > @ 0x1800fd5d8 ; > @ 0x18014cf68 ; > @ 0x1801bc250 ; ; 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:45 +0000 ; sub rsp, 28h ; +0x0, 0x180052310 cmp edx, 1Bh ; +0x4, 0x180052314 jz short loc_180052321 ; +0x7, 0x180052317 cmp edx, 3EBh ; +0x9, 0x180052319 jnz short loc_180052346 ; +0xf, 0x18005231f call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x11, 0x180052321 mov rcx, [rax] ; +0x16, 0x180052326 mov rdx, [rcx+0A0h] ; +0x19, 0x180052329 mov rcx, rax ; +0x20, 0x180052330 call rdx ; +0x23, 0x180052333 mov rcx, rax ; +0x25, 0x180052335 mov edx, 1 ; +0x28, 0x180052338 add rsp, 28h ; +0x2d, 0x18005233d jmp ?dispatchKeypadMSG@CCKeypadDispatcher@cocos2d@@QEAA_NW4ccKeypadMSGType@2@@Z; cocos2d::CCKeypadDispatcher::dispatchKeypadMSG(cocos2d::ccKeypadMSGType) ; +0x31, 0x180052341 add rsp, 28h ; +0x36, 0x180052346 retn ; +0x3a, 0x18005234a