; ; cocos2d::CCLayer::ccTouchesBegan from 0x180051360 to 0x18005139c (60 bytes) ; ; 8 xrefs: ; > @ 0x1800f3478 ; > @ 0x1800f3958 ; > @ 0x1800f3ec8 ; > @ 0x1800f44c0 ; > @ 0x1800f4a30 ; > @ 0x1800fd578 ; > @ 0x18014cf68 ; > @ 0x1801bc058 ; ; 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, 0x180051360 push rdi ; +0x5, 0x180051365 sub rsp, 20h ; +0x6, 0x180051366 cmp dword ptr [rcx-14h], 0 ; +0xa, 0x18005136a lea rbx, [rcx-140h] ; +0xe, 0x18005136e mov rdi, rdx ; +0x15, 0x180051375 jz short loc_180051391 ; +0x18, 0x180051378 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x18005137a mov r9, rdi ; +0x1f, 0x18005137f xor r8d, r8d ; +0x22, 0x180051382 mov rdx, rbx ; +0x25, 0x180051385 mov rcx, [rax] ; +0x28, 0x180051388 mov rax, [rcx] ; +0x2b, 0x18005138b call qword ptr [rax+68h] ; +0x2e, 0x18005138e mov rbx, [rsp+28h+arg_0] ; +0x31, 0x180051391 add rsp, 20h ; +0x36, 0x180051396 pop rdi ; +0x3a, 0x18005139a retn ; +0x3b, 0x18005139b