//
// sub_1004C831C from 0x1004c831c to 0x1004c8360 (68 bytes)
//
// 1 xrefs:
// > EditorSoundsLayer::buildContentForTab @ 0x1004d7eac
//
// 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:24 +0000
//
__int64 *__fastcall sub_1004C831C(_QWORD *a1, int a2)
{
__int64 *result; // x0
__int64 **v3; // x8
int v4; // [xsp+Ch] [xbp-4h] BYREF
v4 = a2;
result = sub_100019268(a1, &v4);
if ( result )
{
v3 = (__int64 **)result[3];
if ( v3 )
{
result = *v3;
if ( *v3 )
return (__int64 *)sub_1002E757C((__int64)result);
}
else
{
return nullptr;
}
}
return result;
}