{"type": "func", "start": 4295290064, "end": 4295290161, "name": "EditorUI::getTouchPoint", "pseudocode": "// \n// EditorUI::getTouchPoint from 0x10004ecd0 to 0x10004ed31 (97 bytes)\n// \n// 5 xrefs:\n// > EditorUI::ccTouchMoved @ 0x10004f6f5\n// > EditorUI::ccTouchMoved @ 0x10004f8f0\n// > EditorUI::ccTouchEnded @ 0x10004fc0b\n// > EditorUI::ccTouchEnded @ 0x10004fe3d\n// > EditorUI::ccTouchEnded @ 0x10004fecd\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCPoint __fastcall EditorUI::getTouchPoint(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  __int64 v3; // rax\n  cocos2d::CCDirector *v4; // rax\n  _QWORD v6[4]; // [rsp+0h] [rbp-20h] BYREF\n  cocos2d::CCPoint result; // 0:xmm0_8.8\n\n  v6[0] = v3;\n  cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)a1);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v6, (const cocos2d::CCPoint *)v4);\n  sub_10028CC90();\n  cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v6, (const cocos2d::CCPoint *)a2);\n  *(double *)&result = sub_10028CC90();\n  return result;\n}", "assembly": "; \n; EditorUI::getTouchPoint from 0x10004ecd0 to 0x10004ed31 (97 bytes)\n; \n; 5 xrefs:\n; > EditorUI::ccTouchMoved @ 0x10004f6f5\n; > EditorUI::ccTouchMoved @ 0x10004f8f0\n; > EditorUI::ccTouchEnded @ 0x10004fc0b\n; > EditorUI::ccTouchEnded @ 0x10004fe3d\n; > EditorUI::ccTouchEnded @ 0x10004fecd\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10004ecd0\nmov     rbp, rsp                                                       ; +0x1, 0x10004ecd1\npush    r15                                                            ; +0x4, 0x10004ecd4\npush    r14                                                            ; +0x6, 0x10004ecd6\npush    rbx                                                            ; +0x8, 0x10004ecd8\npush    rax                                                            ; +0x9, 0x10004ecd9\nmov     r14, rsi                                                       ; +0xa, 0x10004ecda\nmov     rbx, rdi                                                       ; +0xd, 0x10004ecdd\nmov     rsi, rdx                                                       ; +0x10, 0x10004ece0\ncall    cocos2d__CCTouch__getLocationInView                            ; +0x13, 0x10004ece3\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x18, 0x10004ece8\nlea     r15, [rbp+var_20]                                              ; +0x1d, 0x10004eced\nmov     rdi, r15                                                       ; +0x21, 0x10004ecf1\nmov     rsi, rax                                                       ; +0x24, 0x10004ecf4\nmov     rdx, rbx                                                       ; +0x27, 0x10004ecf7\ncall    cocos2d__CCDirector__convertToGL                               ; +0x2a, 0x10004ecfa\nmov     rdi, rbx                                                       ; +0x2f, 0x10004ecff\nmov     rsi, r15                                                       ; +0x32, 0x10004ed02\ncall    sub_10028CC90                                                  ; +0x35, 0x10004ed05\nmov     rdi, r15                                                       ; +0x3a, 0x10004ed0a\nmov     rsi, r14                                                       ; +0x3d, 0x10004ed0d\nmov     rdx, rbx                                                       ; +0x40, 0x10004ed10\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x43, 0x10004ed13\nmov     rdi, rbx                                                       ; +0x48, 0x10004ed18\nmov     rsi, r15                                                       ; +0x4b, 0x10004ed1b\ncall    sub_10028CC90                                                  ; +0x4e, 0x10004ed1e\nmov     rax, rbx                                                       ; +0x53, 0x10004ed23\nadd     rsp, 8                                                         ; +0x56, 0x10004ed26\npop     rbx                                                            ; +0x5a, 0x10004ed2a\npop     r14                                                            ; +0x5b, 0x10004ed2b\npop     r15                                                            ; +0x5d, 0x10004ed2d\npop     rbp                                                            ; +0x5f, 0x10004ed2f\nretn                                                                   ; +0x60, 0x10004ed30", "xrefs": ["EditorUI::ccTouchMoved @ 0x10004f6f5", "EditorUI::ccTouchMoved @ 0x10004f8f0", "EditorUI::ccTouchEnded @ 0x10004fc0b", "EditorUI::ccTouchEnded @ 0x10004fe3d", "EditorUI::ccTouchEnded @ 0x10004fecd"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}