; ; cocos2d::CCKeypadHandler::setDelegate from 0x1800b41e0 to 0x1800b425a (122 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b882c ; ; 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, 0x1800b41e0 push rdi ; +0x5, 0x1800b41e5 sub rsp, 30h ; +0x6, 0x1800b41e6 mov rbx, rdx ; +0xa, 0x1800b41ea mov rdi, rcx ; +0xd, 0x1800b41ed test rdx, rdx ; +0x10, 0x1800b41f0 jz short loc_1800B421D ; +0x13, 0x1800b41f3 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x15, 0x1800b41f5 mov [rsp+38h+var_18], 0 ; +0x1c, 0x1800b41fc lea r8, ??_R0?AVCCKeypadDelegate@cocos2d@@@8; cocos2d::CCKeypadDelegate `RTTI Type Descriptor' ; +0x24, 0x1800b4204 xor edx, edx ; +0x2b, 0x1800b420b mov rcx, rbx ; +0x2d, 0x1800b420d call __RTDynamicCast ; +0x30, 0x1800b4210 mov rcx, rax; this ; +0x35, 0x1800b4215 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x38, 0x1800b4218 mov rcx, [rdi+38h] ; +0x3d, 0x1800b421d test rcx, rcx ; +0x41, 0x1800b4221 jz short loc_1800B424B ; +0x44, 0x1800b4224 lea r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x46, 0x1800b4226 mov [rsp+38h+var_18], 0 ; +0x4d, 0x1800b422d lea r8, ??_R0?AVCCKeypadDelegate@cocos2d@@@8; cocos2d::CCKeypadDelegate `RTTI Type Descriptor' ; +0x55, 0x1800b4235 xor edx, edx ; +0x5c, 0x1800b423c call __RTDynamicCast ; +0x5e, 0x1800b423e mov rcx, rax; this ; +0x63, 0x1800b4243 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x66, 0x1800b4246 mov [rdi+38h], rbx ; +0x6b, 0x1800b424b mov rbx, [rsp+38h+arg_0] ; +0x6f, 0x1800b424f add rsp, 30h ; +0x74, 0x1800b4254 pop rdi ; +0x78, 0x1800b4258 retn ; +0x79, 0x1800b4259