{"type": "func", "start": 12406388, "end": 12406536, "name": "EditorUI::getTouchPoint", "pseudocode": "// \n// EditorUI::getTouchPoint from 0xbd4e74 to 0xbd4f08 (148 bytes)\n// \n// 9 xrefs:\n// > EditorUI::ccTouchBegan @ 0xbd54bc\n// > EditorUI::ccTouchBegan @ 0xbd57f4\n// > EditorUI::ccTouchMoved @ 0xbd5a38\n// > EditorUI::ccTouchMoved @ 0xbd5bf0\n// > EditorUI::ccTouchEnded @ 0xbd61ac\n// > EditorUI::ccTouchEnded @ 0xbd622c\n// > EditorUI::ccTouchEnded @ 0xbd6444\n// > EditorUI::ccTouchEnded @ 0xbd6538\n// > <???> @ 0xf2f80\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 13:03:39 +0000\n// \n\nconst cocos2d::CCPoint *__usercall EditorUI::getTouchPoint@<X0>(\n        cocos2d::CCTouch *this@<X1>,\n        cocos2d::CCNode *a2@<X0>,\n        const cocos2d::CCPoint *a3@<X8>)\n{\n  cocos2d::CCDirector *LocationInView; // x0\n  cocos2d::CCDirector *v6; // x0\n  __int64 v8; // [xsp+30h] [xbp+30h] BYREF\n\n  LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(a3, this);\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(LocationInView);\n  cocos2d::CCDirector::convertToGL(&v8, v6, a3);\n  cocos2d::CCPoint::operator=(a3, &v8);\n  cocos2d::CCNode::convertToWorldSpace(&v8, a2, a3);\n  cocos2d::CCPoint::operator=(a3, &v8);\n  return a3;\n}", "assembly": "; \n; EditorUI::getTouchPoint from 0xbd4e74 to 0xbd4f08 (148 bytes)\n; \n; 9 xrefs:\n; > EditorUI::ccTouchBegan @ 0xbd54bc\n; > EditorUI::ccTouchBegan @ 0xbd57f4\n; > EditorUI::ccTouchMoved @ 0xbd5a38\n; > EditorUI::ccTouchMoved @ 0xbd5bf0\n; > EditorUI::ccTouchEnded @ 0xbd61ac\n; > EditorUI::ccTouchEnded @ 0xbd622c\n; > EditorUI::ccTouchEnded @ 0xbd6444\n; > EditorUI::ccTouchEnded @ 0xbd6538\n; > <???> @ 0xf2f80\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 13:03:39 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xbd4e74\nMOV             X29, SP                                                ; +0x4, 0xbd4e78\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x8, 0xbd4e7c\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xbd4e80\nMOV             X22, X0                                                ; +0x10, 0xbd4e84\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x14, 0xbd4e88\nMOV             X0, X1; this                                           ; +0x18, 0xbd4e8c\nMOV             X20, X8                                                ; +0x1c, 0xbd4e90\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xbd4e94\nADD             X19, X29, #0x40+var_10                                 ; +0x24, 0xbd4e98\nLDR             X1, [X21]                                              ; +0x28, 0xbd4e9c\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0xbd4ea0\nBL              _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x30, 0xbd4ea4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0xbd4ea8\nMOV             X8, X19                                                ; +0x38, 0xbd4eac\nMOV             X1, X20; cocos2d::CCPoint *                            ; +0x3c, 0xbd4eb0\nBL              _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x40, 0xbd4eb4\nMOV             X1, X19                                                ; +0x44, 0xbd4eb8\nMOV             X0, X20                                                ; +0x48, 0xbd4ebc\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x4c, 0xbd4ec0\nMOV             X8, X19                                                ; +0x50, 0xbd4ec4\nMOV             X0, X22; this                                          ; +0x54, 0xbd4ec8\nMOV             X1, X20; cocos2d::CCPoint *                            ; +0x58, 0xbd4ecc\nBL              _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x5c, 0xbd4ed0\nMOV             X1, X19                                                ; +0x60, 0xbd4ed4\nMOV             X0, X20                                                ; +0x64, 0xbd4ed8\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x68, 0xbd4edc\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x6c, 0xbd4ee0\nMOV             X0, X20                                                ; +0x70, 0xbd4ee4\nLDR             X1, [X21]                                              ; +0x74, 0xbd4ee8\nCMP             X2, X1                                                 ; +0x78, 0xbd4eec\nB.NE            loc_BD4F04                                             ; +0x7c, 0xbd4ef0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x80, 0xbd4ef4\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x84, 0xbd4ef8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x88, 0xbd4efc\nRET                                                                    ; +0x8c, 0xbd4f00\nBL              .__stack_chk_fail                                      ; +0x90, 0xbd4f04", "xrefs": ["EditorUI::ccTouchBegan @ 0xbd54bc", "EditorUI::ccTouchBegan @ 0xbd57f4", "EditorUI::ccTouchMoved @ 0xbd5a38", "EditorUI::ccTouchMoved @ 0xbd5bf0", "EditorUI::ccTouchEnded @ 0xbd61ac", "EditorUI::ccTouchEnded @ 0xbd622c", "EditorUI::ccTouchEnded @ 0xbd6444", "EditorUI::ccTouchEnded @ 0xbd6538", "<???> @ 0xf2f80"], "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"}