; ; cocos2d::CCKeypadHandler::handlerWithDelegate from 0x1800b7e20 to 0x1800b7ed8 (184 bytes) ; ; 5 xrefs: ; > cocos2d::CCKeypadDispatcher::addDelegate @ 0x1800b8126 ; > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x1800b8288 ; > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x1800b82dc ; > @ 0x18014cf68 ; > @ 0x1801c2b08 ; ; 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:22:22 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800b7e20 push rdi ; +0x5, 0x1800b7e25 sub rsp, 30h ; +0x6, 0x1800b7e26 mov rdi, rcx ; +0xa, 0x1800b7e2a mov ecx, 40h ; '@'; Size ; +0xd, 0x1800b7e2d call sub_1800E4AC0 ; +0x12, 0x1800b7e32 mov rbx, rax ; +0x17, 0x1800b7e37 mov [rsp+38h+arg_8], rax ; +0x1a, 0x1800b7e3a test rax, rax ; +0x1f, 0x1800b7e3f jz short loc_1800B7E58 ; +0x22, 0x1800b7e42 mov rcx, rax; this ; +0x24, 0x1800b7e44 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x1800b7e47 lea rax, ??_7CCKeypadHandler@cocos2d@@6B@; const cocos2d::CCKeypadHandler::`vftable' ; +0x2c, 0x1800b7e4c mov [rbx], rax ; +0x33, 0x1800b7e53 jmp short loc_1800B7E5A ; +0x36, 0x1800b7e56 xor ebx, ebx ; +0x38, 0x1800b7e58 test rbx, rbx ; +0x3a, 0x1800b7e5a jz short loc_1800B7EB5 ; +0x3d, 0x1800b7e5d mov rax, [rbx] ; +0x3f, 0x1800b7e5f mov r8, [rax+48h] ; +0x42, 0x1800b7e62 lea rax, ?initWithDelegate@CCKeypadHandler@cocos2d@@UEAA_NPEAVCCKeypadDelegate@2@@Z; cocos2d::CCKeypadHandler::initWithDelegate(cocos2d::CCKeypadDelegate *) ; +0x46, 0x1800b7e66 cmp r8, rax ; +0x4d, 0x1800b7e6d jnz short loc_1800B7EA0 ; +0x50, 0x1800b7e70 mov [rbx+38h], rdi ; +0x52, 0x1800b7e72 mov [rsp+38h+var_18], 0 ; +0x56, 0x1800b7e76 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x5e, 0x1800b7e7e lea r8, ??_R0?AVCCKeypadDelegate@cocos2d@@@8; cocos2d::CCKeypadDelegate `RTTI Type Descriptor' ; +0x65, 0x1800b7e85 xor edx, edx ; +0x6c, 0x1800b7e8c mov rcx, rdi ; +0x6e, 0x1800b7e8e call __RTDynamicCast ; +0x71, 0x1800b7e91 mov rcx, rax; this ; +0x76, 0x1800b7e96 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x79, 0x1800b7e99 jmp short loc_1800B7EAD ; +0x7e, 0x1800b7e9e mov rdx, rdi ; +0x80, 0x1800b7ea0 mov rcx, rbx ; +0x83, 0x1800b7ea3 call r8 ; +0x86, 0x1800b7ea6 test al, al ; +0x89, 0x1800b7ea9 jz short loc_1800B7EC3 ; +0x8b, 0x1800b7eab mov rcx, rbx; this ; +0x8d, 0x1800b7ead call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x90, 0x1800b7eb0 mov rax, rbx ; +0x95, 0x1800b7eb5 mov rbx, [rsp+38h+arg_0] ; +0x98, 0x1800b7eb8 add rsp, 30h ; +0x9d, 0x1800b7ebd pop rdi ; +0xa1, 0x1800b7ec1 retn ; +0xa2, 0x1800b7ec2 mov rcx, rbx; this ; +0xa3, 0x1800b7ec3 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xa6, 0x1800b7ec6 xor eax, eax ; +0xab, 0x1800b7ecb mov rbx, [rsp+38h+arg_0] ; +0xad, 0x1800b7ecd add rsp, 30h ; +0xb2, 0x1800b7ed2 pop rdi ; +0xb6, 0x1800b7ed6 retn ; +0xb7, 0x1800b7ed7