{"type": "func", "start": 6442463408, "end": 6442463516, "name": "cocos2d::CCNode::convertTouchToNodeSpace", "pseudocode": "// \n// cocos2d::CCNode::convertTouchToNodeSpace from 0x1800030b0 to 0x18000311c (108 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b727c\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::convertTouchToNodeSpace(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rax\n  _BYTE v7[8]; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v8[24]; // [rsp+28h] [rbp-30h] BYREF\n\n  cocos2d::CCTouch::getLocation(a3, v7);\n  v5 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 832LL))(a1, v8);\n  cocos2d::__CCPointApplyAffineTransform(a2, v7, v5);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertTouchToNodeSpace from 0x1800030b0 to 0x18000311c (108 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b727c\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, 0x1800030b0\npush    rdi                                                            ; +0x5, 0x1800030b5\nsub     rsp, 50h                                                       ; +0x6, 0x1800030b6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800030ba\nxor     rax, rsp                                                       ; +0x11, 0x1800030c1\nmov     [rsp+58h+var_18], rax                                          ; +0x14, 0x1800030c4\nmov     rdi, rdx                                                       ; +0x19, 0x1800030c9\nmov     rbx, rcx                                                       ; +0x1c, 0x1800030cc\nlea     rdx, [rsp+58h+var_38]                                          ; +0x1f, 0x1800030cf\nmov     rcx, r8                                                        ; +0x24, 0x1800030d4\ncall    ?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x27, 0x1800030d7\nmov     rdx, [rbx]                                                     ; +0x2c, 0x1800030dc\nmov     rcx, rbx                                                       ; +0x2f, 0x1800030df\nmov     r8, [rdx+340h]                                                 ; +0x32, 0x1800030e2\nlea     rdx, [rsp+58h+var_30]                                          ; +0x39, 0x1800030e9\ncall    r8                                                             ; +0x3e, 0x1800030ee\nmov     r8, rax                                                        ; +0x41, 0x1800030f1\nlea     rdx, [rsp+58h+var_38]                                          ; +0x44, 0x1800030f4\nmov     rcx, rdi                                                       ; +0x49, 0x1800030f9\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x4c, 0x1800030fc\nmov     rax, rdi                                                       ; +0x51, 0x180003101\nmov     rcx, [rsp+58h+var_18]                                          ; +0x54, 0x180003104\nxor     rcx, rsp; StackCookie                                          ; +0x59, 0x180003109\ncall    __security_check_cookie                                        ; +0x5c, 0x18000310c\nmov     rbx, [rsp+58h+arg_18]                                          ; +0x61, 0x180003111\nadd     rsp, 50h                                                       ; +0x66, 0x180003116\npop     rdi                                                            ; +0x6a, 0x18000311a\nretn                                                                   ; +0x6b, 0x18000311b", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b727c"], "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"}