// // sub_1801021E0 from 0x1801021e0 to 0x18010225c (124 bytes) // // 13 xrefs: // > sub_18005AF70 @ 0x18005afb3 // > FMOD::DSPI::validate @ 0x18009c857 // > FMOD::Sound::release @ 0x1800a92ce // > FMOD::Sound::setSoundGroup @ 0x1800aa19e // > FMOD_Memory_GetStats @ 0x1800c612b // > sub_1800CCA80 @ 0x1800ccacc // > FMOD::ChannelI::validate @ 0x1800d0ae0 // > sub_1800D2A40 @ 0x1800d2ba5 // > sub_1800DE200 @ 0x1800de268 // > sub_1800E2620 @ 0x1800e2638 // > sub_1800E2620 @ 0x1800e2745 // > FMOD::SystemI::validate @ 0x1800e8a16 // > @ 0x180201238 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:54:29 +0000 // __int64 __fastcall sub_1801021E0(__int64 a1) { __int64 result; // rax struct _RTL_CRITICAL_SECTION *v3; // rcx __int64 v4; // [rsp+30h] [rbp+8h] BYREF if ( !*(_QWORD *)(a1 + 69512) ) return 0; if ( *(_QWORD *)(a1 + 70432) ) { v4 = 0; result = sub_1800C1750(&v4); if ( (_DWORD)result ) return result; if ( *(_QWORD *)(a1 + 70432) == v4 && *(_BYTE *)(a1 + 70440) ) return 35; } v3 = *(struct _RTL_CRITICAL_SECTION **)(a1 + 69512); if ( !v3 ) return 28; result = FMOD_OS_CriticalSection_Enter(v3); if ( !(_DWORD)result ) return 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source