{"type": "func", "start": 6443312576, "end": 6443312649, "name": "cocos2d::CCPoint::unrotate", "pseudocode": "// \n// cocos2d::CCPoint::unrotate from 0x1800d25c0 to 0x1800d2609 (73 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ba4a0\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::CCPoint *__fastcall cocos2d::CCPoint::unrotate(\n        cocos2d::CCPoint *this,\n        struct cocos2d::CCPoint *a2,\n        float *a3)\n{\n  kmVec2Fill(\n    (float *)a2,\n    (float)(this->x * *a3) + (float)(a3[1] * this->y),\n    (float)(*a3 * this->y) - (float)(this->x * a3[1]));\n  return a2;\n}", "assembly": "; \n; cocos2d::CCPoint::unrotate from 0x1800d25c0 to 0x1800d2609 (73 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ba4a0\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, 0x1800d25c0\nsub     rsp, 20h                                                       ; +0x2, 0x1800d25c2\nmovss   xmm1, dword ptr [rcx]                                          ; +0x6, 0x1800d25c6\nmov     rbx, rdx                                                       ; +0xa, 0x1800d25ca\nmovss   xmm3, dword ptr [r8]                                           ; +0xd, 0x1800d25cd\nmovaps  xmm0, xmm1                                                     ; +0x12, 0x1800d25d2\nmovss   xmm5, dword ptr [r8+4]                                         ; +0x15, 0x1800d25d5\nmovaps  xmm2, xmm3                                                     ; +0x1b, 0x1800d25db\nmulss   xmm2, dword ptr [rcx+4]                                        ; +0x1e, 0x1800d25de\nmulss   xmm0, xmm5                                                     ; +0x23, 0x1800d25e3\nmulss   xmm5, dword ptr [rcx+4]                                        ; +0x27, 0x1800d25e7\nmov     rcx, rdx                                                       ; +0x2c, 0x1800d25ec\nmulss   xmm1, xmm3                                                     ; +0x2f, 0x1800d25ef\nsubss   xmm2, xmm0                                                     ; +0x33, 0x1800d25f3\naddss   xmm1, xmm5                                                     ; +0x37, 0x1800d25f7\ncall    kmVec2Fill                                                     ; +0x3b, 0x1800d25fb\nmov     rax, rbx                                                       ; +0x40, 0x1800d2600\nadd     rsp, 20h                                                       ; +0x43, 0x1800d2603\npop     rbx                                                            ; +0x47, 0x1800d2607\nretn                                                                   ; +0x48, 0x1800d2608", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ba4a0"], "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"}