{"type": "func", "start": 6442462960, "end": 6442463070, "name": "cocos2d::CCNode::convertToWindowSpace", "pseudocode": "// \n// cocos2d::CCNode::convertToWindowSpace from 0x180002ef0 to 0x180002f5e (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad240\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::CCNode::convertToWindowSpace(\n        cocos2d::CCNode *this,\n        const struct cocos2d::CCPoint *a2,\n        const struct cocos2d::CCPoint *a3)\n{\n  const struct cocos2d::CCAffineTransform *v5; // rax\n  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 = (const struct cocos2d::CCAffineTransform *)((__int64 (__fastcall *)(cocos2d::CCNode *, _BYTE *))this->nodeToWorldTransform)(\n                                                    this,\n                                                    v9);\n  cocos2d::__CCPointApplyAffineTransform((cocos2d *)v8, a3, v5);\n  v6 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::convertToUI(v6, a2);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertToWindowSpace from 0x180002ef0 to 0x180002f5e (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad240\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, 0x180002ef0\npush    rdi                                                            ; +0x5, 0x180002ef5\nsub     rsp, 50h                                                       ; +0x6, 0x180002ef6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x180002efa\nxor     rax, rsp                                                       ; +0x11, 0x180002f01\nmov     [rsp+58h+var_18], rax                                          ; +0x14, 0x180002f04\nmov     rbx, r8                                                        ; +0x19, 0x180002f09\nmov     rdi, rdx                                                       ; +0x1c, 0x180002f0c\nmov     r8, [rcx]                                                      ; +0x1f, 0x180002f0f\nlea     rdx, [rsp+58h+var_30]                                          ; +0x22, 0x180002f12\ncall    qword ptr [r8+320h]                                            ; +0x27, 0x180002f17\nmov     rdx, rbx                                                       ; +0x2e, 0x180002f1e\nlea     rcx, [rsp+58h+var_38]                                          ; +0x31, 0x180002f21\nmov     r8, rax                                                        ; +0x36, 0x180002f26\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x39, 0x180002f29\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3e, 0x180002f2e\nmov     rcx, rax                                                       ; +0x43, 0x180002f33\nlea     r8, [rsp+58h+var_38]                                           ; +0x46, 0x180002f36\nmov     rdx, rdi                                                       ; +0x4b, 0x180002f3b\ncall    ?convertToUI@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToUI(cocos2d::CCPoint const &) ; +0x4e, 0x180002f3e\nmov     rax, rdi                                                       ; +0x53, 0x180002f43\nmov     rcx, [rsp+58h+var_18]                                          ; +0x56, 0x180002f46\nxor     rcx, rsp; StackCookie                                          ; +0x5b, 0x180002f4b\ncall    __security_check_cookie                                        ; +0x5e, 0x180002f4e\nmov     rbx, [rsp+58h+arg_18]                                          ; +0x63, 0x180002f53\nadd     rsp, 50h                                                       ; +0x68, 0x180002f58\npop     rdi                                                            ; +0x6c, 0x180002f5c\nretn                                                                   ; +0x6d, 0x180002f5d", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ad240"], "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"}