{"type": "func", "start": 6443070960, "end": 6443071034, "name": "cocos2d::ccpForAngle", "pseudocode": "// \n// cocos2d::ccpForAngle from 0x1800975f0 to 0x18009763a (74 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c08f4\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:22:10 +0000\n// \n\nfloat *__fastcall cocos2d::ccpForAngle(float *a1, float a2)\n{\n  float v3; // xmm6_4\n  float v4; // xmm0_4\n\n  v3 = sinf(a2);\n  v4 = cosf(a2);\n  kmVec2Fill(a1, v4, v3);\n  return a1;\n}", "assembly": "; \n; cocos2d::ccpForAngle from 0x1800975f0 to 0x18009763a (74 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c08f4\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:22:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800975f0\nsub     rsp, 40h                                                       ; +0x2, 0x1800975f2\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x6, 0x1800975f6\nmovaps  xmm0, xmm1; X                                                  ; +0xb, 0x1800975fb\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0xe, 0x1800975fe\nmov     rbx, rcx                                                       ; +0x13, 0x180097603\nmovaps  xmm7, xmm1                                                     ; +0x16, 0x180097606\ncall    sinf                                                           ; +0x19, 0x180097609\nmovaps  xmm6, xmm0                                                     ; +0x1e, 0x18009760e\nmovaps  xmm0, xmm7; X                                                  ; +0x21, 0x180097611\ncall    cosf                                                           ; +0x24, 0x180097614\nmovaps  xmm1, xmm0                                                     ; +0x29, 0x180097619\nmovaps  xmm2, xmm6                                                     ; +0x2c, 0x18009761c\nmov     rcx, rbx                                                       ; +0x2f, 0x18009761f\ncall    kmVec2Fill                                                     ; +0x32, 0x180097622\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x37, 0x180097627\nmov     rax, rbx                                                       ; +0x3c, 0x18009762c\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x3f, 0x18009762f\nadd     rsp, 40h                                                       ; +0x44, 0x180097634\npop     rbx                                                            ; +0x48, 0x180097638\nretn                                                                   ; +0x49, 0x180097639", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c08f4"], "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"}