; ; cocos2d::CCLayer::keyBackClicked from 0x1800504b0 to 0x1800504ed (61 bytes) ; ; 8 xrefs: ; > @ 0x1800ed360 ; > @ 0x1800ed820 ; > @ 0x1800edd70 ; > @ 0x1800ee348 ; > @ 0x1800ee898 ; > @ 0x1800f7178 ; > @ 0x1801438a8 ; > @ 0x1801b1fb0 ; ; 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, 0x1800504b0 sub rsp, 20h ; +0x2, 0x1800504b2 cmp qword ptr [rcx+28h], 0 ; +0x6, 0x1800504b6 mov rbx, rcx ; +0xb, 0x1800504bb jnz short loc_1800504C6 ; +0xe, 0x1800504be cmp dword ptr [rcx-24h], 2 ; +0x10, 0x1800504c0 jnz short loc_1800504E7 ; +0x14, 0x1800504c4 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x16, 0x1800504c6 lea rdx, [rbx-150h] ; +0x1b, 0x1800504cb mov r8d, 1 ; +0x22, 0x1800504d2 mov rcx, [rax] ; +0x28, 0x1800504d8 mov rax, [rcx] ; +0x2b, 0x1800504db add rsp, 20h ; +0x2e, 0x1800504de pop rbx ; +0x32, 0x1800504e2 jmp qword ptr [rax+78h] ; +0x33, 0x1800504e3 add rsp, 20h ; +0x37, 0x1800504e7 pop rbx ; +0x3b, 0x1800504eb retn ; +0x3c, 0x1800504ec