; ; cocos2d::CCLayer::setKeypadEnabled from 0x180052a90 to 0x180052b32 (162 bytes) ; ; 11 xrefs: ; > @ 0x1800f3420 ; > @ 0x1800f3900 ; > @ 0x1800f3e58 ; > @ 0x1800f43e0 ; > @ 0x1800f49d8 ; > @ 0x1800fd510 ; > @ 0x180141274 ; > @ 0x180141288 ; > @ 0x180141298 ; > @ 0x18014cf68 ; > @ 0x1801bc34c ; ; 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:46 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180052a90 push rdi ; +0x5, 0x180052a95 sub rsp, 20h ; +0x6, 0x180052a96 mov rax, [rcx] ; +0xa, 0x180052a9a movzx edi, dl ; +0xd, 0x180052a9d mov rbx, rcx ; +0x10, 0x180052aa0 call qword ptr [rax+3F0h] ; +0x13, 0x180052aa3 cmp dil, [rbx+16Ah] ; +0x19, 0x180052aa9 jz short loc_180052B27 ; +0x20, 0x180052ab0 cmp byte ptr [rbx+110h], 0 ; +0x22, 0x180052ab2 mov [rbx+16Ah], dil ; +0x29, 0x180052ab9 jz short loc_180052B27 ; +0x30, 0x180052ac0 mov [rsp+28h+arg_0], rsi ; +0x32, 0x180052ac2 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x37, 0x180052ac7 xor ecx, ecx ; +0x3c, 0x180052acc lea rsi, [rbx+150h] ; +0x3e, 0x180052ace mov rdx, [rax] ; +0x45, 0x180052ad5 test dil, dil ; +0x48, 0x180052ad8 jz short loc_180052B07 ; +0x4b, 0x180052adb test rbx, rbx ; +0x4d, 0x180052add cmovz rsi, rcx ; +0x50, 0x180052ae0 mov rcx, rax ; +0x54, 0x180052ae4 call qword ptr [rdx+0A0h] ; +0x57, 0x180052ae7 mov rcx, rax; this ; +0x5d, 0x180052aed mov rdx, rsi; struct cocos2d::CCKeypadDelegate * ; +0x60, 0x180052af0 mov rsi, [rsp+28h+arg_0] ; +0x63, 0x180052af3 mov rbx, [rsp+28h+arg_8] ; +0x68, 0x180052af8 add rsp, 20h ; +0x6d, 0x180052afd pop rdi ; +0x71, 0x180052b01 jmp ?addDelegate@CCKeypadDispatcher@cocos2d@@QEAAXPEAVCCKeypadDelegate@2@@Z; cocos2d::CCKeypadDispatcher::addDelegate(cocos2d::CCKeypadDelegate *) ; +0x72, 0x180052b02 test rbx, rbx ; +0x77, 0x180052b07 cmovz rsi, rcx ; +0x7a, 0x180052b0a mov rcx, rax ; +0x7e, 0x180052b0e call qword ptr [rdx+0A0h] ; +0x81, 0x180052b11 mov rcx, rax; this ; +0x87, 0x180052b17 mov rdx, rsi; struct cocos2d::CCMouseDelegate * ; +0x8a, 0x180052b1a call ?removeDelegate@CCMouseDispatcher@cocos2d@@QEAAXPEAVCCMouseDelegate@2@@Z; cocos2d::CCMouseDispatcher::removeDelegate(cocos2d::CCMouseDelegate *) ; +0x8d, 0x180052b1d mov rsi, [rsp+28h+arg_0] ; +0x92, 0x180052b22 mov rbx, [rsp+28h+arg_8] ; +0x97, 0x180052b27 add rsp, 20h ; +0x9c, 0x180052b2c pop rdi ; +0xa0, 0x180052b30 retn ; +0xa1, 0x180052b31