// // FMOD::Sound::lock from 0xd8194 to 0xd82a8 (276 bytes) // // 4 xrefs: // > FMOD::Sound::lock @ 0x10715c // > @ 0x8278 // > FMOD::Sound::lock @ 0x107154 // > @ 0x110170 // // This function is hookable on this platform (idp: arm, 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 12:14:53 +0000 // __int64 __fastcall FMOD::Sound::lock( FMOD::Sound *this, unsigned int a2, unsigned int a3, void **a4, void **a5, unsigned int *a6, unsigned int *a7) { unsigned int v13; // w26 __int64 v14; // x0 char v15; // w8 __int64 v16; // x0 __int64 v17; // x1 __int64 v19; // x0 int v20; // w8 char v21; // zf __int64 v22; // [xsp+108h] [xbp-58h] BYREF __int64 v23; // [xsp+118h] [xbp-48h] BYREF v22 = 0; v13 = sub_67800((__int64)this, &v23, (__int64)&v22); if ( !v13 ) { v19 = sub_DA3A0(); if ( !v20 || (sub_DA358(v19), v21) ) { v13 = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD, void **, void **, unsigned int *, unsigned int *))(*(_QWORD *)v23 + 40LL))( v23, a2, a3, a4, a5, a6, a7); if ( !v13 ) goto LABEL_4; } else { v13 = 46; } } v14 = sub_DA344(); if ( v15 < 0 ) { v16 = sub_DA5E4(v14); sub_D82A8(v16, v17, a2, a3, a4, a5, a6, a7); sub_DA398(v13, 5); } LABEL_4: sub_7A98C(&v22); return v13; }