{"type": "func", "start": 6443293056, "end": 6443293091, "name": "sub_1800CD980", "pseudocode": "// \n// sub_1800CD980 from 0x1800cd980 to 0x1800cd9a3 (35 bytes)\n// \n// 1 xrefs:\n// > FMOD::Channel::getLoopCount @ 0x18009fed5\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_1800CD980(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rcx\n\n  if ( !a2 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 472);\n  if ( v3 )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 152LL))(v3);\n  else\n    return 30;\n}", "assembly": "; \n; sub_1800CD980 from 0x1800cd980 to 0x1800cd9a3 (35 bytes)\n; \n; 1 xrefs:\n; > FMOD::Channel::getLoopCount @ 0x18009fed5\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\ntest    rdx, rdx                                                       ; +0x0, 0x1800cd980\njnz     short loc_1800CD989                                            ; +0x3, 0x1800cd983\nlea     eax, [rdx+1Fh]                                                 ; +0x5, 0x1800cd985\nretn                                                                   ; +0x8, 0x1800cd988\nmov     rcx, [rcx+1D8h]                                                ; +0x9, 0x1800cd989\ntest    rcx, rcx                                                       ; +0x10, 0x1800cd990\njnz     short loc_1800CD999                                            ; +0x13, 0x1800cd993\nlea     eax, [rcx+1Eh]                                                 ; +0x15, 0x1800cd995\nretn                                                                   ; +0x18, 0x1800cd998\nmov     rax, [rcx]                                                     ; +0x19, 0x1800cd999\njmp     qword ptr [rax+98h]                                            ; +0x1c, 0x1800cd99c", "xrefs": ["FMOD::Channel::getLoopCount @ 0x18009fed5"], "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"}