{"type": "func", "start": 6442476352, "end": 6442476438, "name": "cocos2d::CCAffineTransformTranslate", "pseudocode": "// \n// cocos2d::CCAffineTransformTranslate from 0x180006340 to 0x180006396 (86 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCNode::nodeToParentTransform @ 0x180003b9d\n// > cocos2d::CCNode::nodeToParentTransformFast @ 0x180003f52\n// > <???> @ 0x1801438a8\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\ncocos2d *__fastcall cocos2d::CCAffineTransformTranslate(\n        cocos2d *this,\n        struct cocos2d::CCAffineTransform *retstr,\n        const struct cocos2d::CCAffineTransform *a3,\n        float a4)\n{\n  float v4; // xmm2_4\n  float a; // xmm1_4\n  float b; // xmm5_4\n  float c; // xmm0_4\n  float d; // xmm4_4\n  float v10; // xmm1_4\n  float v11; // xmm5_4\n\n  a = retstr->a;\n  b = retstr->b;\n  c = retstr->c;\n  d = retstr->d;\n  *(float *)this = retstr->a;\n  *((float *)this + 1) = b;\n  v10 = (float)(a * v4) + retstr->tx;\n  *((float *)this + 2) = c;\n  v11 = (float)(b * v4) + retstr->ty;\n  *((float *)this + 3) = d;\n  *((float *)this + 4) = v10 + (float)(c * a4);\n  *((float *)this + 5) = v11 + (float)(d * a4);\n  return this;\n}", "assembly": "; \n; cocos2d::CCAffineTransformTranslate from 0x180006340 to 0x180006396 (86 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCNode::nodeToParentTransform @ 0x180003b9d\n; > cocos2d::CCNode::nodeToParentTransformFast @ 0x180003f52\n; > <???> @ 0x1801438a8\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\nmovss   xmm1, dword ptr [rdx]                                          ; +0x0, 0x180006340\nmov     rax, rcx                                                       ; +0x4, 0x180006344\nmovss   xmm5, dword ptr [rdx+4]                                        ; +0x7, 0x180006347\nmovss   xmm0, dword ptr [rdx+8]                                        ; +0xc, 0x18000634c\nmovss   xmm4, dword ptr [rdx+0Ch]                                      ; +0x11, 0x180006351\nmovss   dword ptr [rcx], xmm1                                          ; +0x16, 0x180006356\nmovss   dword ptr [rcx+4], xmm5                                        ; +0x1a, 0x18000635a\nmulss   xmm1, xmm2                                                     ; +0x1f, 0x18000635f\nmulss   xmm5, xmm2                                                     ; +0x23, 0x180006363\naddss   xmm1, dword ptr [rdx+10h]                                      ; +0x27, 0x180006367\nmovss   dword ptr [rcx+8], xmm0                                        ; +0x2c, 0x18000636c\naddss   xmm5, dword ptr [rdx+14h]                                      ; +0x31, 0x180006371\nmovss   dword ptr [rcx+0Ch], xmm4                                      ; +0x36, 0x180006376\nmulss   xmm0, xmm3                                                     ; +0x3b, 0x18000637b\nmulss   xmm4, xmm3                                                     ; +0x3f, 0x18000637f\naddss   xmm1, xmm0                                                     ; +0x43, 0x180006383\naddss   xmm5, xmm4                                                     ; +0x47, 0x180006387\nmovss   dword ptr [rcx+10h], xmm1                                      ; +0x4b, 0x18000638b\nmovss   dword ptr [rcx+14h], xmm5                                      ; +0x50, 0x180006390\nretn                                                                   ; +0x55, 0x180006395", "xrefs": ["cocos2d::CCNode::nodeToParentTransform @ 0x180003b9d", "cocos2d::CCNode::nodeToParentTransformFast @ 0x180003f52", "<???> @ 0x1801438a8"], "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"}