//
// sub_1001E1FD0 from 0x1001e1fd0 to 0x1001e2030 (96 bytes)
//
// 3 xrefs:
// > SongInfoObject::create_2 @ 0x1001d3b20
// > sub_1001D3DB4 @ 0x1001d3e24
// > SongInfoObject::createWithCoder @ 0x1001e2630
//
// 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:30 +0000
//
void __fastcall sub_1001E1FD0(std::string *a1, const std::string *a2)
{
__int64 size; // x21
std::string::pointer data; // x22
std::string::operator=(a1 + 22, a2);
size = a1[24].__r_.__value_.__l.__size_;
data = a1[24].__r_.__value_.__l.__data_;
while ( (std::string::pointer)size != data )
{
size -= 56;
sub_10000A738((__int64)&a1[24], size);
}
a1[24].__r_.__value_.__l.__size_ = (std::string::size_type)data;
sub_1001DDEA4((__int64)a2, (__int64)&a1[24]);
}