{"type": "func", "start": 6442468400, "end": 6442468468, "name": "cocos2d::extension::CCControlSwitch::locationFromTouch", "pseudocode": "// \n// cocos2d::extension::CCControlSwitch::locationFromTouch from 0x180004430 to 0x180004474 (68 bytes)\n// \n// 12 xrefs:\n// > <???> @ 0x180026060\n// > <???> @ 0x180026680\n// > <???> @ 0x180026c00\n// > <???> @ 0x180027338\n// > <???> @ 0x180027908\n// > <???> @ 0x180027f10\n// > <???> @ 0x1800284e0\n// > <???> @ 0x180028ad0\n// > <???> @ 0x180029118\n// > <???> @ 0x18002a5f8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b3cc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:35 +0000\n// \n\n// Alternative name is '?getTouchLocation@CCControl@extension@cocos2d@@UEAA?AVCCPoint@3@PEAVCCTouch@3@@Z'\n__int64 __fastcall cocos2d::extension::CCControlSwitch::locationFromTouch(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rax\n  char v7; // [rsp+38h] [rbp+10h] BYREF\n\n  cocos2d::CCTouch::getLocation(a3);\n  v5 = cocos2d::CCNode::convertToNodeSpace(a1, &v7, a2);\n  cocos2d::CCPoint::operator=(a2, v5);\n  return a2;\n}", "assembly": "; \n; cocos2d::extension::CCControlSwitch::locationFromTouch from 0x180004430 to 0x180004474 (68 bytes)\n; \n; 12 xrefs:\n; > <???> @ 0x180026060\n; > <???> @ 0x180026680\n; > <???> @ 0x180026c00\n; > <???> @ 0x180027338\n; > <???> @ 0x180027908\n; > <???> @ 0x180027f10\n; > <???> @ 0x1800284e0\n; > <???> @ 0x180028ad0\n; > <???> @ 0x180029118\n; > <???> @ 0x18002a5f8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b3cc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180004430\npush    rdi                                                            ; +0x5, 0x180004435\nsub     rsp, 20h                                                       ; +0x6, 0x180004436\nmov     rbx, rcx                                                       ; +0xa, 0x18000443a\nmov     rdi, rdx                                                       ; +0xd, 0x18000443d\nmov     rcx, r8                                                        ; +0x10, 0x180004440\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x13, 0x180004443\nmov     r8, rdi                                                        ; +0x19, 0x180004449\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x1c, 0x18000444c\nmov     rcx, rbx                                                       ; +0x21, 0x180004451\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x24, 0x180004454\nmov     rdx, rax                                                       ; +0x2a, 0x18000445a\nmov     rcx, rdi                                                       ; +0x2d, 0x18000445d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x30, 0x180004460\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x36, 0x180004466\nmov     rax, rdi                                                       ; +0x3b, 0x18000446b\nadd     rsp, 20h                                                       ; +0x3e, 0x18000446e\npop     rdi                                                            ; +0x42, 0x180004472\nretn                                                                   ; +0x43, 0x180004473", "xrefs": ["<???> @ 0x180026060", "<???> @ 0x180026680", "<???> @ 0x180026c00", "<???> @ 0x180027338", "<???> @ 0x180027908", "<???> @ 0x180027f10", "<???> @ 0x1800284e0", "<???> @ 0x180028ad0", "<???> @ 0x180029118", "<???> @ 0x18002a5f8", "<???> @ 0x180032408", "<???> @ 0x18004b3cc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}