{"type": "func", "start": 6443196640, "end": 6443196690, "name": "cocos2d::CCTouch::getLocation", "pseudocode": "// \n// cocos2d::CCTouch::getLocation from 0x1800b60e0 to 0x1800b6112 (50 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCNode::convertTouchToNodeSpace @ 0x1800030d7\n// > cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x180003147\n// > cocos2d::CCMenu::ccTouchBegan @ 0x18005af50\n// > cocos2d::CCMenu::itemForTouch @ 0x18005b683\n// > cocos2d::CCTouchDispatcher::touchesBegan @ 0x1800b73ce\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2874\n// \n// This function is hookable on this platform (idp: pc, 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 11:22:21 +0000\n// \n\n__int64 __fastcall cocos2d::CCTouch::getLocation(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rbx\n  struct cocos2d::CCDirector *v4; // rax\n\n  v3 = a1 + 72;\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToGL(v4, a2, v3);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCTouch::getLocation from 0x1800b60e0 to 0x1800b6112 (50 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCNode::convertTouchToNodeSpace @ 0x1800030d7\n; > cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x180003147\n; > cocos2d::CCMenu::ccTouchBegan @ 0x18005af50\n; > cocos2d::CCMenu::itemForTouch @ 0x18005b683\n; > cocos2d::CCTouchDispatcher::touchesBegan @ 0x1800b73ce\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2874\n; \n; This function is hookable on this platform (idp: pc, 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 11:22:21 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b60e0\npush    rdi                                                            ; +0x5, 0x1800b60e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800b60e6\nmov     rdi, rdx                                                       ; +0xa, 0x1800b60ea\nlea     rbx, [rcx+48h]                                                 ; +0xd, 0x1800b60ed\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x11, 0x1800b60f1\nmov     rcx, rax                                                       ; +0x16, 0x1800b60f6\nmov     r8, rbx                                                        ; +0x19, 0x1800b60f9\nmov     rdx, rdi                                                       ; +0x1c, 0x1800b60fc\ncall    ?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x1f, 0x1800b60ff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24, 0x1800b6104\nmov     rax, rdi                                                       ; +0x29, 0x1800b6109\nadd     rsp, 20h                                                       ; +0x2c, 0x1800b610c\npop     rdi                                                            ; +0x30, 0x1800b6110\nretn                                                                   ; +0x31, 0x1800b6111", "xrefs": ["cocos2d::CCNode::convertTouchToNodeSpace @ 0x1800030d7", "cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x180003147", "cocos2d::CCMenu::ccTouchBegan @ 0x18005af50", "cocos2d::CCMenu::itemForTouch @ 0x18005b683", "cocos2d::CCTouchDispatcher::touchesBegan @ 0x1800b73ce", "<???> @ 0x18014cf68", "<???> @ 0x1801c2874"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}