; ; cocos2d::CCLayer::registerScriptAccelerateHandler from 0x180052620 to 0x18005266b (75 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bc2a4 ; ; 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, 0x180052620 push rdi ; +0x5, 0x180052625 sub rsp, 20h ; +0x6, 0x180052626 mov rbx, rcx ; +0xa, 0x18005262a mov edi, edx ; +0xd, 0x18005262d mov rcx, [rcx+180h]; this ; +0xf, 0x18005262f test rcx, rcx ; +0x16, 0x180052636 jz short loc_18005264B ; +0x19, 0x180052639 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1b, 0x18005263b mov qword ptr [rbx+180h], 0 ; +0x20, 0x180052640 mov ecx, edi ; +0x2b, 0x18005264b call cocos2d__CCScriptHandlerEntry__create ; +0x2d, 0x18005264d mov rcx, rax; this ; +0x32, 0x180052652 mov [rbx+180h], rax ; +0x35, 0x180052655 mov rbx, [rsp+28h+arg_0] ; +0x3c, 0x18005265c add rsp, 20h ; +0x41, 0x180052661 pop rdi ; +0x45, 0x180052665 jmp ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x46, 0x180052666