//
// EditorSoundConfigCell::onViewProfile from 0x1401919a0 to 0x1401919df (63 bytes)
//
// 2 xrefs:
// > EditorSoundConfigCell::loadFromConfig @ 0x140191197
// > ??> @ 0x140919334
//
// 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 11:27:43 +0000
//
void __fastcall EditorSoundConfigCell::onViewProfile(__int64 a1)
{
__int64 v1; // rcx
__int64 v2; // rcx
__int64 v3; // rax
v1 = *(_QWORD *)(a1 + 560);
if ( v1 )
{
v2 = *(unsigned int *)(v1 + 344);
if ( (int)v2 > 0 )
{
v3 = ProfilePage::create(v2, 0);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1064LL))(v3);
}
}
}