{"type": "func", "start": 6443056752, "end": 6443056826, "name": "cocos2d::ccpForAngle", "pseudocode": "// \n// cocos2d::ccpForAngle from 0x180093e70 to 0x180093eba (74 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b6654\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\ncocos2d *__fastcall cocos2d::ccpForAngle(cocos2d *this, float a2)\n{\n  float v3; // xmm6_4\n  float v4; // xmm0_4\n\n  v3 = sinf(a2);\n  v4 = cosf(a2);\n  kmVec2Fill((float *)this, v4, v3);\n  return this;\n}", "assembly": "; \n; cocos2d::ccpForAngle from 0x180093e70 to 0x180093eba (74 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b6654\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, 0x180093e70\nsub     rsp, 40h                                                       ; +0x2, 0x180093e72\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x6, 0x180093e76\nmovaps  xmm0, xmm1; X                                                  ; +0xb, 0x180093e7b\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0xe, 0x180093e7e\nmov     rbx, rcx                                                       ; +0x13, 0x180093e83\nmovaps  xmm7, xmm1                                                     ; +0x16, 0x180093e86\ncall    sinf                                                           ; +0x19, 0x180093e89\nmovaps  xmm6, xmm0                                                     ; +0x1e, 0x180093e8e\nmovaps  xmm0, xmm7; X                                                  ; +0x21, 0x180093e91\ncall    cosf                                                           ; +0x24, 0x180093e94\nmovaps  xmm1, xmm0                                                     ; +0x29, 0x180093e99\nmovaps  xmm2, xmm6                                                     ; +0x2c, 0x180093e9c\nmov     rcx, rbx                                                       ; +0x2f, 0x180093e9f\ncall    kmVec2Fill                                                     ; +0x32, 0x180093ea2\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x37, 0x180093ea7\nmov     rax, rbx                                                       ; +0x3c, 0x180093eac\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x3f, 0x180093eaf\nadd     rsp, 40h                                                       ; +0x44, 0x180093eb4\npop     rbx                                                            ; +0x48, 0x180093eb8\nretn                                                                   ; +0x49, 0x180093eb9", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b6654"], "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"}