; ; cocos2d::CCLayer::registerScriptKeypadHandler from 0x180050850 to 0x18005089b (75 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b201c ; ; 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, 0x180050850 push rdi ; +0x5, 0x180050855 sub rsp, 20h ; +0x6, 0x180050856 mov rbx, rcx ; +0xa, 0x18005085a mov edi, edx ; +0xd, 0x18005085d mov rcx, [rcx+178h]; this ; +0xf, 0x18005085f test rcx, rcx ; +0x16, 0x180050866 jz short loc_18005087B ; +0x19, 0x180050869 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1b, 0x18005086b mov qword ptr [rbx+178h], 0 ; +0x20, 0x180050870 mov ecx, edi ; +0x2b, 0x18005087b call sub_1800B6810 ; +0x2d, 0x18005087d mov rcx, rax; this ; +0x32, 0x180050882 mov [rbx+178h], rax ; +0x35, 0x180050885 mov rbx, [rsp+28h+arg_0] ; +0x3c, 0x18005088c add rsp, 20h ; +0x41, 0x180050891 pop rdi ; +0x45, 0x180050895 jmp ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x46, 0x180050896