; ; cocos2d::CCKeypadHandler::handlerWithDelegate from 0x1800b40e0 to 0x1800b4198 (184 bytes) ; ; 5 xrefs: ; > cocos2d::CCKeypadDispatcher::addDelegate @ 0x1800b43e6 ; > cocos2d::CCKeypadDispatcher::dispatchKeypadMSG @ 0x1800b4548 ; > cocos2d::CCKeypadDispatcher::forceAddDelegate @ 0x1800b45ac ; > @ 0x1801438a8 ; > @ 0x1801b8814 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800b40e0 push rdi ; +0x5, 0x1800b40e5 sub rsp, 30h ; +0x6, 0x1800b40e6 mov rdi, rcx ; +0xa, 0x1800b40ea mov ecx, 40h ; '@'; Size ; +0xd, 0x1800b40ed call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x12, 0x1800b40f2 mov rbx, rax ; +0x17, 0x1800b40f7 mov [rsp+38h+arg_8], rax ; +0x1a, 0x1800b40fa test rax, rax ; +0x1f, 0x1800b40ff jz short loc_1800B4118 ; +0x22, 0x1800b4102 mov rcx, rax; this ; +0x24, 0x1800b4104 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x27, 0x1800b4107 lea rax, ??_7CCKeypadHandler@cocos2d@@6B@; const cocos2d::CCKeypadHandler::`vftable' ; +0x2c, 0x1800b410c mov [rbx], rax ; +0x33, 0x1800b4113 jmp short loc_1800B411A ; +0x36, 0x1800b4116 xor ebx, ebx ; +0x38, 0x1800b4118 test rbx, rbx ; +0x3a, 0x1800b411a jz short loc_1800B4175 ; +0x3d, 0x1800b411d mov rax, [rbx] ; +0x3f, 0x1800b411f mov r8, [rax+48h] ; +0x42, 0x1800b4122 lea rax, ?initWithDelegate@CCKeypadHandler@cocos2d@@UEAA_NPEAVCCKeypadDelegate@2@@Z; cocos2d::CCKeypadHandler::initWithDelegate(cocos2d::CCKeypadDelegate *) ; +0x46, 0x1800b4126 cmp r8, rax ; +0x4d, 0x1800b412d jnz short loc_1800B4160 ; +0x50, 0x1800b4130 mov [rbx+38h], rdi ; +0x52, 0x1800b4132 mov [rsp+38h+var_18], 0 ; +0x56, 0x1800b4136 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x5e, 0x1800b413e lea r8, ??_R0?AVCCKeypadDelegate@cocos2d@@@8; cocos2d::CCKeypadDelegate `RTTI Type Descriptor' ; +0x65, 0x1800b4145 xor edx, edx ; +0x6c, 0x1800b414c mov rcx, rdi ; +0x6e, 0x1800b414e call __RTDynamicCast ; +0x71, 0x1800b4151 mov rcx, rax; this ; +0x76, 0x1800b4156 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x79, 0x1800b4159 jmp short loc_1800B416D ; +0x7e, 0x1800b415e mov rdx, rdi ; +0x80, 0x1800b4160 mov rcx, rbx ; +0x83, 0x1800b4163 call r8 ; +0x86, 0x1800b4166 test al, al ; +0x89, 0x1800b4169 jz short loc_1800B4183 ; +0x8b, 0x1800b416b mov rcx, rbx; this ; +0x8d, 0x1800b416d call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x90, 0x1800b4170 mov rax, rbx ; +0x95, 0x1800b4175 mov rbx, [rsp+38h+arg_0] ; +0x98, 0x1800b4178 add rsp, 30h ; +0x9d, 0x1800b417d pop rdi ; +0xa1, 0x1800b4181 retn ; +0xa2, 0x1800b4182 mov rcx, rbx; this ; +0xa3, 0x1800b4183 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xa6, 0x1800b4186 xor eax, eax ; +0xab, 0x1800b418b mov rbx, [rsp+38h+arg_0] ; +0xad, 0x1800b418d add rsp, 30h ; +0xb2, 0x1800b4192 pop rdi ; +0xb6, 0x1800b4196 retn ; +0xb7, 0x1800b4197