//
// SongInfoLayer::create from 0x140492610 to 0x140492927 (791 bytes)
//
// 3 xrefs:
// > CustomSongWidget::onMore @ 0x1400ca8f6
// > SongInfoLayer::create_1 @ 0x140492583
// > ??> @ 0x1406dc11c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=14
char *__fastcall SongInfoLayer::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
int a7,
__int64 a8,
int a9)
{
__int64 v10; // rdi
__int64 v11; // rbx
char *v12; // r13
__int64 v13; // r12
__int64 v14; // r15
__int64 v15; // r14
__int64 v16; // rsi
int v17; // eax
char v23[32]; // [rsp+C0h] [rbp-40h] BYREF
char v24[32]; // [rsp+E0h] [rbp-20h] BYREF
char v25[32]; // [rsp+100h] [rbp+0h] BYREF
char v26[32]; // [rsp+120h] [rbp+20h] BYREF
char v27[32]; // [rsp+140h] [rbp+40h] BYREF
char v28[32]; // [rsp+160h] [rbp+60h] BYREF
char v29[32]; // [rsp+180h] [rbp+80h] BYREF
__int64 v30; // [rsp+1A0h] [rbp+A0h]
__int64 v31; // [rsp+1A8h] [rbp+A8h]
__int64 v32; // [rsp+1B0h] [rbp+B0h]
__int64 v33; // [rsp+1B8h] [rbp+B8h]
__int64 v34; // [rsp+1C0h] [rbp+C0h]
__int64 v35; // [rsp+1C8h] [rbp+C8h]
__int64 v36; // [rsp+1D0h] [rbp+D0h]
v10 = a3;
v11 = a2;
v30 = a1;
v31 = a2;
v32 = a3;
v33 = a4;
v34 = a5;
v35 = a6;
v36 = a8;
v12 = (char *)operator new(0x300u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v12);
*(_QWORD *)v12 = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 40) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 41) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 42) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 43) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 44) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 51) = &SongInfoLayer::`vftable';
*((_QWORD *)v12 + 54) = &SongInfoLayer::`vftable';
*(_OWORD *)(v12 + 632) = 0;
*((_QWORD *)v12 + 81) = 0;
*((_QWORD *)v12 + 82) = 15;
v12[632] = 0;
*(_OWORD *)(v12 + 664) = 0;
*((_QWORD *)v12 + 85) = 0;
*((_QWORD *)v12 + 86) = 15;
v12[664] = 0;
*(_OWORD *)(v12 + 696) = 0;
*((_QWORD *)v12 + 89) = 0;
*((_QWORD *)v12 + 90) = 15;
v12[696] = 0;
*(_OWORD *)(v12 + 728) = 0;
*((_QWORD *)v12 + 93) = 0;
*((_QWORD *)v12 + 94) = 15;
v12[728] = 0;
*((_DWORD *)v12 + 191) = 0;
v13 = sub_14003BDB0((__int64)v23, a8);
v14 = sub_14003BDB0((__int64)v24, a6);
v15 = sub_14003BDB0((__int64)v25, a5);
v16 = sub_14003BDB0((__int64)v26, a4);
LODWORD(v10) = sub_14003BDB0((__int64)v27, v10);
LODWORD(v11) = sub_14003BDB0((__int64)v28, v11);
v17 = sub_14003BDB0((__int64)v29, a1);
if ( (unsigned __int8)SongInfoLayer::init((_DWORD)v12, v17, v11, v10, v16, v15, v14, a7, v13, a9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1);
v12 = nullptr;
}
sub_14003A830(a1);
sub_14003A830(a2);
sub_14003A830(a3);
sub_14003A830(a4);
sub_14003A830(a5);
sub_14003A830(a6);
sub_14003A830(a8);
return v12;
}