{"type": "func", "start": 6442463280, "end": 6442463385, "name": "cocos2d::CCNode::convertTouchToNodeSpace", "pseudocode": "// \n// cocos2d::CCNode::convertTouchToNodeSpace from 0x180003030 to 0x180003099 (105 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad258\n// > <???> @ 0x1801ad264\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\nstruct cocos2d::CCTouch *__fastcall cocos2d::CCNode::convertTouchToNodeSpace(\n        cocos2d::CCNode *this,\n        struct cocos2d::CCTouch *a2,\n        cocos2d::CCTouch *a3)\n{\n  const struct cocos2d::CCAffineTransform *v5; // rax\n  struct cocos2d::CCPoint v7; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v8[24]; // [rsp+28h] [rbp-30h] BYREF\n\n  cocos2d::CCTouch::getLocation(a3);\n  v5 = (const struct cocos2d::CCAffineTransform *)((__int64 (__fastcall *)(cocos2d::CCNode *, _BYTE *))this->worldToNodeTransform)(\n                                                    this,\n                                                    v8);\n  cocos2d::__CCPointApplyAffineTransform((cocos2d *)a2, &v7, v5);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertTouchToNodeSpace from 0x180003030 to 0x180003099 (105 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad258\n; > <???> @ 0x1801ad264\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_18], rbx                                              ; +0x0, 0x180003030\npush    rdi                                                            ; +0x5, 0x180003035\nsub     rsp, 50h                                                       ; +0x6, 0x180003036\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x18000303a\nxor     rax, rsp                                                       ; +0x11, 0x180003041\nmov     [rsp+58h+var_18], rax                                          ; +0x14, 0x180003044\nmov     rdi, rdx                                                       ; +0x19, 0x180003049\nmov     rbx, rcx                                                       ; +0x1c, 0x18000304c\nlea     rdx, [rsp+58h+var_38]                                          ; +0x1f, 0x18000304f\nmov     rcx, r8                                                        ; +0x24, 0x180003054\ncall    ?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x27, 0x180003057\nmov     r8, [rbx]                                                      ; +0x2c, 0x18000305c\nlea     rdx, [rsp+58h+var_30]                                          ; +0x2f, 0x18000305f\nmov     rcx, rbx                                                       ; +0x34, 0x180003064\ncall    qword ptr [r8+330h]                                            ; +0x37, 0x180003067\nlea     rdx, [rsp+58h+var_38]                                          ; +0x3e, 0x18000306e\nmov     rcx, rdi                                                       ; +0x43, 0x180003073\nmov     r8, rax                                                        ; +0x46, 0x180003076\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x49, 0x180003079\nmov     rax, rdi                                                       ; +0x4e, 0x18000307e\nmov     rcx, [rsp+58h+var_18]                                          ; +0x51, 0x180003081\nxor     rcx, rsp; StackCookie                                          ; +0x56, 0x180003086\ncall    __security_check_cookie                                        ; +0x59, 0x180003089\nmov     rbx, [rsp+58h+arg_18]                                          ; +0x5e, 0x18000308e\nadd     rsp, 50h                                                       ; +0x63, 0x180003093\npop     rdi                                                            ; +0x67, 0x180003097\nretn                                                                   ; +0x68, 0x180003098", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ad258", "<???> @ 0x1801ad264"], "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"}