{"type": "func", "start": 6442463520, "end": 6442463647, "name": "cocos2d::CCNode::convertTouchToNodeSpaceAR", "pseudocode": "// \n// cocos2d::CCNode::convertTouchToNodeSpaceAR from 0x180003120 to 0x18000319f (127 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7288\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:21:17 +0000\n// \n\n__int64 __fastcall cocos2d::CCNode::convertTouchToNodeSpaceAR(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rax\n  _BYTE v7[8]; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v8[8]; // [rsp+28h] [rbp-30h] BYREF\n  _BYTE v9[24]; // [rsp+30h] [rbp-28h] BYREF\n\n  cocos2d::CCTouch::getLocation(a3, v7);\n  v5 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 832LL))(a1, v9);\n  cocos2d::__CCPointApplyAffineTransform(v8, v7, v5);\n  cocos2d::CCSize::operator-(v8, a2, a1 + 92);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertTouchToNodeSpaceAR from 0x180003120 to 0x18000319f (127 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7288\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:21:17 +0000\n; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x180003120\npush    rdi                                                            ; +0x5, 0x180003125\nsub     rsp, 50h                                                       ; +0x6, 0x180003126\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x18000312a\nxor     rax, rsp                                                       ; +0x11, 0x180003131\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x180003134\nmov     rdi, rdx                                                       ; +0x19, 0x180003139\nmov     rbx, rcx                                                       ; +0x1c, 0x18000313c\nlea     rdx, [rsp+58h+var_38]                                          ; +0x1f, 0x18000313f\nmov     rcx, r8                                                        ; +0x24, 0x180003144\ncall    ?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x27, 0x180003147\nmov     rdx, [rbx]                                                     ; +0x2c, 0x18000314c\nmov     rcx, rbx                                                       ; +0x2f, 0x18000314f\nmov     r8, [rdx+340h]                                                 ; +0x32, 0x180003152\nlea     rdx, [rsp+58h+var_28]                                          ; +0x39, 0x180003159\ncall    r8                                                             ; +0x3e, 0x18000315e\nmov     r8, rax                                                        ; +0x41, 0x180003161\nlea     rdx, [rsp+58h+var_38]                                          ; +0x44, 0x180003164\nlea     rcx, [rsp+58h+var_30]                                          ; +0x49, 0x180003169\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x4e, 0x18000316e\nlea     r8, [rbx+5Ch]                                                  ; +0x53, 0x180003173\nmov     rdx, rdi                                                       ; +0x57, 0x180003177\nlea     rcx, [rsp+58h+var_30]                                          ; +0x5a, 0x18000317a\ncall    ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0x5f, 0x18000317f\nmov     rax, rdi                                                       ; +0x64, 0x180003184\nmov     rcx, [rsp+58h+var_10]                                          ; +0x67, 0x180003187\nxor     rcx, rsp; StackCookie                                          ; +0x6c, 0x18000318c\ncall    __security_check_cookie                                        ; +0x6f, 0x18000318f\nmov     rbx, [rsp+58h+arg_18]                                          ; +0x74, 0x180003194\nadd     rsp, 50h                                                       ; +0x79, 0x180003199\npop     rdi                                                            ; +0x7d, 0x18000319d\nretn                                                                   ; +0x7e, 0x18000319e", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b7288"], "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"}