; ; cocos2d::CCLayer::ccTouchBegan from 0x180051250 to 0x18005129e (78 bytes) ; ; 7 xrefs: ; > @ 0x1800f3458 ; > @ 0x1800f3938 ; > @ 0x1800f3ea8 ; > @ 0x1800f44a0 ; > @ 0x1800f4a10 ; > @ 0x18014cf68 ; > @ 0x1801bc028 ; ; 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, 0x180051250 push rdi ; +0x5, 0x180051255 sub rsp, 20h ; +0x6, 0x180051256 cmp dword ptr [rcx-14h], 0 ; +0xa, 0x18005125a lea rbx, [rcx-140h] ; +0xe, 0x18005125e mov rdi, rdx ; +0x15, 0x180051265 jz short loc_180051291 ; +0x18, 0x180051268 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x1a, 0x18005126a mov r9, rdi ; +0x1f, 0x18005126f xor r8d, r8d ; +0x22, 0x180051272 mov rdx, rbx ; +0x25, 0x180051275 mov rcx, [rax] ; +0x28, 0x180051278 mov rax, [rcx] ; +0x2b, 0x18005127b call qword ptr [rax+70h] ; +0x2e, 0x18005127e test eax, eax ; +0x31, 0x180051281 setnz al ; +0x33, 0x180051283 mov rbx, [rsp+28h+arg_0] ; +0x36, 0x180051286 add rsp, 20h ; +0x3b, 0x18005128b pop rdi ; +0x3f, 0x18005128f retn ; +0x40, 0x180051290 mov rbx, [rsp+28h+arg_0] ; +0x41, 0x180051291 mov al, 1 ; +0x46, 0x180051296 add rsp, 20h ; +0x48, 0x180051298 pop rdi ; +0x4c, 0x18005129c retn ; +0x4d, 0x18005129d