//
// sub_10038AAB0 from 0x10038aab0 to 0x10038ab54 (164 bytes)
//
// 1 xrefs:
// > MusicBrowser::update @ 0x10046978c
//
// 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 11:03:34 +0000
//
__int64 __fastcall sub_10038AAB0(__int64 result)
{
__int64 v1; // x19
if ( (*(_BYTE *)(result + 448) & 1) == 0 )
{
v1 = result;
*(_BYTE *)(result + 448) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(result + 408) + 1000LL))(*(_QWORD *)(result + 408), 1);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v1 + 416) + 960LL))(*(_QWORD *)(v1 + 416), &unk_10076DA30);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v1 + 424) + 960LL))(*(_QWORD *)(v1 + 424), &unk_10076DA30);
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v1 + 408) + 448LL) + 1072LL))(*(_QWORD *)(*(_QWORD *)(v1 + 408) + 448LL));
if ( result )
return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)result + 960LL))(result, &unk_10076DA30);
}
return result;
}