{"type": "func", "start": 6443013568, "end": 6443013846, "name": "sub_1800895C0", "pseudocode": "// \n// sub_1800895C0 from 0x1800895c0 to 0x1800896d6 (278 bytes)\n// \n// 2 xrefs:\n// > sub_180089D50 @ 0x180089ddc\n// > <???> @ 0x1801fa458\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\nchar __fastcall sub_1800895C0(\n        __int64 a1,\n        float a2,\n        float a3,\n        float a4,\n        float *a5,\n        float *a6,\n        float *a7,\n        float *a8,\n        float *a9)\n{\n  float v9; // xmm7_4\n  float v10; // xmm5_4\n  float v11; // xmm3_4\n\n  v9 = tanf((float)(a3 * 3.1415927) / a4);\n  v10 = v9 / expf(a2 * 0.057564627);\n  v11 = 1.0 / (float)((float)((float)(v10 + 1.4142135) * v10) + 1.0);\n  *a5 = (float)((float)((float)(v9 + 1.4142135) * v9) + 1.0) * v11;\n  *a6 = (float)((float)((float)(v9 * v9) - 1.0) * v11) + (float)((float)((float)(v9 * v9) - 1.0) * v11);\n  *a7 = (float)((float)((float)(v9 - 1.4142135) * v9) + 1.0) * v11;\n  *a8 = (float)((float)((float)(v10 * v10) - 1.0) * -2.0) * v11;\n  *a9 = -(float)((float)((float)((float)(v10 - 1.4142135) * v10) + 1.0) * v11);\n  return 0;\n}", "assembly": "; \n; sub_1800895C0 from 0x1800895c0 to 0x1800896d6 (278 bytes)\n; \n; 2 xrefs:\n; > sub_180089D50 @ 0x180089ddc\n; > <???> @ 0x1801fa458\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\nsub     rsp, 48h                                                       ; +0x0, 0x1800895c0\nmulss   xmm2, cs:dword_180164B80                                       ; +0x4, 0x1800895c4\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xc, 0x1800895cc\nmovaps  xmm6, xmm1                                                     ; +0x11, 0x1800895d1\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x14, 0x1800895d4\ndivss   xmm2, xmm3                                                     ; +0x19, 0x1800895d9\nmovaps  xmm0, xmm2; X                                                  ; +0x1d, 0x1800895dd\ncall    tanf                                                           ; +0x20, 0x1800895e0\nmulss   xmm6, cs:dword_180169304                                       ; +0x25, 0x1800895e5\nmovaps  xmm7, xmm0                                                     ; +0x2d, 0x1800895ed\nmovaps  xmm0, xmm6; X                                                  ; +0x30, 0x1800895f0\ncall    expf                                                           ; +0x33, 0x1800895f3\nmovss   xmm2, cs:dword_180145744                                       ; +0x38, 0x1800895f8\nmovaps  xmm5, xmm7                                                     ; +0x40, 0x180089600\nmovss   xmm4, cs:dword_18014574C                                       ; +0x43, 0x180089603\nmovaps  xmm3, xmm2                                                     ; +0x4b, 0x18008960b\nmov     rax, [rsp+48h+arg_20]                                          ; +0x4e, 0x18008960e\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x53, 0x180089613\ndivss   xmm5, xmm0                                                     ; +0x58, 0x180089618\nmovaps  xmm0, xmm7                                                     ; +0x5c, 0x18008961c\naddss   xmm0, xmm4                                                     ; +0x5f, 0x18008961f\nmovaps  xmm1, xmm5                                                     ; +0x63, 0x180089623\naddss   xmm1, xmm4                                                     ; +0x66, 0x180089626\nmulss   xmm0, xmm7                                                     ; +0x6a, 0x18008962a\nmulss   xmm1, xmm5                                                     ; +0x6e, 0x18008962e\naddss   xmm0, xmm2                                                     ; +0x72, 0x180089632\naddss   xmm1, xmm2                                                     ; +0x76, 0x180089636\ndivss   xmm3, xmm1                                                     ; +0x7a, 0x18008963a\nmovaps  xmm1, xmm7                                                     ; +0x7e, 0x18008963e\nmulss   xmm0, xmm3                                                     ; +0x81, 0x180089641\nmulss   xmm1, xmm7                                                     ; +0x85, 0x180089645\nmovss   dword ptr [rax], xmm0                                          ; +0x89, 0x180089649\nmovaps  xmm0, xmm7                                                     ; +0x8d, 0x18008964d\nmov     rax, [rsp+48h+arg_28]                                          ; +0x90, 0x180089650\nsubss   xmm0, xmm4                                                     ; +0x95, 0x180089655\nsubss   xmm1, xmm2                                                     ; +0x99, 0x180089659\nmulss   xmm0, xmm7                                                     ; +0x9d, 0x18008965d\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0xa1, 0x180089661\nmulss   xmm1, xmm3                                                     ; +0xa6, 0x180089666\naddss   xmm0, xmm2                                                     ; +0xaa, 0x18008966a\naddss   xmm1, xmm1                                                     ; +0xae, 0x18008966e\nmulss   xmm0, xmm3                                                     ; +0xb2, 0x180089672\nmovss   dword ptr [rax], xmm1                                          ; +0xb6, 0x180089676\nmovaps  xmm1, xmm5                                                     ; +0xba, 0x18008967a\nmov     rax, [rsp+48h+arg_30]                                          ; +0xbd, 0x18008967d\nmulss   xmm1, xmm5                                                     ; +0xc5, 0x180089685\nmovss   dword ptr [rax], xmm0                                          ; +0xc9, 0x180089689\nmovaps  xmm0, xmm5                                                     ; +0xcd, 0x18008968d\nmov     rax, [rsp+48h+arg_38]                                          ; +0xd0, 0x180089690\nsubss   xmm0, xmm4                                                     ; +0xd8, 0x180089698\nsubss   xmm1, xmm2                                                     ; +0xdc, 0x18008969c\nmulss   xmm0, xmm5                                                     ; +0xe0, 0x1800896a0\nmulss   xmm1, cs:dword_180164A4C                                       ; +0xe4, 0x1800896a4\naddss   xmm0, xmm2                                                     ; +0xec, 0x1800896ac\nmulss   xmm1, xmm3                                                     ; +0xf0, 0x1800896b0\nmulss   xmm0, xmm3                                                     ; +0xf4, 0x1800896b4\nmovss   dword ptr [rax], xmm1                                          ; +0xf8, 0x1800896b8\nmov     rax, [rsp+48h+arg_40]                                          ; +0xfc, 0x1800896bc\nxorps   xmm0, cs:xmmword_180144610                                     ; +0x104, 0x1800896c4\nmovss   dword ptr [rax], xmm0                                          ; +0x10b, 0x1800896cb\nxor     al, al                                                         ; +0x10f, 0x1800896cf\nadd     rsp, 48h                                                       ; +0x111, 0x1800896d1\nretn                                                                   ; +0x115, 0x1800896d5", "xrefs": ["sub_180089D50 @ 0x180089ddc", "<???> @ 0x1801fa458"], "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"}