//
// SongSelectNode::create from 0x1001c56e0 to 0x1001c57dc (252 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::init @ 0x10020c544
// > SetupSongTriggerPopup::init @ 0x1002586bc
//
// 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:17 +0000
//
_QWORD *__fastcall SongSelectNode::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
double *a5,
__int64 a6,
__int64 a7,
char a8)
{
_QWORD *v16; // x19
double v17; // d0
char v19; // [xsp+0h] [xbp-60h]
__int64 v20; // [xsp+8h] [xbp-58h] BYREF
v16 = operator new(0x1B0u);
cocos2d::CCNode::CCNode();
*v16 = off_1008E9628;
v16[40] = &off_1008E99E8;
v16[41] = &off_1008E9A00;
v16[42] = off_1008E9A18;
*((_DWORD *)v16 + 86) = 0;
*((_WORD *)v16 + 174) = 0;
v16[45] = 0;
v16[53] = 0;
v17 = sub_1000262F4(&v20, a5);
v19 = a8;
if ( (unsigned int)SongSelectNode::init(v16, a1, a2, a3, a4, &v20, a6, a7, v17, v19) )
{
cocos2d::CCObject::autorelease((__int64)v16);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v16 + 16LL))(v16);
return nullptr;
}
return v16;
}