{"type": "func", "start": 6442467344, "end": 6442467495, "name": "cocos2d::CCNode::nodeToWorldTransform", "pseudocode": "// \n// cocos2d::CCNode::nodeToWorldTransform from 0x180004010 to 0x1800040a7 (151 bytes)\n// \n// 87 xrefs:\n// > <???> @ 0x1800e5700\n// > <???> @ 0x1800e5d60\n// > <???> @ 0x1800e60d0\n// > <???> @ 0x1800e6a30\n// > <???> @ 0x1800e6f38\n// > <???> @ 0x1800eb700\n// > <???> @ 0x1800ebba0\n// > <???> @ 0x1800ec078\n// > <???> @ 0x1800ec5a0\n// > <???> @ 0x1800ecbf8\n// > <???> @ 0x1800ed210\n// > <???> @ 0x1800ed6d0\n// > <???> @ 0x1800edc08\n// > <???> @ 0x1800ee170\n// > <???> @ 0x1800ee748\n// > <???> @ 0x1800eec08\n// > <???> @ 0x1800eef90\n// > <???> @ 0x1800ef310\n// > <???> @ 0x1800ef698\n// > <???> @ 0x1800efa18\n// > <???> @ 0x1800efd98\n// > <???> @ 0x1800f0138\n// > <???> @ 0x1800f04d8\n// > <???> @ 0x1800f0878\n// > <???> @ 0x1800f0c18\n// > <???> @ 0x1800f0fb8\n// > <???> @ 0x1800f1358\n// > <???> @ 0x1800f16f8\n// > <???> @ 0x1800f1a98\n// > <???> @ 0x1800f1e28\n// > <???> @ 0x1800f21b0\n// > <???> @ 0x1800f2538\n// > <???> @ 0x1800f28c0\n// > <???> @ 0x1800f2c48\n// > <???> @ 0x1800f2fd0\n// > <???> @ 0x1800f3358\n// > <???> @ 0x1800f36e0\n// > <???> @ 0x1800f3a60\n// > <???> @ 0x1800f3df0\n// > <???> @ 0x1800f4188\n// > <???> @ 0x1800f4520\n// > <???> @ 0x1800f48b8\n// > <???> @ 0x1800f4c50\n// > <???> @ 0x1800f4fe8\n// > <???> @ 0x1800f5398\n// > <???> @ 0x1800f5720\n// > <???> @ 0x1800f5ab0\n// > <???> @ 0x1800f5e40\n// > <???> @ 0x1800f61d0\n// > <???> @ 0x1800f6560\n// > <???> @ 0x1800f68f0\n// > <???> @ 0x1800f6c80\n// > <???> @ 0x1800f7018\n// > <???> @ 0x1800f7580\n// > <???> @ 0x1800f79a8\n// > <???> @ 0x1800f7df0\n// > <???> @ 0x1800f8238\n// > <???> @ 0x1800f8680\n// > <???> @ 0x1800f8ae0\n// > <???> @ 0x1800f8f40\n// > <???> @ 0x1800f9390\n// > <???> @ 0x1800f9758\n// > <???> @ 0x1800f9b70\n// > <???> @ 0x1800f9f80\n// > <???> @ 0x1800fa3b0\n// > <???> @ 0x1800faa20\n// > <???> @ 0x1800fb090\n// > <???> @ 0x1800fb700\n// > <???> @ 0x1800fbd70\n// > <???> @ 0x1800fc3e0\n// > <???> @ 0x1800fca50\n// > <???> @ 0x1800fd0c0\n// > <???> @ 0x1800fd730\n// > <???> @ 0x1800fdda0\n// > <???> @ 0x1800fe410\n// > <???> @ 0x1800fea80\n// > <???> @ 0x1800ff2c8\n// > <???> @ 0x1800ffd68\n// > <???> @ 0x180103ab0\n// > <???> @ 0x180103fa0\n// > <???> @ 0x1801054d8\n// > <???> @ 0x1801058b0\n// > <???> @ 0x180105d08\n// > <???> @ 0x180106170\n// > <???> @ 0x180106aa8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad36c\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::CCAffineTransform *__fastcall cocos2d::CCNode::nodeToWorldTransform(\n        cocos2d::CCNode *this,\n        struct cocos2d::CCAffineTransform *retstr)\n{\n  cocos2d::CCNode *i; // rdi\n  const struct cocos2d::CCAffineTransform *v5; // rax\n  const struct cocos2d::CCAffineTransform *v6; // r9\n  struct cocos2d::CCAffineTransform *v7; // rax\n  __int64 v8; // xmm0_8\n  _BYTE v10[24]; // [rsp+20h] [rbp-48h] BYREF\n  _BYTE v11[24]; // [rsp+38h] [rbp-30h] BYREF\n\n  ((void (__fastcall *)(cocos2d::CCNode *))this->nodeToParentTransform)(this);\n  for ( i = this->m_pParent; i; i = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCNode *))i->getParent)(i) )\n  {\n    v5 = (const struct cocos2d::CCAffineTransform *)((__int64 (__fastcall *)(cocos2d::CCNode *, _BYTE *))i->nodeToParentTransform)(\n                                                      i,\n                                                      v11);\n    v7 = cocos2d::CCAffineTransformConcat((cocos2d *)v10, retstr, v5, v6);\n    v8 = *(_QWORD *)&v7->tx;\n    *(_OWORD *)&retstr->a = *(_OWORD *)&v7->a;\n    *(_QWORD *)&retstr->tx = v8;\n  }\n  return retstr;\n}", "assembly": "; \n; cocos2d::CCNode::nodeToWorldTransform from 0x180004010 to 0x1800040a7 (151 bytes)\n; \n; 87 xrefs:\n; > <???> @ 0x1800e5700\n; > <???> @ 0x1800e5d60\n; > <???> @ 0x1800e60d0\n; > <???> @ 0x1800e6a30\n; > <???> @ 0x1800e6f38\n; > <???> @ 0x1800eb700\n; > <???> @ 0x1800ebba0\n; > <???> @ 0x1800ec078\n; > <???> @ 0x1800ec5a0\n; > <???> @ 0x1800ecbf8\n; > <???> @ 0x1800ed210\n; > <???> @ 0x1800ed6d0\n; > <???> @ 0x1800edc08\n; > <???> @ 0x1800ee170\n; > <???> @ 0x1800ee748\n; > <???> @ 0x1800eec08\n; > <???> @ 0x1800eef90\n; > <???> @ 0x1800ef310\n; > <???> @ 0x1800ef698\n; > <???> @ 0x1800efa18\n; > <???> @ 0x1800efd98\n; > <???> @ 0x1800f0138\n; > <???> @ 0x1800f04d8\n; > <???> @ 0x1800f0878\n; > <???> @ 0x1800f0c18\n; > <???> @ 0x1800f0fb8\n; > <???> @ 0x1800f1358\n; > <???> @ 0x1800f16f8\n; > <???> @ 0x1800f1a98\n; > <???> @ 0x1800f1e28\n; > <???> @ 0x1800f21b0\n; > <???> @ 0x1800f2538\n; > <???> @ 0x1800f28c0\n; > <???> @ 0x1800f2c48\n; > <???> @ 0x1800f2fd0\n; > <???> @ 0x1800f3358\n; > <???> @ 0x1800f36e0\n; > <???> @ 0x1800f3a60\n; > <???> @ 0x1800f3df0\n; > <???> @ 0x1800f4188\n; > <???> @ 0x1800f4520\n; > <???> @ 0x1800f48b8\n; > <???> @ 0x1800f4c50\n; > <???> @ 0x1800f4fe8\n; > <???> @ 0x1800f5398\n; > <???> @ 0x1800f5720\n; > <???> @ 0x1800f5ab0\n; > <???> @ 0x1800f5e40\n; > <???> @ 0x1800f61d0\n; > <???> @ 0x1800f6560\n; > <???> @ 0x1800f68f0\n; > <???> @ 0x1800f6c80\n; > <???> @ 0x1800f7018\n; > <???> @ 0x1800f7580\n; > <???> @ 0x1800f79a8\n; > <???> @ 0x1800f7df0\n; > <???> @ 0x1800f8238\n; > <???> @ 0x1800f8680\n; > <???> @ 0x1800f8ae0\n; > <???> @ 0x1800f8f40\n; > <???> @ 0x1800f9390\n; > <???> @ 0x1800f9758\n; > <???> @ 0x1800f9b70\n; > <???> @ 0x1800f9f80\n; > <???> @ 0x1800fa3b0\n; > <???> @ 0x1800faa20\n; > <???> @ 0x1800fb090\n; > <???> @ 0x1800fb700\n; > <???> @ 0x1800fbd70\n; > <???> @ 0x1800fc3e0\n; > <???> @ 0x1800fca50\n; > <???> @ 0x1800fd0c0\n; > <???> @ 0x1800fd730\n; > <???> @ 0x1800fdda0\n; > <???> @ 0x1800fe410\n; > <???> @ 0x1800fea80\n; > <???> @ 0x1800ff2c8\n; > <???> @ 0x1800ffd68\n; > <???> @ 0x180103ab0\n; > <???> @ 0x180103fa0\n; > <???> @ 0x1801054d8\n; > <???> @ 0x1801058b0\n; > <???> @ 0x180105d08\n; > <???> @ 0x180106170\n; > <???> @ 0x180106aa8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad36c\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_10], rbx                                              ; +0x0, 0x180004010\npush    rdi                                                            ; +0x5, 0x180004015\nsub     rsp, 60h                                                       ; +0x6, 0x180004016\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x18000401a\nxor     rax, rsp                                                       ; +0x11, 0x180004021\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x180004024\nmov     rax, [rcx]                                                     ; +0x19, 0x180004029\nmov     rbx, rdx                                                       ; +0x1c, 0x18000402c\nmov     rdi, rcx                                                       ; +0x1f, 0x18000402f\ncall    qword ptr [rax+308h]                                           ; +0x22, 0x180004032\nmov     rdi, [rdi+0D8h]                                                ; +0x28, 0x180004038\ntest    rdi, rdi                                                       ; +0x2f, 0x18000403f\njz      short loc_180004089                                            ; +0x32, 0x180004042\nmov     rax, [rdi]                                                     ; +0x34, 0x180004044\nlea     rdx, [rsp+68h+var_30]                                          ; +0x37, 0x180004047\nmov     rcx, rdi                                                       ; +0x3c, 0x18000404c\ncall    qword ptr [rax+308h]                                           ; +0x3f, 0x18000404f\nmov     rdx, rbx                                                       ; +0x45, 0x180004055\nlea     rcx, [rsp+68h+var_48]                                          ; +0x48, 0x180004058\nmov     r8, rax                                                        ; +0x4d, 0x18000405d\ncall    ?CCAffineTransformConcat@cocos2d@@YA?AUCCAffineTransform@1@AEBU21@0@Z; cocos2d::CCAffineTransformConcat(cocos2d::CCAffineTransform const &,cocos2d::CCAffineTransform const &) ; +0x50, 0x180004060\nmov     rcx, rdi                                                       ; +0x55, 0x180004065\nmovups  xmm1, xmmword ptr [rax]                                        ; +0x58, 0x180004068\nmovsd   xmm0, qword ptr [rax+10h]                                      ; +0x5b, 0x18000406b\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x60, 0x180004070\nmovsd   qword ptr [rbx+10h], xmm0                                      ; +0x63, 0x180004073\nmov     rdx, [rdi]                                                     ; +0x68, 0x180004078\ncall    qword ptr [rdx+1E8h]                                           ; +0x6b, 0x18000407b\nmov     rdi, rax                                                       ; +0x71, 0x180004081\ntest    rax, rax                                                       ; +0x74, 0x180004084\njnz     short loc_180004044                                            ; +0x77, 0x180004087\nmov     rax, rbx                                                       ; +0x79, 0x180004089\nmov     rcx, [rsp+68h+var_18]                                          ; +0x7c, 0x18000408c\nxor     rcx, rsp; StackCookie                                          ; +0x81, 0x180004091\ncall    __security_check_cookie                                        ; +0x84, 0x180004094\nmov     rbx, [rsp+68h+arg_10]                                          ; +0x89, 0x180004099\nadd     rsp, 60h                                                       ; +0x91, 0x1800040a1\npop     rdi                                                            ; +0x95, 0x1800040a5\nretn                                                                   ; +0x96, 0x1800040a6", "xrefs": ["<???> @ 0x1800e5700", "<???> @ 0x1800e5d60", "<???> @ 0x1800e60d0", "<???> @ 0x1800e6a30", "<???> @ 0x1800e6f38", "<???> @ 0x1800eb700", "<???> @ 0x1800ebba0", "<???> @ 0x1800ec078", "<???> @ 0x1800ec5a0", "<???> @ 0x1800ecbf8", "<???> @ 0x1800ed210", "<???> @ 0x1800ed6d0", "<???> @ 0x1800edc08", "<???> @ 0x1800ee170", "<???> @ 0x1800ee748", "<???> @ 0x1800eec08", "<???> @ 0x1800eef90", "<???> @ 0x1800ef310", "<???> @ 0x1800ef698", "<???> @ 0x1800efa18", "<???> @ 0x1800efd98", "<???> @ 0x1800f0138", "<???> @ 0x1800f04d8", "<???> @ 0x1800f0878", "<???> @ 0x1800f0c18", "<???> @ 0x1800f0fb8", "<???> @ 0x1800f1358", "<???> @ 0x1800f16f8", "<???> @ 0x1800f1a98", "<???> @ 0x1800f1e28", "<???> @ 0x1800f21b0", "<???> @ 0x1800f2538", "<???> @ 0x1800f28c0", "<???> @ 0x1800f2c48", "<???> @ 0x1800f2fd0", "<???> @ 0x1800f3358", "<???> @ 0x1800f36e0", "<???> @ 0x1800f3a60", "<???> @ 0x1800f3df0", "<???> @ 0x1800f4188", "<???> @ 0x1800f4520", "<???> @ 0x1800f48b8", "<???> @ 0x1800f4c50", "<???> @ 0x1800f4fe8", "<???> @ 0x1800f5398", "<???> @ 0x1800f5720", "<???> @ 0x1800f5ab0", "<???> @ 0x1800f5e40", "<???> @ 0x1800f61d0", "<???> @ 0x1800f6560", "<???> @ 0x1800f68f0", "<???> @ 0x1800f6c80", "<???> @ 0x1800f7018", "<???> @ 0x1800f7580", "<???> @ 0x1800f79a8", "<???> @ 0x1800f7df0", "<???> @ 0x1800f8238", "<???> @ 0x1800f8680", "<???> @ 0x1800f8ae0", "<???> @ 0x1800f8f40", "<???> @ 0x1800f9390", "<???> @ 0x1800f9758", "<???> @ 0x1800f9b70", "<???> @ 0x1800f9f80", "<???> @ 0x1800fa3b0", "<???> @ 0x1800faa20", "<???> @ 0x1800fb090", "<???> @ 0x1800fb700", "<???> @ 0x1800fbd70", "<???> @ 0x1800fc3e0", "<???> @ 0x1800fca50", "<???> @ 0x1800fd0c0", "<???> @ 0x1800fd730", "<???> @ 0x1800fdda0", "<???> @ 0x1800fe410", "<???> @ 0x1800fea80", "<???> @ 0x1800ff2c8", "<???> @ 0x1800ffd68", "<???> @ 0x180103ab0", "<???> @ 0x180103fa0", "<???> @ 0x1801054d8", "<???> @ 0x1801058b0", "<???> @ 0x180105d08", "<???> @ 0x180106170", "<???> @ 0x180106aa8", "<???> @ 0x1801438a8", "<???> @ 0x1801ad36c"], "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"}