// // sub_1800DE070 from 0x1800de070 to 0x1800de186 (278 bytes) // // 4 xrefs: // > FMOD::SoundGroup::setVolume @ 0x1800ab273 // > @ 0x18018ce6c // > @ 0x18018ce7c // > @ 0x1801ff6e4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1800DE070(__int64 a1, float a2) { _QWORD *v3; // rsi __int64 v4; // rcx __int64 v5; // rax __int64 v6; // rdi _QWORD *v7; // rbx __int64 v8; // rdx __int64 v9; // rax __int64 v11; // [rsp+40h] [rbp+8h] BYREF *(float *)(a1 + 120) = fminf(fmaxf(a2, 0.0), 1.0); FMOD_OS_CriticalSection_Enter(*((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 36)); v3 = *(_QWORD **)(a1 + 40); if ( v3 != (_QWORD *)(a1 + 40) ) { v4 = *(_QWORD *)(a1 + 24); do { v5 = *(_QWORD *)(v4 + 872); v6 = v3[2]; v7 = (_QWORD *)(v5 - 376); if ( !v5 ) v7 = nullptr; while ( v7 != (_QWORD *)(v4 + 496) ) { if ( v7[59] ) { v11 = 0; sub_1800CD830((__int64)v7, &v11); if ( v11 == v6 ) (*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*v7 + 32LL))(v7, v8, 0); } v9 = v7[47]; v4 = *(_QWORD *)(a1 + 24); v7 = (_QWORD *)(v9 - 376); if ( !v9 ) v7 = nullptr; } v3 = (_QWORD *)*v3; } while ( v3 != (_QWORD *)(a1 + 40) ); } FMOD_OS_CriticalSection_Leave(*((struct _RTL_CRITICAL_SECTION **)off_1801AED20 + 36)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source