{"type": "func", "start": 6442502576, "end": 6442502632, "name": "cocos2d::CCPoint::forAngle", "pseudocode": "// \n// cocos2d::CCPoint::forAngle from 0x18000c9b0 to 0x18000c9e8 (56 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ade4c\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\nfloat *__fastcall cocos2d::CCPoint::forAngle(float a1, float a2)\n{\n  float *v2; // rcx\n  float *v3; // rbx\n  float v4; // xmm0_4\n\n  v3 = v2;\n  *v2 = cosf(a2);\n  v4 = sinf(a2);\n  v3[1] = v4;\n  return v3;\n}", "assembly": "; \n; cocos2d::CCPoint::forAngle from 0x18000c9b0 to 0x18000c9e8 (56 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ade4c\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, 0x18000c9b0\nsub     rsp, 30h                                                       ; +0x2, 0x18000c9b2\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x18000c9b6\nmovaps  xmm0, xmm1; X                                                  ; +0xb, 0x18000c9bb\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x18000c9be\nmov     rbx, rcx                                                       ; +0x11, 0x18000c9c1\ncall    cosf                                                           ; +0x14, 0x18000c9c4\nmovss   dword ptr [rbx], xmm0                                          ; +0x19, 0x18000c9c9\nmovaps  xmm0, xmm6; X                                                  ; +0x1d, 0x18000c9cd\ncall    sinf                                                           ; +0x20, 0x18000c9d0\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x25, 0x18000c9d5\nmov     rax, rbx                                                       ; +0x2a, 0x18000c9da\nmovss   dword ptr [rbx+4], xmm0                                        ; +0x2d, 0x18000c9dd\nadd     rsp, 30h                                                       ; +0x32, 0x18000c9e2\npop     rbx                                                            ; +0x36, 0x18000c9e6\nretn                                                                   ; +0x37, 0x18000c9e7", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ade4c"], "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"}