{"type": "func", "start": 6882420, "end": 6882568, "name": "EditorUI::getTouchPoint", "pseudocode": "// \n// EditorUI::getTouchPoint from 0x690474 to 0x690508 (148 bytes)\n// \n// 9 xrefs:\n// > EditorUI::ccTouchMoved @ 0x6c18d0\n// > EditorUI::ccTouchMoved @ 0x6c1ab8\n// > EditorUI::ccTouchMoved @ 0x6c1b14\n// > EditorUI::ccTouchEnded @ 0x6c2970\n// > EditorUI::ccTouchEnded @ 0x6c2a04\n// > EditorUI::ccTouchEnded @ 0x6c2ccc\n// > EditorUI::ccTouchEnded @ 0x6c2d60\n// > EditorUI::ccTouchBegan @ 0x6c50b0\n// > <???> @ 0xba3a8\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 EditorUI::getTouchPoint(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  const cocos2d::CCPoint *v3; // x8\n  const cocos2d::CCPoint *v5; // x20\n  cocos2d::CCDirector *v6; // x0\n  cocos2d::CCPoint v9; // 0:kr08_8.8\n  cocos2d::CCPoint v10; // 0:kr10_8.8\n  cocos2d::CCPoint result; // 0:s0.4,4:s1.4\n\n  v5 = v3;\n  cocos2d::CCTouch::getLocationInView(a2);\n  v6 = cocos2d::CCDirector::sharedDirector();\n  v9 = cocos2d::CCDirector::convertToGL(v6, v5);\n  cocos2d::CCPoint::operator=(v5, v9.x, v9.y);\n  v10 = cocos2d::CCNode::convertToWorldSpace(a1, v5);\n  cocos2d::CCPoint::operator=(v5, v10.x, v10.y);\n  return result;\n}", "assembly": "; \n; EditorUI::getTouchPoint from 0x690474 to 0x690508 (148 bytes)\n; \n; 9 xrefs:\n; > EditorUI::ccTouchMoved @ 0x6c18d0\n; > EditorUI::ccTouchMoved @ 0x6c1ab8\n; > EditorUI::ccTouchMoved @ 0x6c1b14\n; > EditorUI::ccTouchEnded @ 0x6c2970\n; > EditorUI::ccTouchEnded @ 0x6c2a04\n; > EditorUI::ccTouchEnded @ 0x6c2ccc\n; > EditorUI::ccTouchEnded @ 0x6c2d60\n; > EditorUI::ccTouchBegan @ 0x6c50b0\n; > <???> @ 0xba3a8\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x690474\nMOV             X29, SP                                                ; +0x4, 0x690478\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x8, 0x69047c\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x690480\nMOV             X22, X0                                                ; +0x10, 0x690484\nMOV             X0, X1; this                                           ; +0x14, 0x690488\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x18, 0x69048c\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x690490\nMOV             X20, X8                                                ; +0x20, 0x690494\nADD             X19, X29, #0x40+var_10                                 ; +0x24, 0x690498\nLDR             X1, [X21]                                              ; +0x28, 0x69049c\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x6904a0\nBL              _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x30, 0x6904a4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x6904a8\nMOV             X8, X19                                                ; +0x38, 0x6904ac\nMOV             X1, X20; cocos2d::CCPoint *                            ; +0x3c, 0x6904b0\nBL              _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x40, 0x6904b4\nMOV             X1, X19                                                ; +0x44, 0x6904b8\nMOV             X0, X20                                                ; +0x48, 0x6904bc\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x4c, 0x6904c0\nMOV             X8, X19                                                ; +0x50, 0x6904c4\nMOV             X0, X22; this                                          ; +0x54, 0x6904c8\nMOV             X1, X20; cocos2d::CCPoint *                            ; +0x58, 0x6904cc\nBL              _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x5c, 0x6904d0\nMOV             X1, X19                                                ; +0x60, 0x6904d4\nMOV             X0, X20                                                ; +0x64, 0x6904d8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x68, 0x6904dc\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x6c, 0x6904e0\nMOV             X0, X20                                                ; +0x70, 0x6904e4\nLDR             X1, [X21]                                              ; +0x74, 0x6904e8\nCMP             X2, X1                                                 ; +0x78, 0x6904ec\nB.NE            loc_690504                                             ; +0x7c, 0x6904f0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x80, 0x6904f4\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x84, 0x6904f8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x88, 0x6904fc\nRET                                                                    ; +0x8c, 0x690500\nBL              .__stack_chk_fail                                      ; +0x90, 0x690504", "xrefs": ["EditorUI::ccTouchMoved @ 0x6c18d0", "EditorUI::ccTouchMoved @ 0x6c1ab8", "EditorUI::ccTouchMoved @ 0x6c1b14", "EditorUI::ccTouchEnded @ 0x6c2970", "EditorUI::ccTouchEnded @ 0x6c2a04", "EditorUI::ccTouchEnded @ 0x6c2ccc", "EditorUI::ccTouchEnded @ 0x6c2d60", "EditorUI::ccTouchBegan @ 0x6c50b0", "<???> @ 0xba3a8"], "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"}