{"type": "func", "start": 6442463072, "end": 6442463182, "name": "cocos2d::CCNode::convertToWindowSpace", "pseudocode": "// \n// cocos2d::CCNode::convertToWindowSpace from 0x180002f60 to 0x180002fce (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7258\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::convertToWindowSpace(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rax\n  struct cocos2d::CCDirector *v6; // rax\n  _BYTE v8[8]; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v9[24]; // [rsp+28h] [rbp-30h] BYREF\n\n  v5 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 816LL))(a1, v9);\n  cocos2d::__CCPointApplyAffineTransform(v8, a3, v5);\n  v6 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToUI(v6, a2, v8);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertToWindowSpace from 0x180002f60 to 0x180002fce (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7258\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, 0x180002f60\npush    rdi                                                            ; +0x5, 0x180002f65\nsub     rsp, 50h                                                       ; +0x6, 0x180002f66\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x180002f6a\nxor     rax, rsp                                                       ; +0x11, 0x180002f71\nmov     [rsp+58h+var_18], rax                                          ; +0x14, 0x180002f74\nmov     rbx, r8                                                        ; +0x19, 0x180002f79\nmov     rdi, rdx                                                       ; +0x1c, 0x180002f7c\nmov     r8, [rcx]                                                      ; +0x1f, 0x180002f7f\nlea     rdx, [rsp+58h+var_30]                                          ; +0x22, 0x180002f82\ncall    qword ptr [r8+330h]                                            ; +0x27, 0x180002f87\nmov     rdx, rbx                                                       ; +0x2e, 0x180002f8e\nlea     rcx, [rsp+58h+var_38]                                          ; +0x31, 0x180002f91\nmov     r8, rax                                                        ; +0x36, 0x180002f96\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x39, 0x180002f99\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3e, 0x180002f9e\nmov     rcx, rax                                                       ; +0x43, 0x180002fa3\nlea     r8, [rsp+58h+var_38]                                           ; +0x46, 0x180002fa6\nmov     rdx, rdi                                                       ; +0x4b, 0x180002fab\ncall    ?convertToUI@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToUI(cocos2d::CCPoint const &) ; +0x4e, 0x180002fae\nmov     rax, rdi                                                       ; +0x53, 0x180002fb3\nmov     rcx, [rsp+58h+var_18]                                          ; +0x56, 0x180002fb6\nxor     rcx, rsp; StackCookie                                          ; +0x5b, 0x180002fbb\ncall    __security_check_cookie                                        ; +0x5e, 0x180002fbe\nmov     rbx, [rsp+58h+arg_18]                                          ; +0x63, 0x180002fc3\nadd     rsp, 50h                                                       ; +0x68, 0x180002fc8\npop     rdi                                                            ; +0x6c, 0x180002fcc\nretn                                                                   ; +0x6d, 0x180002fcd", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b7258"], "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"}