{"type": "func", "start": 6442503488, "end": 6442503548, "name": "cocos2d::CCPoint::rotate", "pseudocode": "// \n// cocos2d::CCPoint::rotate from 0x18000cd40 to 0x18000cd7c (60 bytes)\n// \n// 1 xrefs:\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\nconst struct cocos2d::CCPoint *__fastcall cocos2d::CCPoint::rotate(\n        cocos2d::CCPoint *this,\n        const struct cocos2d::CCPoint *a2,\n        float *a3)\n{\n  float y; // xmm0_4\n  float v5; // xmm5_4\n  float v6; // xmm3_4\n  float v7; // xmm0_4\n  float v8; // xmm5_4\n\n  y = this->y;\n  v5 = a3[1];\n  v6 = y * *a3;\n  v7 = y * v5;\n  v8 = (float)(v5 * this->x) + v6;\n  a2->x = (float)(this->x * *a3) - v7;\n  a2->y = v8;\n  return a2;\n}", "assembly": "; \n; cocos2d::CCPoint::rotate from 0x18000cd40 to 0x18000cd7c (60 bytes)\n; \n; 1 xrefs:\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   xmm3, dword ptr [rcx+4]                                        ; +0x0, 0x18000cd40\nmov     rax, rdx                                                       ; +0x5, 0x18000cd45\nmovss   xmm2, dword ptr [rcx]                                          ; +0x8, 0x18000cd48\nmovaps  xmm0, xmm3                                                     ; +0xc, 0x18000cd4c\nmovss   xmm5, dword ptr [r8+4]                                         ; +0xf, 0x18000cd4f\nmovaps  xmm1, xmm2                                                     ; +0x15, 0x18000cd55\nmulss   xmm1, dword ptr [r8]                                           ; +0x18, 0x18000cd58\nmulss   xmm3, dword ptr [r8]                                           ; +0x1d, 0x18000cd5d\nmulss   xmm0, xmm5                                                     ; +0x22, 0x18000cd62\nmulss   xmm5, xmm2                                                     ; +0x26, 0x18000cd66\nsubss   xmm1, xmm0                                                     ; +0x2a, 0x18000cd6a\naddss   xmm5, xmm3                                                     ; +0x2e, 0x18000cd6e\nmovss   dword ptr [rdx], xmm1                                          ; +0x32, 0x18000cd72\nmovss   dword ptr [rdx+4], xmm5                                        ; +0x36, 0x18000cd76\nretn                                                                   ; +0x3b, 0x18000cd7b", "xrefs": ["<???> @ 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"}