; ; cocos2d::CCLayer::registerScriptKeypadHandler from 0x180052670 to 0x1800526bb (75 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bc2b0 ; ; 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:45 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180052670 push rdi ; +0x5, 0x180052675 sub rsp, 20h ; +0x6, 0x180052676 mov rbx, rcx ; +0xa, 0x18005267a mov edi, edx ; +0xd, 0x18005267d mov rcx, [rcx+178h]; this ; +0xf, 0x18005267f test rcx, rcx ; +0x16, 0x180052686 jz short loc_18005269B ; +0x19, 0x180052689 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1b, 0x18005268b mov qword ptr [rbx+178h], 0 ; +0x20, 0x180052690 mov ecx, edi ; +0x2b, 0x18005269b call cocos2d__CCScriptHandlerEntry__create ; +0x2d, 0x18005269d mov rcx, rax; this ; +0x32, 0x1800526a2 mov [rbx+178h], rax ; +0x35, 0x1800526a5 mov rbx, [rsp+28h+arg_0] ; +0x3c, 0x1800526ac add rsp, 20h ; +0x41, 0x1800526b1 pop rdi ; +0x45, 0x1800526b5 jmp ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x46, 0x1800526b6