//
// sub_14049BB00 from 0x14049bb00 to 0x14049bc0d (269 bytes)
//
// 8 xrefs:
// > SongInfoObject::getSongLinks @ 0x140496b15
// > SongInfoLayer::create_1 @ 0x1406344b6
// > SongInfoLayer::create_1 @ 0x1406344c7
// > SongInfoLayer::create_2 @ 0x1406348c9
// > SongInfoLayer::create_2 @ 0x1406348da
// > SongInfoLayer::create @ 0x140634b25
// > SongInfoLayer::create @ 0x140634b38
// > ??> @ 0x140929174
//
// 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:32:54 +0000
//
// Hidden C++ exception states: #wind=3
_QWORD *__fastcall sub_14049BB00(_QWORD *a1, _QWORD *a2)
{
unsigned __int64 v4; // rdx
__int64 v5; // rbx
_DWORD *v6; // rdi
_DWORD *v7; // rbp
_DWORD *i; // rbx
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v4 = (a2[1] - *a2) / 72LL;
if ( v4 )
{
if ( v4 > 0x38E38E38E38E38ELL )
sub_14005A170();
v5 = 18 * v4;
v6 = sub_14003D460(72 * v4);
*a1 = v6;
a1[1] = v6;
a1[2] = &v6[v5];
v7 = (_DWORD *)a2[1];
for ( i = (_DWORD *)*a2; i != v7; i += 18 )
{
*v6 = *i;
v6[1] = i[1];
sub_14003F4F0((__int64)(v6 + 2), (__int64)(i + 2));
sub_14003F4F0((__int64)(v6 + 10), (__int64)(i + 10));
v6 += 18;
}
a1[1] = v6;
}
return a1;
}