//
// std::__ndk1::unique_lock::unlock from 0x9774a4 to 0x9774c4 (32 bytes)
//
// 2 xrefs:
// > std::__ndk1::recursive_timed_mutex::unlock @ 0x977456
// > std::__ndk1::__assoc_sub_state::__sub_wait @ 0x97f460
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:05:58 +0000
//
int __fastcall std::unique_lock::unlock(int a1)
{
if ( !*(_BYTE *)(a1 + 4) )
std::__throw_system_error(1, "unique_lock::unlock: not locked");
std::mutex::unlock(*(pthread_mutex_t **)a1);
*(_BYTE *)(a1 + 4) = 0;
return 0;
}