; ; FLAlertLayer::keyDown from 0x140052870 to 0x1400528ee (126 bytes) ; ; 192 xrefs: ; > @ 0x1405328b8 ; > @ 0x1405399d0 ; > @ 0x140539fa0 ; > @ 0x14053cc60 ; > @ 0x14053d728 ; > @ 0x14053e3d8 ; > @ 0x14053e5c0 ; > @ 0x14053f110 ; > @ 0x14053f5e8 ; > @ 0x14053f678 ; > @ 0x140540428 ; > @ 0x140541138 ; > @ 0x140541b38 ; > @ 0x140544d90 ; > @ 0x140545458 ; > @ 0x14054d2d0 ; > @ 0x14054d2e8 ; > @ 0x14054da18 ; > @ 0x14054da70 ; > @ 0x14054fdb8 ; > @ 0x140557200 ; > @ 0x140557d08 ; > @ 0x1405582c0 ; > @ 0x1405677f0 ; > @ 0x140569090 ; > @ 0x14056ad38 ; > @ 0x14056d0a8 ; > @ 0x14056d8a8 ; > @ 0x14056da10 ; > @ 0x14056da98 ; > @ 0x14056f460 ; > @ 0x140571a50 ; > @ 0x140571eb0 ; > @ 0x140571ec8 ; > @ 0x140572978 ; > @ 0x1405730c0 ; > @ 0x140573140 ; > @ 0x140573860 ; > @ 0x140574498 ; > @ 0x140576140 ; > @ 0x140576760 ; > @ 0x1405767d8 ; > @ 0x1405775d8 ; > @ 0x140577668 ; > @ 0x140577ca8 ; > @ 0x140578ae0 ; > @ 0x140578af8 ; > @ 0x140578b20 ; > @ 0x140579110 ; > @ 0x140579128 ; > @ 0x140579460 ; > @ 0x1405795b8 ; > @ 0x140579b08 ; > @ 0x14057a828 ; > @ 0x14057be08 ; > @ 0x14057ce18 ; > @ 0x14057e828 ; > @ 0x14057fcd8 ; > @ 0x140580ab8 ; > @ 0x140581490 ; > @ 0x1405823b0 ; > @ 0x140586bb0 ; > @ 0x140588000 ; > @ 0x140589108 ; > @ 0x140589620 ; > @ 0x14058a338 ; > @ 0x14058a8e0 ; > @ 0x14058bce0 ; > @ 0x14058bdd8 ; > @ 0x14058ec38 ; > @ 0x14058ec50 ; > @ 0x14058ede0 ; > @ 0x14058f5d8 ; > @ 0x14058f668 ; > @ 0x1405a8f00 ; > @ 0x1405ab848 ; > @ 0x1405abb88 ; > @ 0x1405ac558 ; > @ 0x1405ae100 ; > @ 0x1405c48a0 ; > @ 0x1405c5358 ; > @ 0x1405c5518 ; > @ 0x1405c55b8 ; > @ 0x1405caff0 ; > @ 0x1405cb0e8 ; > @ 0x1405cb1f0 ; > @ 0x1405cbcf0 ; > @ 0x1405cc300 ; > @ 0x1405cc948 ; > @ 0x1405cd508 ; > @ 0x1405ce488 ; > @ 0x1405d6538 ; > @ 0x1405d6bb0 ; > @ 0x1405d7140 ; > @ 0x1405d73c8 ; > @ 0x1405d79d0 ; > @ 0x1405d8788 ; > @ 0x1405d87b8 ; > @ 0x1405d87d0 ; > @ 0x1405d9a48 ; > @ 0x1405da180 ; > @ 0x1405dae70 ; > @ 0x1405dbc00 ; > @ 0x1405dbd78 ; > @ 0x1405dc780 ; > @ 0x1405dd2d0 ; > @ 0x1405de228 ; > @ 0x1405de258 ; > @ 0x1405de2c8 ; > @ 0x1405dee00 ; > @ 0x1405def58 ; > @ 0x1405dfce0 ; > @ 0x1405dfed8 ; > @ 0x1405e0c18 ; > @ 0x1405e1708 ; > @ 0x1405e1780 ; > @ 0x1405e2488 ; > @ 0x1405e27f8 ; > @ 0x1405e2e90 ; > @ 0x1405e4248 ; > @ 0x1405e44f0 ; > @ 0x1405e4c50 ; > @ 0x1405e5a18 ; > @ 0x1405e6160 ; > @ 0x1405e6848 ; > @ 0x1405e6d38 ; > @ 0x1405e7020 ; > @ 0x1405e81a0 ; > @ 0x1405e84e8 ; > @ 0x1405e9100 ; > @ 0x1405e97b0 ; > @ 0x1405ea390 ; > @ 0x1405eb070 ; > @ 0x1405eb878 ; > @ 0x1405ebbb0 ; > @ 0x1405ec388 ; > @ 0x1405ed448 ; > @ 0x1405ed480 ; > @ 0x1405ee0a8 ; > @ 0x1405ee360 ; > @ 0x1405ef278 ; > @ 0x1405ef800 ; > @ 0x1405f0330 ; > @ 0x1405f0360 ; > @ 0x1405f2650 ; > @ 0x1405f32b8 ; > @ 0x1405f5568 ; > @ 0x1405f5b38 ; > @ 0x1405f5be0 ; > @ 0x1405f6628 ; > @ 0x1405f6e18 ; > @ 0x1405f71a8 ; > @ 0x1405f7ed8 ; > @ 0x1405f81b0 ; > @ 0x1405f91f0 ; > @ 0x1405f9280 ; > @ 0x1405f92b0 ; > @ 0x1405f9e60 ; > @ 0x1405fa438 ; > @ 0x1405fb4d0 ; > @ 0x1405fcce8 ; > @ 0x1405fcd10 ; > @ 0x1405fdf38 ; > @ 0x1405fe070 ; > @ 0x1405fe648 ; > @ 0x1405fef90 ; > @ 0x1405fefa8 ; > @ 0x1405ff190 ; > @ 0x1405ff1a8 ; > @ 0x1405ff7e0 ; > @ 0x140600f98 ; > @ 0x1406010c8 ; > @ 0x1406015b8 ; > @ 0x1406015d0 ; > @ 0x140601640 ; > @ 0x140601668 ; > @ 0x140602ab0 ; > @ 0x140603690 ; > @ 0x140604250 ; > @ 0x140604a30 ; > @ 0x1406050d8 ; > @ 0x1406051f8 ; > @ 0x1406053a8 ; > @ 0x14060aa98 ; > @ 0x14060b030 ; > @ 0x14060b630 ; > @ 0x14060bfd8 ; > @ 0x14060c068 ; > @ 0x14060ce20 ; > @ 0x140621330 ; > @ 0x140621f60 ; > @ 0x1406c4e30 ; ; 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 ; push rbx ; +0x0, 0x140052870 sub rsp, 20h ; +0x2, 0x140052872 cmp edx, 20h ; ' ' ; +0x6, 0x140052876 jz short loc_14005288F ; +0x9, 0x140052879 cmp edx, 3EFh ; +0xb, 0x14005287b jz short loc_140052898 ; +0x11, 0x140052881 add rsp, 20h ; +0x13, 0x140052883 pop rbx ; +0x17, 0x140052887 jmp cs:__imp_?keyDown@CCLayer@cocos2d@@UEAAXW4enumKeyCodes@2@N@Z; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x18, 0x140052888 cmp byte ptr [rcx+115h], 0 ; +0x1f, 0x14005288f jz short loc_1400528E8 ; +0x26, 0x140052896 lea rbx, [rcx-158h] ; +0x28, 0x140052898 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2f, 0x14005289f mov rcx, rax ; +0x35, 0x1400528a5 mov rdx, [rax] ; +0x38, 0x1400528a8 call qword ptr [rdx+90h] ; +0x3b, 0x1400528ab mov rcx, rax ; +0x41, 0x1400528b1 mov rdx, rbx ; +0x44, 0x1400528b4 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x47, 0x1400528b7 mov rcx, [rbx+228h] ; +0x4d, 0x1400528bd test rcx, rcx ; +0x54, 0x1400528c4 jz short loc_1400528D4 ; +0x57, 0x1400528c7 mov rax, [rcx] ; +0x59, 0x1400528c9 mov r8b, 1 ; +0x5c, 0x1400528cc mov rdx, rbx ; +0x5f, 0x1400528cf call qword ptr [rax] ; +0x62, 0x1400528d2 mov rax, [rbx] ; +0x64, 0x1400528d4 mov dl, 1 ; +0x67, 0x1400528d7 mov rcx, rbx ; +0x69, 0x1400528d9 add rsp, 20h ; +0x6c, 0x1400528dc pop rbx ; +0x70, 0x1400528e0 jmp qword ptr [rax+1F8h] ; +0x71, 0x1400528e1 add rsp, 20h ; +0x78, 0x1400528e8 pop rbx ; +0x7c, 0x1400528ec retn ; +0x7d, 0x1400528ed