// // sub_1800DAA10 from 0x1800daa10 to 0x1800daac1 (177 bytes) // // 5 xrefs: // > @ 0x18016ce40 // > @ 0x18018c690 // > @ 0x18018c6a0 // > @ 0x18018c6b8 // > @ 0x1801ff2b8 // // 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_1800DAA10(__int64 a1, __int64 a2, __int64 a3) { __int64 result; // rax struct _RTL_CRITICAL_SECTION *v7; // r14 _QWORD *v8; // rbx _QWORD *v9; // rdi unsigned int v10; // esi DWORD v11; // [rsp+58h] [rbp+20h] BYREF v11 = 0; result = sub_1800C1770(&v11); if ( !(_DWORD)result ) { *(_DWORD *)(a2 + 4) = v11 - *(_DWORD *)(a1 + 72); if ( a3 ) { result = sub_180113070(a3, a2); if ( (_DWORD)result ) return result; return 0; } v7 = *(struct _RTL_CRITICAL_SECTION **)(a1 + 64); FMOD_OS_CriticalSection_Enter(v7); v8 = *(_QWORD **)(a1 + 16); v9 = (_QWORD *)(a1 + 16); if ( v8 == v9 ) { LABEL_8: FMOD_OS_CriticalSection_Leave(v7); return 0; } while ( 1 ) { v10 = sub_180113070(v8, a2); if ( v10 ) break; v8 = (_QWORD *)*v8; if ( v8 == v9 ) goto LABEL_8; } FMOD_OS_CriticalSection_Leave(v7); return v10; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source