// // sub_1800DA460 from 0x1800da460 to 0x1800da547 (231 bytes) // // 2 xrefs: // > @ 0x18016ce50 // > @ 0x1801ff264 // // 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_1800DA460(__int64 a1, unsigned __int8 a2, unsigned __int8 a3, unsigned int a4, __int64 a5) { __int64 result; // rax struct _RTL_CRITICAL_SECTION *v10; // rbp _QWORD *v11; // rbx _QWORD *v12; // rsi unsigned int v13; // edi __int64 v14; // [rsp+20h] [rbp-58h] BYREF _BYTE v15[12]; // [rsp+28h] [rbp-50h] v14 = 18; *(_DWORD *)v15 = 0; v15[4] = a2; v15[5] = a3; *(_DWORD *)&v15[6] = a4; if ( a5 ) { result = sub_180113070(a5, &v14); if ( (_DWORD)result ) return result; return 0; } v10 = *(struct _RTL_CRITICAL_SECTION **)(a1 + 64); FMOD_OS_CriticalSection_Enter(v10); v11 = *(_QWORD **)(a1 + 16); v12 = (_QWORD *)(a1 + 16); if ( v11 == v12 ) { LABEL_8: FMOD_OS_CriticalSection_Leave(v10); return 0; } while ( 1 ) { v13 = sub_180113070(v11, &v14); if ( v13 ) break; v13 = sub_1801129D0(v11, a2, a3, a4, v14, *(_QWORD *)v15, *(_DWORD *)&v15[8]); if ( v13 ) break; v11 = (_QWORD *)*v11; if ( v11 == v12 ) goto LABEL_8; } FMOD_OS_CriticalSection_Leave(v10); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source