{"type": "func", "start": 6443181936, "end": 6443181986, "name": "cocos2d::CCTouch::getLocation", "pseudocode": "// \n// cocos2d::CCTouch::getLocation from 0x1800b2770 to 0x1800b27a2 (50 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCNode::convertTouchToNodeSpace @ 0x180003057\n// > cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x1800030c7\n// > cocos2d::CCMenu::itemForTouch @ 0x180059673\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b85bc\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\nconst struct cocos2d::CCPoint *__fastcall cocos2d::CCTouch::getLocation(\n        cocos2d::CCTouch *this,\n        const struct cocos2d::CCPoint *a2)\n{\n  cocos2d::CCDirector *v3; // rax\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToGL(v3, a2);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCTouch::getLocation from 0x1800b2770 to 0x1800b27a2 (50 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCNode::convertTouchToNodeSpace @ 0x180003057\n; > cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x1800030c7\n; > cocos2d::CCMenu::itemForTouch @ 0x180059673\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b85bc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b2770\npush    rdi                                                            ; +0x5, 0x1800b2775\nsub     rsp, 20h                                                       ; +0x6, 0x1800b2776\nmov     rdi, rdx                                                       ; +0xa, 0x1800b277a\nlea     rbx, [rcx+48h]                                                 ; +0xd, 0x1800b277d\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x11, 0x1800b2781\nmov     rcx, rax                                                       ; +0x16, 0x1800b2786\nmov     r8, rbx                                                        ; +0x19, 0x1800b2789\nmov     rdx, rdi                                                       ; +0x1c, 0x1800b278c\ncall    ?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x1f, 0x1800b278f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24, 0x1800b2794\nmov     rax, rdi                                                       ; +0x29, 0x1800b2799\nadd     rsp, 20h                                                       ; +0x2c, 0x1800b279c\npop     rdi                                                            ; +0x30, 0x1800b27a0\nretn                                                                   ; +0x31, 0x1800b27a1", "xrefs": ["cocos2d::CCNode::convertTouchToNodeSpace @ 0x180003057", "cocos2d::CCNode::convertTouchToNodeSpaceAR @ 0x1800030c7", "cocos2d::CCMenu::itemForTouch @ 0x180059673", "<???> @ 0x1801438a8", "<???> @ 0x1801b85bc"], "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"}