//
// EditorSoundBrowserLayer::loadEditorSoundsFinished from 0x1004ce128 to 0x1004ce1e0 (184 bytes)
//
// 2 xrefs:
// > sub_1004CE1E8 @ 0x1004ce1ec
// > ??> @ 0x100988170
//
// 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:06:27 +0000
//
void __fastcall EditorSoundBrowserLayer::loadEditorSoundsFinished(__int64 a1, __int64 a2, char *__s)
{
_QWORD *v6; // x22
size_t v7; // x0
__int64 v8; // x8
__int64 v9; // x0
if ( __s )
{
v6 = (_QWORD *)(a1 + 1144);
v7 = strlen(__s);
v8 = *(char *)(a1 + 1167);
if ( v8 < 0 )
{
if ( v7 != *(_QWORD *)(a1 + 1152) )
return;
if ( v7 == -1 )
sub_100050040();
v6 = (_QWORD *)*v6;
}
else if ( v7 != v8 )
{
return;
}
if ( !memcmp(v6, __s, v7) )
{
v9 = *(_QWORD *)(a1 + 1096);
if ( v9 )
{
LoadingCircle::fadeAndRemove(v9);
*(_QWORD *)(a1 + 1096) = 0;
}
sub_1004CDAF0(a1, a2, "No lists found.");
sub_1004CDCDC(a1);
}
}
}