//
// SongSelectNode::create from 0x1001fbf10 to 0x1001fc014 (260 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::init @ 0x1002575b2
// > SetupSongTriggerPopup::init @ 0x1002c0099
//
// 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 12:26:50 +0000
//
_QWORD *__fastcall SongSelectNode::create(
int a1,
unsigned __int8 a2,
__int64 a3,
int a4,
__int64 a5,
__int64 a6,
__int64 a7,
char a8)
{
_QWORD *v9; // rbx
_BYTE v11[8]; // [rsp+18h] [rbp-48h] BYREF
__int64 v12; // [rsp+20h] [rbp-40h]
__int64 v13; // [rsp+28h] [rbp-38h]
int v14; // [rsp+34h] [rbp-2Ch]
v13 = a6;
v14 = a4;
v12 = a3;
v9 = operator new(0x1B0u);
cocos2d::CCNode::CCNode(v9);
*v9 = off_100AE1A58;
v9[40] = &off_100AE1E18;
v9[41] = &off_100AE1E30;
v9[42] = off_100AE1E48;
*((_DWORD *)v9 + 86) = 0;
*((_WORD *)v9 + 174) = 0;
v9[45] = 0;
v9[53] = 0;
sub_1002782D0(v11, a5);
if ( (unsigned __int8)SongSelectNode::init((_DWORD)v9, a1, a2, v12, v14, (unsigned int)v11, v13, a7, a8) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v9 + 16LL))(v9);
return nullptr;
}
return v9;
}