{"type": "func", "start": 6443036432, "end": 6443036578, "name": "sub_18008EF10", "pseudocode": "// \n// sub_18008EF10 from 0x18008ef10 to 0x18008efa2 (146 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801ae820\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\n__int64 __fastcall sub_18008EF10(__int64 *a1, int a2, float a3)\n{\n  __int64 v3; // r8\n  __int64 result; // rax\n\n  v3 = *a1;\n  switch ( a2 )\n  {\n    case 0:\n      *(float *)(v3 + 996) = a3;\n      result = 0;\n      break;\n    case 1:\n      *(float *)(v3 + 1000) = a3;\n      result = 0;\n      break;\n    case 2:\n      *(float *)(v3 + 1004) = a3;\n      result = 0;\n      break;\n    case 3:\n      *(float *)(v3 + 1008) = a3;\n      result = 0;\n      break;\n    case 4:\n      *(float *)(v3 + 1012) = a3;\n      result = 0;\n      break;\n    case 5:\n      *(float *)(v3 + 1016) = a3;\n      result = 0;\n      break;\n    case 6:\n      *(float *)(v3 + 1020) = a3;\n      *(_BYTE *)(v3 + 572) = a3 > 0.0;\n      result = 0;\n      break;\n    case 7:\n      *(float *)(v3 + 1024) = a3;\n      goto LABEL_10;\n    default:\nLABEL_10:\n      result = 0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; sub_18008EF10 from 0x18008ef10 to 0x18008efa2 (146 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801ae820\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     r8, [rcx]                                                      ; +0x0, 0x18008ef10\ncmp     edx, 7; switch 8 cases                                         ; +0x3, 0x18008ef13\nja      def_18008EF30; jumptable 000000018008EF30 default case         ; +0x6, 0x18008ef16\nmovsxd  rax, edx                                                       ; +0xc, 0x18008ef1c\nlea     rdx, cs:180000000h                                             ; +0xf, 0x18008ef1f\nmov     ecx, ds:(jpt_18008EF30 - 180000000h)[rdx+rax*4]                ; +0x16, 0x18008ef26\nadd     rcx, rdx                                                       ; +0x1d, 0x18008ef2d\njmp     rcx; switch jump                                               ; +0x20, 0x18008ef30\nmovss   dword ptr [r8+3E4h], xmm2; jumptable 000000018008EF30 case 0   ; +0x22, 0x18008ef32\nxor     eax, eax                                                       ; +0x2b, 0x18008ef3b\nretn                                                                   ; +0x2d, 0x18008ef3d\nmovss   dword ptr [r8+3E8h], xmm2; jumptable 000000018008EF30 case 1   ; +0x2e, 0x18008ef3e\nxor     eax, eax                                                       ; +0x37, 0x18008ef47\nretn                                                                   ; +0x39, 0x18008ef49\nmovss   dword ptr [r8+3ECh], xmm2; jumptable 000000018008EF30 case 2   ; +0x3a, 0x18008ef4a\nxor     eax, eax                                                       ; +0x43, 0x18008ef53\nretn                                                                   ; +0x45, 0x18008ef55\nmovss   dword ptr [r8+3F0h], xmm2; jumptable 000000018008EF30 case 3   ; +0x46, 0x18008ef56\nxor     eax, eax                                                       ; +0x4f, 0x18008ef5f\nretn                                                                   ; +0x51, 0x18008ef61\nmovss   dword ptr [r8+3F4h], xmm2; jumptable 000000018008EF30 case 4   ; +0x52, 0x18008ef62\nxor     eax, eax                                                       ; +0x5b, 0x18008ef6b\nretn                                                                   ; +0x5d, 0x18008ef6d\nmovss   dword ptr [r8+3F8h], xmm2; jumptable 000000018008EF30 case 5   ; +0x5e, 0x18008ef6e\nxor     eax, eax                                                       ; +0x67, 0x18008ef77\nretn                                                                   ; +0x69, 0x18008ef79\nxorps   xmm0, xmm0; jumptable 000000018008EF30 case 6                  ; +0x6a, 0x18008ef7a\nmovss   dword ptr [r8+3FCh], xmm2                                      ; +0x6d, 0x18008ef7d\ncomiss  xmm2, xmm0                                                     ; +0x76, 0x18008ef86\nsetnbe  al                                                             ; +0x79, 0x18008ef89\nmov     [r8+23Ch], al                                                  ; +0x7c, 0x18008ef8c\nxor     eax, eax                                                       ; +0x83, 0x18008ef93\nretn                                                                   ; +0x85, 0x18008ef95\nmovss   dword ptr [r8+400h], xmm2; jumptable 000000018008EF30 case 7   ; +0x86, 0x18008ef96\nxor     eax, eax; jumptable 000000018008EF30 default case              ; +0x8f, 0x18008ef9f\nretn                                                                   ; +0x91, 0x18008efa1", "xrefs": ["<???> @ 0x1801ae820"], "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"}