//
// SongInfoLayer::create from 0x140634980 to 0x140634c08 (648 bytes)
//
// 3 xrefs:
// > SongInfoLayer::create_1 @ 0x14063450c
// > SongInfoLayer::create_2 @ 0x14063492a
// > ??> @ 0x140930bf0
//
// 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:35:30 +0000
//
// Hidden C++ exception states: #wind=10
char *__fastcall SongInfoLayer::create(__int64 a1, __int64 a2, _QWORD *a3, _QWORD *a4, int a5, __int64 a6, int a7)
{
char *v11; // r14
__int64 v12; // rbp
_QWORD *v13; // rsi
_QWORD *v14; // rdi
__int64 v15; // rbx
__int64 v16; // rax
__int64 v19[3]; // [rsp+88h] [rbp-100h] BYREF
__int64 v20[3]; // [rsp+A0h] [rbp-E8h] BYREF
char v21[32]; // [rsp+B8h] [rbp-D0h] BYREF
char v22[32]; // [rsp+D8h] [rbp-B0h] BYREF
char v23[32]; // [rsp+F8h] [rbp-90h] BYREF
__int64 v24; // [rsp+118h] [rbp-70h]
__int64 v25; // [rsp+120h] [rbp-68h]
__int64 v26; // [rsp+128h] [rbp-60h]
v24 = a1;
v25 = a2;
v26 = a6;
v11 = (char *)operator new(0x2F8u);
FLAlertLayer::FLAlertLayer((__int64)v11);
*(_QWORD *)v11 = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 40) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 41) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 42) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 43) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 44) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 51) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 54) = &SongInfoLayer::`vftable';
*((_QWORD *)v11 + 68) = &SongInfoLayer::`vftable';
*(_OWORD *)(v11 + 664) = 0;
*((_QWORD *)v11 + 85) = 0;
*((_QWORD *)v11 + 86) = 15;
v11[664] = 0;
*(_OWORD *)(v11 + 696) = 0;
*((_QWORD *)v11 + 89) = 0;
*((_QWORD *)v11 + 90) = 15;
v11[696] = 0;
*((_DWORD *)v11 + 183) = 0;
*((_QWORD *)v11 + 92) = 0;
*((_QWORD *)v11 + 93) = 0;
*((_QWORD *)v11 + 94) = 0;
v12 = sub_14003F4F0((__int64)v21, a6);
v13 = sub_14049BB00(v19, a4);
v14 = sub_14049BB00(v20, a3);
v15 = sub_14003F4F0((__int64)v22, a2);
v16 = sub_14003F4F0((__int64)v23, a1);
if ( (unsigned __int8)SongInfoLayer::init(v11, v16, v15, v14, v13, a5, v12, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v11 + 8LL))(v11, 1);
v11 = nullptr;
}
sub_14003D310(a1);
sub_14003D310(a2);
sub_1401226A0(a3);
sub_1401226A0(a4);
sub_14003D310(a6);
return v11;
}