; ; cocos2d::extension::CCControlSwitch::locationFromTouch from 0x1800049b0 to 0x1800049f4 (68 bytes) ; ; 12 xrefs: ; > @ 0x180023b38 ; > @ 0x180024138 ; > @ 0x1800246a8 ; > @ 0x180024db0 ; > @ 0x180025360 ; > @ 0x180025948 ; > @ 0x180025ef8 ; > @ 0x1800264c8 ; > @ 0x180026af0 ; > @ 0x180027f80 ; > @ 0x18002fdf8 ; > @ 0x180049480 ; ; 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, 0x1800049b0 push rdi ; +0x5, 0x1800049b5 sub rsp, 20h ; +0x6, 0x1800049b6 mov rbx, rcx ; +0xa, 0x1800049ba mov rdi, rdx ; +0xd, 0x1800049bd mov rcx, r8 ; +0x10, 0x1800049c0 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x13, 0x1800049c3 mov r8, rdi ; +0x19, 0x1800049c9 lea rdx, [rsp+28h+arg_8] ; +0x1c, 0x1800049cc mov rcx, rbx ; +0x21, 0x1800049d1 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x24, 0x1800049d4 mov rdx, rax ; +0x2a, 0x1800049da mov rcx, rdi ; +0x2d, 0x1800049dd call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x30, 0x1800049e0 mov rbx, [rsp+28h+arg_0] ; +0x36, 0x1800049e6 mov rax, rdi ; +0x3b, 0x1800049eb add rsp, 20h ; +0x3e, 0x1800049ee pop rdi ; +0x42, 0x1800049f2 retn ; +0x43, 0x1800049f3