{"type": "func", "start": 4296412128, "end": 4296412232, "name": "EditorUI::getTouchPoint", "pseudocode": "// \n// EditorUI::getTouchPoint from 0x100160be0 to 0x100160c48 (104 bytes)\n// \n// 8 xrefs:\n// > EditorUI::ccTouchBegan @ 0x1001611d0\n// > EditorUI::ccTouchBegan @ 0x100161314\n// > EditorUI::ccTouchMoved @ 0x10016162c\n// > EditorUI::ccTouchMoved @ 0x100161728\n// > EditorUI::ccTouchEnded @ 0x100161c64\n// > EditorUI::ccTouchEnded @ 0x100161d18\n// > EditorUI::ccTouchEnded @ 0x100161e58\n// > EditorUI::ccTouchEnded @ 0x100161ef4\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:46 +0000\n// \n\ndouble __usercall EditorUI::getTouchPoint@<D0>(__int64 a1@<X0>, __int64 a2@<X1>, _QWORD *a3@<X8>)\n{\n  _QWORD *LocationInView; // x0\n  __int64 v6; // x0\n  __int64 v8; // [xsp+8h] [xbp-18h] BYREF\n\n  LocationInView = cocos2d::CCTouch::getLocationInView(a3, a2);\n  v6 = cocos2d::CCDirector::sharedDirector(LocationInView);\n  cocos2d::CCDirector::convertToGL(&v8, v6, a3);\n  sub_10002630C(a3, (double *)&v8);\n  cocos2d::CCNode::convertToWorldSpace(&v8, a1, a3);\n  return sub_10002630C(a3, (double *)&v8);\n}", "assembly": "; \n; EditorUI::getTouchPoint from 0x100160be0 to 0x100160c48 (104 bytes)\n; \n; 8 xrefs:\n; > EditorUI::ccTouchBegan @ 0x1001611d0\n; > EditorUI::ccTouchBegan @ 0x100161314\n; > EditorUI::ccTouchMoved @ 0x10016162c\n; > EditorUI::ccTouchMoved @ 0x100161728\n; > EditorUI::ccTouchEnded @ 0x100161c64\n; > EditorUI::ccTouchEnded @ 0x100161d18\n; > EditorUI::ccTouchEnded @ 0x100161e58\n; > EditorUI::ccTouchEnded @ 0x100161ef4\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:46 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100160be0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100160be4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100160be8\nADD             X29, SP, #0x20                                         ; +0xc, 0x100160bec\nMOV             X19, X0                                                ; +0x10, 0x100160bf0\nMOV             X20, X8                                                ; +0x14, 0x100160bf4\nMOV             X0, X1                                                 ; +0x18, 0x100160bf8\nBL              cocos2d__CCTouch__getLocationInView                    ; +0x1c, 0x100160bfc\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x20, 0x100160c00\nADD             X8, SP, #0x20+var_18                                   ; +0x24, 0x100160c04\nMOV             X1, X20                                                ; +0x28, 0x100160c08\nBL              cocos2d__CCDirector__convertToGL                       ; +0x2c, 0x100160c0c\nADD             X1, SP, #0x20+var_18                                   ; +0x30, 0x100160c10\nMOV             X0, X20                                                ; +0x34, 0x100160c14\nBL              sub_10002630C                                          ; +0x38, 0x100160c18\nADD             X8, SP, #0x20+var_18                                   ; +0x3c, 0x100160c1c\nMOV             X0, X19                                                ; +0x40, 0x100160c20\nMOV             X1, X20                                                ; +0x44, 0x100160c24\nBL              cocos2d__CCNode__convertToWorldSpace                   ; +0x48, 0x100160c28\nADD             X1, SP, #0x20+var_18                                   ; +0x4c, 0x100160c2c\nMOV             X0, X20                                                ; +0x50, 0x100160c30\nBL              sub_10002630C                                          ; +0x54, 0x100160c34\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x100160c38\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x100160c3c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x60, 0x100160c40\nRET                                                                    ; +0x64, 0x100160c44", "xrefs": ["EditorUI::ccTouchBegan @ 0x1001611d0", "EditorUI::ccTouchBegan @ 0x100161314", "EditorUI::ccTouchMoved @ 0x10016162c", "EditorUI::ccTouchMoved @ 0x100161728", "EditorUI::ccTouchEnded @ 0x100161c64", "EditorUI::ccTouchEnded @ 0x100161d18", "EditorUI::ccTouchEnded @ 0x100161e58", "EditorUI::ccTouchEnded @ 0x100161ef4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}