//
// MusicArtistObject::init from 0x964528 to 0x964570 (72 bytes)
//
// 2 xrefs:
// > MusicArtistObject::create @ 0x96460c
// > ??> @ 0x4d380
//
// 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 12:57:35 +0000
//
__int64 __fastcall MusicArtistObject::init(__int64 a1, int a2, __int64 a3)
{
const void *v3; // x1
size_t v4; // x2
*(_DWORD *)(a1 + 56) = a2;
if ( a1 + 64 != a3 )
{
if ( (*(_BYTE *)a3 & 1) != 0 )
{
v3 = *(const void **)(a3 + 16);
v4 = *(_QWORD *)(a3 + 8);
}
else
{
v3 = (const void *)(a3 + 1);
v4 = *(_BYTE *)a3 >> 1;
}
std::string::assign((__int64 *)(a1 + 64), v3, v4);
}
return 1;
}