//
// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0x1008f18d0 to 0x1008f1981 (177 bytes)
//
// 2 xrefs:
// > sub_1008F1990 @ 0x1008f199c
// > ??> @ 0x100bb5168
//
// This function is hookable on this platform (idp: pc, 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:37:56 +0000
//
void __fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(__int64 a1, __int64 a2, const char *a3)
{
size_t v5; // rax
unsigned int v6; // ecx
const void *v7; // rdi
__int64 v8; // rdi
if ( a3 )
{
v5 = strlen(a3);
v6 = *(unsigned __int8 *)(a1 + 1144);
if ( (v6 & 1) != 0 )
{
if ( v5 != *(_QWORD *)(a1 + 1152) )
return;
if ( v5 == -1 )
sub_100056810();
v7 = *(const void **)(a1 + 1160);
}
else
{
if ( v5 != v6 >> 1 )
return;
v7 = (const void *)(a1 + 1145);
}
if ( !memcmp(v7, a3, v5) )
{
v8 = *(_QWORD *)(a1 + 1096);
if ( v8 )
{
LoadingCircle::fadeAndRemove(v8);
*(_QWORD *)(a1 + 1096) = 0;
}
sub_1008F1170(a1, a2, (__int64)"No lists found.");
sub_1008F13A0(a1);
}
}
}