//
// sub_1001E2AB4 from 0x1001e2ab4 to 0x1001e2b78 (196 bytes)
//
// 1 xrefs:
// > SongInfoObject::createWithCoder @ 0x1001e2884
//
// 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:00:31 +0000
//
void __fastcall sub_1001E2AB4(__int64 a1, __int64 a2)
{
__int64 v2; // x8
__int64 v5; // x8
void **v6; // x1
std::string::size_type v7; // x2
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
unsigned __int8 v9; // [xsp+1Fh] [xbp-21h]
v2 = *(unsigned __int8 *)(a2 + 55);
if ( (v2 & 0x80u) != 0LL )
v2 = *(_QWORD *)(a2 + 40);
if ( v2 && (sub_1001E30D8(a1 + 600, a2 + 32) & 1) == 0 )
{
sub_1001DD80C(a1 + 600, a2);
v5 = *(char *)(a1 + 575);
if ( v5 < 0 )
v5 = *(_QWORD *)(a1 + 560);
if ( v5 )
std::string::append((std::string *)(a1 + 552), ";");
sub_1001E31B4(__p, a2);
if ( (v9 & 0x80u) == 0 )
v6 = __p;
else
v6 = (void **)__p[0];
if ( (v9 & 0x80u) == 0 )
v7 = v9;
else
v7 = (std::string::size_type)__p[1];
std::string::append((std::string *)(a1 + 552), (const std::string::value_type *)v6, v7);
if ( (char)v9 < 0 )
operator delete(__p[0]);
}
}