{"type": "func", "start": 6442462848, "end": 6442462952, "name": "cocos2d::CCNode::convertToNodeSpaceAR", "pseudocode": "// \n// cocos2d::CCNode::convertToNodeSpaceAR from 0x180002e80 to 0x180002ee8 (104 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad234\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::convertToNodeSpaceAR(\n        cocos2d::CCNode *this,\n        const struct cocos2d::CCPoint *a2,\n        const struct cocos2d::CCPoint *a3)\n{\n  const struct cocos2d::CCAffineTransform *v6; // rax\n  _BYTE v8[8]; // [rsp+20h] [rbp-48h] BYREF\n  _BYTE v9[24]; // [rsp+28h] [rbp-40h] BYREF\n\n  v6 = (const struct cocos2d::CCAffineTransform *)((__int64 (__fastcall *)(cocos2d::CCNode *, _BYTE *))this->worldToNodeTransform)(\n                                                    this,\n                                                    v9);\n  cocos2d::__CCPointApplyAffineTransform((cocos2d *)v8, a3, v6);\n  cocos2d::CCSize::operator-(v8, a2, &this->m_obAnchorPointInPoints);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCNode::convertToNodeSpaceAR from 0x180002e80 to 0x180002ee8 (104 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad234\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\npush    rbx                                                            ; +0x0, 0x180002e80\npush    rsi                                                            ; +0x2, 0x180002e82\npush    rdi                                                            ; +0x3, 0x180002e83\nsub     rsp, 50h                                                       ; +0x4, 0x180002e84\nmov     rax, cs:__security_cookie                                      ; +0x8, 0x180002e88\nxor     rax, rsp                                                       ; +0xf, 0x180002e8f\nmov     [rsp+68h+var_28], rax                                          ; +0x12, 0x180002e92\nmov     rbx, r8                                                        ; +0x17, 0x180002e97\nmov     rsi, rdx                                                       ; +0x1a, 0x180002e9a\nmov     r8, [rcx]                                                      ; +0x1d, 0x180002e9d\nlea     rdx, [rsp+68h+var_40]                                          ; +0x20, 0x180002ea0\nmov     rdi, rcx                                                       ; +0x25, 0x180002ea5\ncall    qword ptr [r8+330h]                                            ; +0x28, 0x180002ea8\nmov     rdx, rbx                                                       ; +0x2f, 0x180002eaf\nlea     rcx, [rsp+68h+var_48]                                          ; +0x32, 0x180002eb2\nmov     r8, rax                                                        ; +0x37, 0x180002eb7\ncall    ?__CCPointApplyAffineTransform@cocos2d@@YA?AVCCPoint@1@AEBV21@AEBUCCAffineTransform@1@@Z; cocos2d::__CCPointApplyAffineTransform(cocos2d::CCPoint const &,cocos2d::CCAffineTransform const &) ; +0x3a, 0x180002eba\nlea     r8, [rdi+5Ch]                                                  ; +0x3f, 0x180002ebf\nmov     rdx, rsi                                                       ; +0x43, 0x180002ec3\nlea     rcx, [rsp+68h+var_48]                                          ; +0x46, 0x180002ec6\ncall    ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0x4b, 0x180002ecb\nmov     rax, rsi                                                       ; +0x50, 0x180002ed0\nmov     rcx, [rsp+68h+var_28]                                          ; +0x53, 0x180002ed3\nxor     rcx, rsp; StackCookie                                          ; +0x58, 0x180002ed8\ncall    __security_check_cookie                                        ; +0x5b, 0x180002edb\nadd     rsp, 50h                                                       ; +0x60, 0x180002ee0\npop     rdi                                                            ; +0x64, 0x180002ee4\npop     rsi                                                            ; +0x65, 0x180002ee5\npop     rbx                                                            ; +0x66, 0x180002ee6\nretn                                                                   ; +0x67, 0x180002ee7", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ad234"], "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"}