{"type": "func", "start": 6442476416, "end": 6442476598, "name": "cocos2d::CCAffineTransformRotate", "pseudocode": "// \n// cocos2d::CCAffineTransformRotate from 0x180006380 to 0x180006436 (182 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b78d0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:18 +0000\n// \n\n__int64 __fastcall cocos2d::CCAffineTransformRotate(__int64 a1, __int64 a2, float a3)\n{\n  float v5; // xmm7_4\n  float v6; // xmm0_4\n  float v7; // xmm6_4\n  float v8; // xmm4_4\n  float v9; // xmm5_4\n  float v10; // xmm3_4\n  float v11; // xmm2_4\n\n  v5 = sinf(a3);\n  v6 = cosf(a3);\n  v7 = *(float *)(a2 + 8);\n  v8 = *(float *)a2;\n  v9 = *(float *)(a2 + 12);\n  v10 = *(float *)(a2 + 4);\n  v11 = *(float *)a2 * v6;\n  *(_DWORD *)(a1 + 16) = *(_DWORD *)(a2 + 16);\n  *(_DWORD *)(a1 + 20) = *(_DWORD *)(a2 + 20);\n  *(float *)a1 = v11 + (float)(v7 * v5);\n  *(float *)(a1 + 8) = (float)(v7 * v6) - (float)(v8 * v5);\n  *(float *)(a1 + 12) = (float)(v9 * v6) - (float)(v10 * v5);\n  *(float *)(a1 + 4) = (float)(v10 * v6) + (float)(v9 * v5);\n  return a1;\n}", "assembly": "; \n; cocos2d::CCAffineTransformRotate from 0x180006380 to 0x180006436 (182 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b78d0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180006380\npush    rdi                                                            ; +0x5, 0x180006385\nsub     rsp, 40h                                                       ; +0x6, 0x180006386\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xa, 0x18000638a\nmovaps  xmm0, xmm2; X                                                  ; +0xf, 0x18000638f\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x12, 0x180006392\nmovaps  xmm6, xmm2                                                     ; +0x17, 0x180006397\nmov     rbx, rdx                                                       ; +0x1a, 0x18000639a\nmov     rdi, rcx                                                       ; +0x1d, 0x18000639d\ncall    sinf                                                           ; +0x20, 0x1800063a0\nmovaps  xmm7, xmm0                                                     ; +0x25, 0x1800063a5\nmovaps  xmm0, xmm6; X                                                  ; +0x28, 0x1800063a8\ncall    cosf                                                           ; +0x2b, 0x1800063ab\nmovss   xmm6, dword ptr [rbx+8]                                        ; +0x30, 0x1800063b0\nmov     eax, [rbx+10h]                                                 ; +0x35, 0x1800063b5\nmovaps  xmm1, xmm6                                                     ; +0x38, 0x1800063b8\nmovss   xmm4, dword ptr [rbx]                                          ; +0x3b, 0x1800063bb\nmovss   xmm5, dword ptr [rbx+0Ch]                                      ; +0x3f, 0x1800063bf\nmovaps  xmm2, xmm4                                                     ; +0x44, 0x1800063c4\nmovss   xmm3, dword ptr [rbx+4]                                        ; +0x47, 0x1800063c7\nmulss   xmm2, xmm0                                                     ; +0x4c, 0x1800063cc\nmov     [rdi+10h], eax                                                 ; +0x50, 0x1800063d0\nmov     eax, [rbx+14h]                                                 ; +0x53, 0x1800063d3\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x56, 0x1800063d6\nmulss   xmm1, xmm7                                                     ; +0x5b, 0x1800063db\nmov     [rdi+14h], eax                                                 ; +0x5f, 0x1800063df\nmov     rax, rdi                                                       ; +0x62, 0x1800063e2\nmulss   xmm6, xmm0                                                     ; +0x65, 0x1800063e5\naddss   xmm2, xmm1                                                     ; +0x69, 0x1800063e9\nmulss   xmm4, xmm7                                                     ; +0x6d, 0x1800063ed\nmovaps  xmm1, xmm5                                                     ; +0x71, 0x1800063f1\nmulss   xmm5, xmm0                                                     ; +0x74, 0x1800063f4\nmulss   xmm1, xmm7                                                     ; +0x78, 0x1800063f8\nsubss   xmm6, xmm4                                                     ; +0x7c, 0x1800063fc\nmovss   dword ptr [rdi], xmm2                                          ; +0x80, 0x180006400\nmovaps  xmm2, xmm3                                                     ; +0x84, 0x180006404\nmulss   xmm3, xmm7                                                     ; +0x87, 0x180006407\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x8b, 0x18000640b\nmulss   xmm2, xmm0                                                     ; +0x90, 0x180006410\nsubss   xmm5, xmm3                                                     ; +0x94, 0x180006414\nmovss   dword ptr [rdi+8], xmm6                                        ; +0x98, 0x180006418\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x9d, 0x18000641d\naddss   xmm2, xmm1                                                     ; +0xa2, 0x180006422\nmovss   dword ptr [rdi+0Ch], xmm5                                      ; +0xa6, 0x180006426\nmovss   dword ptr [rdi+4], xmm2                                        ; +0xab, 0x18000642b\nadd     rsp, 40h                                                       ; +0xb0, 0x180006430\npop     rdi                                                            ; +0xb4, 0x180006434\nretn                                                                   ; +0xb5, 0x180006435", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b78d0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}