{"type": "func", "start": 7273888, "end": 7273972, "name": "EditorUI::getTouchPoint", "pseudocode": "// \n// EditorUI::getTouchPoint from 0x6efda0 to 0x6efdf4 (84 bytes)\n// \n// 8 xrefs:\n// > EditorUI::ccTouchBegan @ 0x6f024a\n// > EditorUI::ccTouchBegan @ 0x6f029c\n// > EditorUI::ccTouchMoved @ 0x6f059a\n// > EditorUI::ccTouchMoved @ 0x6f06e8\n// > EditorUI::ccTouchEnded @ 0x6f0a9e\n// > EditorUI::ccTouchEnded @ 0x6f0b44\n// > EditorUI::ccTouchEnded @ 0x6f0c84\n// > EditorUI::ccTouchEnded @ 0x6f0d1e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:34 +0000\n// \n\ncocos2d::CCTouch *__fastcall EditorUI::getTouchPoint(cocos2d::CCTouch *a1, const cocos2d::CCPoint *a2)\n{\n  cocos2d::CCDirector *LocationInView; // r0\n  const cocos2d::CCPoint *v5; // r0\n  _BYTE v7[8]; // [sp+4h] [bp-10h] BYREF\n\n  LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(a1);\n  v5 = (const cocos2d::CCPoint *)cocos2d::CCDirector::sharedDirector(LocationInView);\n  cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v7, v5);\n  cocos2d::CCPoint::operator=(a1, v7);\n  cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v7, a2);\n  cocos2d::CCPoint::operator=(a1, v7);\n  return a1;\n}", "assembly": "; \n; EditorUI::getTouchPoint from 0x6efda0 to 0x6efdf4 (84 bytes)\n; \n; 8 xrefs:\n; > EditorUI::ccTouchBegan @ 0x6f024a\n; > EditorUI::ccTouchBegan @ 0x6f029c\n; > EditorUI::ccTouchMoved @ 0x6f059a\n; > EditorUI::ccTouchMoved @ 0x6f06e8\n; > EditorUI::ccTouchEnded @ 0x6f0a9e\n; > EditorUI::ccTouchEnded @ 0x6f0b44\n; > EditorUI::ccTouchEnded @ 0x6f0c84\n; > EditorUI::ccTouchEnded @ 0x6f0d1e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:57:34 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x6efda0\nSUB             SP, SP, #0x14                                          ; +0x2, 0x6efda2\nLDR             R5, =(__stack_chk_guard_ptr - 0x6EFDB0)                ; +0x4, 0x6efda4\nMOV             R7, R1                                                 ; +0x6, 0x6efda6\nMOV             R1, R2                                                 ; +0x8, 0x6efda8\nMOV             R4, R0                                                 ; +0xa, 0x6efdaa\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xc, 0x6efdac\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xe, 0x6efdae\nADD             R6, SP, #0x14+var_10                                   ; +0x10, 0x6efdb0\nLDR             R3, [R5]                                               ; +0x12, 0x6efdb2\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x6efdb4\nBL              _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x16, 0x6efdb6\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1a, 0x6efdba\nMOV             R2, R4                                                 ; +0x1e, 0x6efdbe\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x20, 0x6efdc0\nMOV             R0, R6; this                                           ; +0x22, 0x6efdc2\nBL              _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x24, 0x6efdc4\nMOV             R1, R6                                                 ; +0x28, 0x6efdc8\nMOV             R0, R4                                                 ; +0x2a, 0x6efdca\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2c, 0x6efdcc\nMOV             R2, R4                                                 ; +0x30, 0x6efdd0\nMOV             R0, R6; this                                           ; +0x32, 0x6efdd2\nMOV             R1, R7; cocos2d::CCPoint *                             ; +0x34, 0x6efdd4\nBL              _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x36, 0x6efdd6\nMOV             R0, R4                                                 ; +0x3a, 0x6efdda\nMOV             R1, R6                                                 ; +0x3c, 0x6efddc\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3e, 0x6efdde\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x42, 0x6efde2\nLDR             R3, [R5]                                               ; +0x44, 0x6efde4\nMOV             R0, R4                                                 ; +0x46, 0x6efde6\nCMP             R2, R3                                                 ; +0x48, 0x6efde8\nBEQ             loc_6EFDF0                                             ; +0x4a, 0x6efdea\nBLX             __stack_chk_fail                                       ; +0x4c, 0x6efdec\nADD             SP, SP, #0x14                                          ; +0x50, 0x6efdf0\nPOP             {R4-R7,PC}                                             ; +0x52, 0x6efdf2", "xrefs": ["EditorUI::ccTouchBegan @ 0x6f024a", "EditorUI::ccTouchBegan @ 0x6f029c", "EditorUI::ccTouchMoved @ 0x6f059a", "EditorUI::ccTouchMoved @ 0x6f06e8", "EditorUI::ccTouchEnded @ 0x6f0a9e", "EditorUI::ccTouchEnded @ 0x6f0b44", "EditorUI::ccTouchEnded @ 0x6f0c84", "EditorUI::ccTouchEnded @ 0x6f0d1e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}