; ; cocos2d::CCLayer::keyMenuClicked from 0x180050530 to 0x180050567 (55 bytes) ; ; 8 xrefs: ; > @ 0x1800ed368 ; > @ 0x1800ed828 ; > @ 0x1800edd78 ; > @ 0x1800ee350 ; > @ 0x1800ee8a0 ; > @ 0x1800f7180 ; > @ 0x1801438a8 ; > @ 0x1801b1fc8 ; ; 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 ; push rbx ; +0x0, 0x180050530 sub rsp, 20h ; +0x2, 0x180050532 cmp qword ptr [rcx+28h], 0 ; +0x6, 0x180050536 mov rbx, rcx ; +0xb, 0x18005053b jz short loc_180050561 ; +0xe, 0x18005053e call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x10, 0x180050540 lea rdx, [rbx-150h] ; +0x15, 0x180050545 mov r8d, 2 ; +0x1c, 0x18005054c mov rcx, [rax] ; +0x22, 0x180050552 mov rax, [rcx] ; +0x25, 0x180050555 add rsp, 20h ; +0x28, 0x180050558 pop rbx ; +0x2c, 0x18005055c jmp qword ptr [rax+78h] ; +0x2d, 0x18005055d add rsp, 20h ; +0x31, 0x180050561 pop rbx ; +0x35, 0x180050565 retn ; +0x36, 0x180050566