{"type": "func", "start": 6443564800, "end": 6443565044, "name": "sub_18010FF00", "pseudocode": "// \n// sub_18010FF00 from 0x18010ff00 to 0x18010fff4 (244 bytes)\n// \n// 1 xrefs:\n// > sub_180110290 @ 0x1801107a8\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_18010FF00(__int64 a1, int a2, float a3)\n{\n  __int64 v3; // rax\n\n  v3 = *(_QWORD *)(a1 + 8);\n  if ( a2 == 1 )\n  {\n    ++*(_DWORD *)(v3 + 16);\n    *(float *)(v3 + 4) = a3;\n    return 0;\n  }\n  else if ( a2 == 2 )\n  {\n    ++*(_DWORD *)(v3 + 16);\n    *(float *)(v3 + 8) = a3;\n    return 0;\n  }\n  else if ( a2 == 3 )\n  {\n    ++*(_DWORD *)(v3 + 16);\n    *(float *)(v3 + 12) = a3;\n    return 0;\n  }\n  else if ( a2 == 5 )\n  {\n    ++*(_DWORD *)(v3 + 36);\n    *(float *)(v3 + 24) = a3;\n    return 0;\n  }\n  else if ( a2 == 6 )\n  {\n    ++*(_DWORD *)(v3 + 36);\n    *(float *)(v3 + 28) = a3;\n    return 0;\n  }\n  else if ( a2 == 7 )\n  {\n    ++*(_DWORD *)(v3 + 36);\n    *(float *)(v3 + 32) = a3;\n    return 0;\n  }\n  else if ( a2 == 9 )\n  {\n    ++*(_DWORD *)(v3 + 56);\n    *(float *)(v3 + 44) = a3;\n    return 0;\n  }\n  else if ( a2 == 10 )\n  {\n    ++*(_DWORD *)(v3 + 56);\n    *(float *)(v3 + 48) = a3;\n    return 0;\n  }\n  else if ( a2 == 11 )\n  {\n    ++*(_DWORD *)(v3 + 56);\n    *(float *)(v3 + 52) = a3;\n    return 0;\n  }\n  else if ( a2 == 13 )\n  {\n    ++*(_DWORD *)(v3 + 76);\n    *(float *)(v3 + 64) = a3;\n    return 0;\n  }\n  else if ( a2 == 14 )\n  {\n    ++*(_DWORD *)(v3 + 76);\n    *(float *)(v3 + 68) = a3;\n    return 0;\n  }\n  else if ( a2 == 15 )\n  {\n    ++*(_DWORD *)(v3 + 76);\n    *(float *)(v3 + 72) = a3;\n    return 0;\n  }\n  else if ( a2 == 17 )\n  {\n    ++*(_DWORD *)(v3 + 96);\n    *(float *)(v3 + 84) = a3;\n    return 0;\n  }\n  else if ( a2 == 18 )\n  {\n    ++*(_DWORD *)(v3 + 96);\n    *(float *)(v3 + 88) = a3;\n    return 0;\n  }\n  else\n  {\n    if ( a2 == 19 )\n    {\n      ++*(_DWORD *)(v3 + 96);\n      *(float *)(v3 + 92) = a3;\n    }\n    return 0;\n  }\n}", "assembly": "; \n; sub_18010FF00 from 0x18010ff00 to 0x18010fff4 (244 bytes)\n; \n; 1 xrefs:\n; > sub_180110290 @ 0x1801107a8\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     rax, [rcx+8]                                                   ; +0x0, 0x18010ff00\ncmp     edx, 1                                                         ; +0x4, 0x18010ff04\njnz     short loc_18010FF14                                            ; +0x7, 0x18010ff07\ninc     dword ptr [rax+10h]                                            ; +0x9, 0x18010ff09\nmovss   dword ptr [rax+4], xmm2                                        ; +0xc, 0x18010ff0c\nxor     eax, eax                                                       ; +0x11, 0x18010ff11\nretn                                                                   ; +0x13, 0x18010ff13\ncmp     edx, 2                                                         ; +0x14, 0x18010ff14\njnz     short loc_18010FF24                                            ; +0x17, 0x18010ff17\ninc     dword ptr [rax+10h]                                            ; +0x19, 0x18010ff19\nmovss   dword ptr [rax+8], xmm2                                        ; +0x1c, 0x18010ff1c\nxor     eax, eax                                                       ; +0x21, 0x18010ff21\nretn                                                                   ; +0x23, 0x18010ff23\ncmp     edx, 3                                                         ; +0x24, 0x18010ff24\njnz     short loc_18010FF34                                            ; +0x27, 0x18010ff27\ninc     dword ptr [rax+10h]                                            ; +0x29, 0x18010ff29\nmovss   dword ptr [rax+0Ch], xmm2                                      ; +0x2c, 0x18010ff2c\nxor     eax, eax                                                       ; +0x31, 0x18010ff31\nretn                                                                   ; +0x33, 0x18010ff33\ncmp     edx, 5                                                         ; +0x34, 0x18010ff34\njnz     short loc_18010FF44                                            ; +0x37, 0x18010ff37\ninc     dword ptr [rax+24h]                                            ; +0x39, 0x18010ff39\nmovss   dword ptr [rax+18h], xmm2                                      ; +0x3c, 0x18010ff3c\nxor     eax, eax                                                       ; +0x41, 0x18010ff41\nretn                                                                   ; +0x43, 0x18010ff43\ncmp     edx, 6                                                         ; +0x44, 0x18010ff44\njnz     short loc_18010FF54                                            ; +0x47, 0x18010ff47\ninc     dword ptr [rax+24h]                                            ; +0x49, 0x18010ff49\nmovss   dword ptr [rax+1Ch], xmm2                                      ; +0x4c, 0x18010ff4c\nxor     eax, eax                                                       ; +0x51, 0x18010ff51\nretn                                                                   ; +0x53, 0x18010ff53\ncmp     edx, 7                                                         ; +0x54, 0x18010ff54\njnz     short loc_18010FF64                                            ; +0x57, 0x18010ff57\ninc     dword ptr [rax+24h]                                            ; +0x59, 0x18010ff59\nmovss   dword ptr [rax+20h], xmm2                                      ; +0x5c, 0x18010ff5c\nxor     eax, eax                                                       ; +0x61, 0x18010ff61\nretn                                                                   ; +0x63, 0x18010ff63\ncmp     edx, 9                                                         ; +0x64, 0x18010ff64\njnz     short loc_18010FF74                                            ; +0x67, 0x18010ff67\ninc     dword ptr [rax+38h]                                            ; +0x69, 0x18010ff69\nmovss   dword ptr [rax+2Ch], xmm2                                      ; +0x6c, 0x18010ff6c\nxor     eax, eax                                                       ; +0x71, 0x18010ff71\nretn                                                                   ; +0x73, 0x18010ff73\ncmp     edx, 0Ah                                                       ; +0x74, 0x18010ff74\njnz     short loc_18010FF84                                            ; +0x77, 0x18010ff77\ninc     dword ptr [rax+38h]                                            ; +0x79, 0x18010ff79\nmovss   dword ptr [rax+30h], xmm2                                      ; +0x7c, 0x18010ff7c\nxor     eax, eax                                                       ; +0x81, 0x18010ff81\nretn                                                                   ; +0x83, 0x18010ff83\ncmp     edx, 0Bh                                                       ; +0x84, 0x18010ff84\njnz     short loc_18010FF94                                            ; +0x87, 0x18010ff87\ninc     dword ptr [rax+38h]                                            ; +0x89, 0x18010ff89\nmovss   dword ptr [rax+34h], xmm2                                      ; +0x8c, 0x18010ff8c\nxor     eax, eax                                                       ; +0x91, 0x18010ff91\nretn                                                                   ; +0x93, 0x18010ff93\ncmp     edx, 0Dh                                                       ; +0x94, 0x18010ff94\njnz     short loc_18010FFA4                                            ; +0x97, 0x18010ff97\ninc     dword ptr [rax+4Ch]                                            ; +0x99, 0x18010ff99\nmovss   dword ptr [rax+40h], xmm2                                      ; +0x9c, 0x18010ff9c\nxor     eax, eax                                                       ; +0xa1, 0x18010ffa1\nretn                                                                   ; +0xa3, 0x18010ffa3\ncmp     edx, 0Eh                                                       ; +0xa4, 0x18010ffa4\njnz     short loc_18010FFB4                                            ; +0xa7, 0x18010ffa7\ninc     dword ptr [rax+4Ch]                                            ; +0xa9, 0x18010ffa9\nmovss   dword ptr [rax+44h], xmm2                                      ; +0xac, 0x18010ffac\nxor     eax, eax                                                       ; +0xb1, 0x18010ffb1\nretn                                                                   ; +0xb3, 0x18010ffb3\ncmp     edx, 0Fh                                                       ; +0xb4, 0x18010ffb4\njnz     short loc_18010FFC4                                            ; +0xb7, 0x18010ffb7\ninc     dword ptr [rax+4Ch]                                            ; +0xb9, 0x18010ffb9\nmovss   dword ptr [rax+48h], xmm2                                      ; +0xbc, 0x18010ffbc\nxor     eax, eax                                                       ; +0xc1, 0x18010ffc1\nretn                                                                   ; +0xc3, 0x18010ffc3\ncmp     edx, 11h                                                       ; +0xc4, 0x18010ffc4\njnz     short loc_18010FFD4                                            ; +0xc7, 0x18010ffc7\ninc     dword ptr [rax+60h]                                            ; +0xc9, 0x18010ffc9\nmovss   dword ptr [rax+54h], xmm2                                      ; +0xcc, 0x18010ffcc\nxor     eax, eax                                                       ; +0xd1, 0x18010ffd1\nretn                                                                   ; +0xd3, 0x18010ffd3\ncmp     edx, 12h                                                       ; +0xd4, 0x18010ffd4\njnz     short loc_18010FFE4                                            ; +0xd7, 0x18010ffd7\ninc     dword ptr [rax+60h]                                            ; +0xd9, 0x18010ffd9\nmovss   dword ptr [rax+58h], xmm2                                      ; +0xdc, 0x18010ffdc\nxor     eax, eax                                                       ; +0xe1, 0x18010ffe1\nretn                                                                   ; +0xe3, 0x18010ffe3\ncmp     edx, 13h                                                       ; +0xe4, 0x18010ffe4\njnz     short loc_18010FFF1                                            ; +0xe7, 0x18010ffe7\ninc     dword ptr [rax+60h]                                            ; +0xe9, 0x18010ffe9\nmovss   dword ptr [rax+5Ch], xmm2                                      ; +0xec, 0x18010ffec\nxor     eax, eax                                                       ; +0xf1, 0x18010fff1\nretn                                                                   ; +0xf3, 0x18010fff3", "xrefs": ["sub_180110290 @ 0x1801107a8"], "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"}