//
// GJGameLevel::getSongName from 0x140264890 to 0x1402649b4 (292 bytes)
//
// 4 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x14014ac3a
// > LevelCell::loadLocalLevelCell @ 0x14014cdad
// > EditLevelLayer::setupLevelInfo @ 0x140179f77
// > ??> @ 0x14091c898
//
// 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:28:49 +0000
//
// Hidden C++ exception states: #wind=1
_OWORD *__fastcall GJGameLevel::getSongName(__int64 a1, _OWORD *a2)
{
unsigned int v3; // eax
__int64 v4; // rax
__int128 v5; // xmm6
__m128i v6; // xmm7
__int128 v8; // [rsp+30h] [rbp-78h]
__m128i v9; // [rsp+40h] [rbp-68h]
__int128 v10; // [rsp+50h] [rbp-58h] BYREF
__m128i si128; // [rsp+60h] [rbp-48h]
v3 = *(_DWORD *)(a1 + 680);
if ( v3 )
{
v8 = 0;
v9.m128i_i64[1] = 15;
v4 = SongInfoObject::create_1(v3);
if ( !v4 || *(_BYTE *)(v4 + 472) )
{
v9.m128i_i64[0] = 7;
*(_QWORD *)&v8 = 0x6E776F6E6B6E55LL;
v6 = v9;
v5 = v8;
}
else
{
sub_14003F4F0((__int64)&v10, v4 + 328);
v5 = v10;
v6 = si128;
si128 = _mm_load_si128((const __m128i *)&Size);
LOBYTE(v10) = 0;
sub_14003D310((__int64)&v10);
}
*a2 = v5;
a2[1] = v6;
}
else
{
LevelTools::getAudioTitle(a2, *(unsigned int *)(a1 + 676));
}
return a2;
}