//
// std::__ndk1::__assoc_sub_state::wait from 0x97f474 to 0x97f4d4 (96 bytes)
//
// 0 xrefs:
//
// 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:06:06 +0000
//
int __fastcall std::__assoc_sub_state::wait(std::__assoc_sub_state *this)
{
std::mutex *v3; // [sp+4h] [bp-14h] BYREF
char v4; // [sp+8h] [bp-10h]
int v5; // [sp+Ch] [bp-Ch]
v3 = (std::__assoc_sub_state *)((char *)this + 12);
v4 = 1;
std::mutex::lock((pthread_mutex_t *)((char *)this + 12));
std::__assoc_sub_state::__sub_wait((int)this, (int)&v3);
if ( v4 )
std::mutex::unlock((pthread_mutex_t *)v3);
return _stack_chk_guard - v5;
}