; ; cocos2d::CCLayer::ccTouchBegan from 0x18004f430 to 0x18004f47e (78 bytes) ; ; 7 xrefs: ; > @ 0x1800ed2f8 ; > @ 0x1800ed7b8 ; > @ 0x1800edd08 ; > @ 0x1800ee2e0 ; > @ 0x1800ee830 ; > @ 0x1801438a8 ; > @ 0x1801b1d94 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18004f430 push rdi ; +0x5, 0x18004f435 sub rsp, 20h ; +0x6, 0x18004f436 cmp dword ptr [rcx-14h], 0 ; +0xa, 0x18004f43a mov rdi, rdx ; +0xe, 0x18004f43e mov rbx, rcx ; +0x11, 0x18004f441 jz short loc_18004F471 ; +0x14, 0x18004f444 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x16, 0x18004f446 lea rdx, [rbx-140h] ; +0x1b, 0x18004f44b mov r9, rdi ; +0x22, 0x18004f452 xor r8d, r8d ; +0x25, 0x18004f455 mov rcx, [rax] ; +0x28, 0x18004f458 mov rax, [rcx] ; +0x2b, 0x18004f45b call qword ptr [rax+70h] ; +0x2e, 0x18004f45e test eax, eax ; +0x31, 0x18004f461 setnz al ; +0x33, 0x18004f463 mov rbx, [rsp+28h+arg_0] ; +0x36, 0x18004f466 add rsp, 20h ; +0x3b, 0x18004f46b pop rdi ; +0x3f, 0x18004f46f retn ; +0x40, 0x18004f470 mov rbx, [rsp+28h+arg_0] ; +0x41, 0x18004f471 mov al, 1 ; +0x46, 0x18004f476 add rsp, 20h ; +0x48, 0x18004f478 pop rdi ; +0x4c, 0x18004f47c retn ; +0x4d, 0x18004f47d