{"type": "func", "start": 6443298512, "end": 6443298561, "name": "sub_1800CEED0", "pseudocode": "// \n// sub_1800CEED0 from 0x1800ceed0 to 0x1800cef01 (49 bytes)\n// \n// 1 xrefs:\n// > FMOD::Channel::setLoopCount @ 0x1800a063e\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_1800CEED0(__int64 a1, int a2)\n{\n  __int64 v2; // r8\n\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( !v2 || !*(_QWORD *)(a1 + 32) )\n    return 30;\n  if ( a2 >= -1 )\n    return (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 144LL))(*(_QWORD *)(a1 + 472));\n  return 31;\n}", "assembly": "; \n; sub_1800CEED0 from 0x1800ceed0 to 0x1800cef01 (49 bytes)\n; \n; 1 xrefs:\n; > FMOD::Channel::setLoopCount @ 0x1800a063e\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+1D8h]                                                 ; +0x0, 0x1800ceed0\ntest    r8, r8                                                         ; +0x7, 0x1800ceed7\njz      short loc_1800CEEFB                                            ; +0xa, 0x1800ceeda\ncmp     qword ptr [rcx+20h], 0                                         ; +0xc, 0x1800ceedc\njz      short loc_1800CEEFB                                            ; +0x11, 0x1800ceee1\ncmp     edx, 0FFFFFFFFh                                                ; +0x13, 0x1800ceee3\njge     short loc_1800CEEEE                                            ; +0x16, 0x1800ceee6\nmov     eax, 1Fh                                                       ; +0x18, 0x1800ceee8\nretn                                                                   ; +0x1d, 0x1800ceeed\nmov     rax, [r8]                                                      ; +0x1e, 0x1800ceeee\nmov     rcx, r8                                                        ; +0x21, 0x1800ceef1\njmp     qword ptr [rax+90h]                                            ; +0x24, 0x1800ceef4\nmov     eax, 1Eh                                                       ; +0x2b, 0x1800ceefb\nretn                                                                   ; +0x30, 0x1800cef00", "xrefs": ["FMOD::Channel::setLoopCount @ 0x1800a063e"], "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"}