{"type": "func", "start": 6443486880, "end": 6443487037, "name": "sub_1800FCEA0", "pseudocode": "// \n// sub_1800FCEA0 from 0x1800fcea0 to 0x1800fcf3d (157 bytes)\n// \n// 4 xrefs:\n// > FMOD_Memory_GetStats @ 0x1800c6150\n// > sub_1800E2620 @ 0x1800e2c16\n// > sub_180102CA0 @ 0x18010331d\n// > <???> @ 0x180200f2c\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_1800FCEA0(__int64 a1)\n{\n  _QWORD *v2; // rdi\n  _QWORD *v3; // rax\n  __int64 v4; // rbx\n  __int64 result; // rax\n\n  sub_1801021C0(a1, 20);\n  v2 = (_QWORD *)(a1 + 68040);\n  v3 = *(_QWORD **)(a1 + 68040);\n  if ( v3 == (_QWORD *)(a1 + 68040) )\n  {\nLABEL_4:\n    sub_180102300(a1, 20);\n    return 0;\n  }\n  else\n  {\n    while ( 1 )\n    {\n      v4 = v3[2];\n      *(_QWORD *)v3[1] = *v3;\n      *(_QWORD *)(*v3 + 8LL) = v3[1];\n      v3[1] = v3;\n      *v3 = v3;\n      sub_180102300(a1, 20);\n      result = sub_180098710(v4);\n      if ( (_DWORD)result )\n        break;\n      sub_1801021C0(a1, 20);\n      v3 = (_QWORD *)*v2;\n      if ( (_QWORD *)*v2 == v2 )\n        goto LABEL_4;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_1800FCEA0 from 0x1800fcea0 to 0x1800fcf3d (157 bytes)\n; \n; 4 xrefs:\n; > FMOD_Memory_GetStats @ 0x1800c6150\n; > sub_1800E2620 @ 0x1800e2c16\n; > sub_180102CA0 @ 0x18010331d\n; > <???> @ 0x180200f2c\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, 0x1800fcea0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800fcea5\npush    rdi                                                            ; +0xa, 0x1800fceaa\nsub     rsp, 20h                                                       ; +0xb, 0x1800fceab\nmov     edx, 14h                                                       ; +0xf, 0x1800fceaf\nmov     rsi, rcx                                                       ; +0x14, 0x1800fceb4\ncall    sub_1801021C0                                                  ; +0x17, 0x1800fceb7\nlea     rdi, [rsi+109C8h]                                              ; +0x1c, 0x1800fcebc\nmov     rax, [rdi]                                                     ; +0x23, 0x1800fcec3\ncmp     rax, rdi                                                       ; +0x26, 0x1800fcec6\njz      short loc_1800FCF1E                                            ; +0x29, 0x1800fcec9\nnop     dword ptr [rax+rax+00h]                                        ; +0x2b, 0x1800fcecb\nmov     r8, [rax+8]                                                    ; +0x30, 0x1800fced0\nmov     rcx, rsi                                                       ; +0x34, 0x1800fced4\nmov     rdx, [rax]                                                     ; +0x37, 0x1800fced7\nmov     rbx, [rax+10h]                                                 ; +0x3a, 0x1800fceda\nmov     [r8], rdx                                                      ; +0x3e, 0x1800fcede\nmov     rdx, [rax+8]                                                   ; +0x41, 0x1800fcee1\nmov     r8, [rax]                                                      ; +0x45, 0x1800fcee5\nmov     [r8+8], rdx                                                    ; +0x48, 0x1800fcee8\nmov     edx, 14h                                                       ; +0x4c, 0x1800fceec\nmov     [rax+8], rax                                                   ; +0x51, 0x1800fcef1\nmov     [rax], rax                                                     ; +0x55, 0x1800fcef5\ncall    sub_180102300                                                  ; +0x58, 0x1800fcef8\nxor     edx, edx                                                       ; +0x5d, 0x1800fcefd\nmov     rcx, rbx                                                       ; +0x5f, 0x1800fceff\ncall    sub_180098710                                                  ; +0x62, 0x1800fcf02\ntest    eax, eax                                                       ; +0x67, 0x1800fcf07\njnz     short loc_1800FCF2D                                            ; +0x69, 0x1800fcf09\nlea     edx, [rax+14h]                                                 ; +0x6b, 0x1800fcf0b\nmov     rcx, rsi                                                       ; +0x6e, 0x1800fcf0e\ncall    sub_1801021C0                                                  ; +0x71, 0x1800fcf11\nmov     rax, [rdi]                                                     ; +0x76, 0x1800fcf16\ncmp     rax, rdi                                                       ; +0x79, 0x1800fcf19\njnz     short loc_1800FCED0                                            ; +0x7c, 0x1800fcf1c\nmov     edx, 14h                                                       ; +0x7e, 0x1800fcf1e\nmov     rcx, rsi                                                       ; +0x83, 0x1800fcf23\ncall    sub_180102300                                                  ; +0x86, 0x1800fcf26\nxor     eax, eax                                                       ; +0x8b, 0x1800fcf2b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x8d, 0x1800fcf2d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x92, 0x1800fcf32\nadd     rsp, 20h                                                       ; +0x97, 0x1800fcf37\npop     rdi                                                            ; +0x9b, 0x1800fcf3b\nretn                                                                   ; +0x9c, 0x1800fcf3c", "xrefs": ["FMOD_Memory_GetStats @ 0x1800c6150", "sub_1800E2620 @ 0x1800e2c16", "sub_180102CA0 @ 0x18010331d", "<???> @ 0x180200f2c"], "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"}