//
// sub_1004CF85C from 0x1004cf85c to 0x1004cf89c (64 bytes)
//
// 1 xrefs:
// > EditorSoundConfigCell::loadFromConfig @ 0x1004cf0cc
//
// 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
//
__int64 __fastcall sub_1004CF85C(__int64 result)
{
__int64 v1; // x8
v1 = *(_QWORD *)(result + 552);
if ( v1 )
{
result = *(unsigned int *)(v1 + 340);
if ( (int)result >= 1 )
{
result = (__int64)ProfilePage::create(result, 0);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1312LL))(result);
}
}
return result;
}