{"type": "func", "start": 6442942256, "end": 6442942453, "name": "sub_180077F30", "pseudocode": "// \n// sub_180077F30 from 0x180077f30 to 0x180077ff5 (197 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801ad7b0\n// > <???> @ 0x1801f9c30\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\nvoid __fastcall sub_180077F30(_QWORD *a1)\n{\n  __int64 v1; // rdi\n  int v2; // ebx\n  float *v3; // rsi\n  float v4; // xmm0_4\n  __int64 v5; // rax\n  unsigned int v6; // ebx\n  __int64 v7; // rsi\n  int v8; // eax\n\n  v1 = *a1;\n  v2 = 0;\n  v3 = (float *)(*a1 + 544LL);\n  do\n  {\n    v4 = cosf((float)v2++ * 0.0001917476);\n    *v3++ = v4;\n  }\n  while ( v2 < 0x2000 );\n  v5 = *(_QWORD *)(v1 + 232);\n  v6 = 0;\n  *(_DWORD *)(v1 + 49704) = 4;\n  *(_QWORD *)(v1 + 49712) = 0;\n  *(_DWORD *)(v1 + 49696) = 1065353216;\n  if ( *(int *)(v5 + 96) > 0 )\n  {\n    v7 = 0;\n    do\n    {\n      sub_18009C0C0(v1, v6);\n      if ( v8 )\n        break;\n      ++v6;\n      v7 += 8;\n    }\n    while ( (signed int)v6 < *(_DWORD *)(*(_QWORD *)(v1 + 232) + 96LL) );\n  }\n}", "assembly": "; \n; sub_180077F30 from 0x180077f30 to 0x180077ff5 (197 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801ad7b0\n; > <???> @ 0x1801f9c30\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180077f30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180077f35\npush    rdi                                                            ; +0xa, 0x180077f3a\nsub     rsp, 30h                                                       ; +0xb, 0x180077f3b\nmov     rdi, [rcx]                                                     ; +0xf, 0x180077f3f\nxor     ebx, ebx                                                       ; +0x12, 0x180077f42\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x14, 0x180077f44\nmovss   xmm6, cs:dword_1801670C8                                       ; +0x19, 0x180077f49\nlea     rsi, [rdi+220h]                                                ; +0x21, 0x180077f51\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x180077f58\nmovd    xmm0, ebx                                                      ; +0x30, 0x180077f60\ncvtdq2ps xmm0, xmm0                                                    ; +0x34, 0x180077f64\nmulss   xmm0, xmm6; X                                                  ; +0x37, 0x180077f67\ncall    cosf                                                           ; +0x3b, 0x180077f6b\ninc     ebx                                                            ; +0x40, 0x180077f70\nmovss   dword ptr [rsi], xmm0                                          ; +0x42, 0x180077f72\nlea     rsi, [rsi+4]                                                   ; +0x46, 0x180077f76\ncmp     ebx, 2000h                                                     ; +0x4a, 0x180077f7a\njl      short loc_180077F60                                            ; +0x50, 0x180077f80\nmov     rax, [rdi+0E8h]                                                ; +0x52, 0x180077f82\nxor     ebx, ebx                                                       ; +0x59, 0x180077f89\nmov     dword ptr [rdi+0C228h], 4                                      ; +0x5b, 0x180077f8b\nmov     qword ptr [rdi+0C230h], 0                                      ; +0x65, 0x180077f95\nmov     dword ptr [rdi+0C220h], 3F800000h                              ; +0x70, 0x180077fa0\ncmp     [rax+60h], ebx                                                 ; +0x7a, 0x180077faa\njle     short loc_180077FDE                                            ; +0x7d, 0x180077fad\nxor     esi, esi                                                       ; +0x7f, 0x180077faf\nmov     rax, [rax+68h]                                                 ; +0x81, 0x180077fb1\nmov     edx, ebx                                                       ; +0x85, 0x180077fb5\nmov     rcx, [rax+rsi]                                                 ; +0x87, 0x180077fb7\nmovss   xmm2, dword ptr [rcx+38h]                                      ; +0x8b, 0x180077fbb\nmov     rcx, rdi                                                       ; +0x90, 0x180077fc0\ncall    sub_18009C0C0                                                  ; +0x93, 0x180077fc3\ntest    eax, eax                                                       ; +0x98, 0x180077fc8\njnz     short loc_180077FE0                                            ; +0x9a, 0x180077fca\nmov     rax, [rdi+0E8h]                                                ; +0x9c, 0x180077fcc\ninc     ebx                                                            ; +0xa3, 0x180077fd3\nadd     rsi, 8                                                         ; +0xa5, 0x180077fd5\ncmp     ebx, [rax+60h]                                                 ; +0xa9, 0x180077fd9\njl      short loc_180077FB1                                            ; +0xac, 0x180077fdc\nxor     eax, eax                                                       ; +0xae, 0x180077fde\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb0, 0x180077fe0\nmov     rsi, [rsp+38h+arg_8]                                           ; +0xb5, 0x180077fe5\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xba, 0x180077fea\nadd     rsp, 30h                                                       ; +0xbf, 0x180077fef\npop     rdi                                                            ; +0xc3, 0x180077ff3\nretn                                                                   ; +0xc4, 0x180077ff4", "xrefs": ["<???> @ 0x1801ad7b0", "<???> @ 0x1801f9c30"], "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"}