; ; cocos2d::CCMenu::itemForTouch from 0x18005b610 to 0x18005b646 (54 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bcdf0 ; ; 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:49 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005b610 push rdi ; +0x5, 0x18005b615 sub rsp, 20h ; +0x6, 0x18005b616 xor r8d, r8d; bool ; +0xa, 0x18005b61a mov rbx, rdx ; +0xd, 0x18005b61d mov rdi, rcx ; +0x10, 0x18005b620 call ?itemForTouch@CCMenu@cocos2d@@IEAAPEAVCCMenuItem@2@PEAVCCTouch@2@_N@Z; cocos2d::CCMenu::itemForTouch(cocos2d::CCTouch *,bool) ; +0x13, 0x18005b623 test rax, rax ; +0x18, 0x18005b628 jnz short loc_18005B63B ; +0x1b, 0x18005b62b mov r8b, 1; bool ; +0x1d, 0x18005b62d mov rdx, rbx; struct cocos2d::CCTouch * ; +0x20, 0x18005b630 mov rcx, rdi; this ; +0x23, 0x18005b633 call ?itemForTouch@CCMenu@cocos2d@@IEAAPEAVCCMenuItem@2@PEAVCCTouch@2@_N@Z; cocos2d::CCMenu::itemForTouch(cocos2d::CCTouch *,bool) ; +0x26, 0x18005b636 mov rbx, [rsp+28h+arg_0] ; +0x2b, 0x18005b63b add rsp, 20h ; +0x30, 0x18005b640 pop rdi ; +0x34, 0x18005b644 retn ; +0x35, 0x18005b645