//
// SongSelectNode::create from 0x98051c to 0x980674 (344 bytes)
//
// 3 xrefs:
// > SetupSongTriggerPopup::init @ 0xaeaa38
// > LevelSettingsLayer::init @ 0xb65b2c
// > ??> @ 0x7dda0
//
// 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 12:57:50 +0000
//
__int64 __fastcall SongSelectNode::create(
int a1,
char a2,
__int64 a3,
int a4,
const cocos2d::CCPoint *a5,
__int64 a6,
cocos2d::CCNode *a7,
char a8)
{
__int64 v16; // x19
__int64 v17; // x1
__int64 v18; // x0
float v20; // [xsp+80h] [xbp+70h] BYREF
v16 = operator new(0x1B0u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v16);
*(_DWORD *)(v16 + 344) = 0;
*(_QWORD *)v16 = &off_1470FB0;
*(_QWORD *)(v16 + 320) = &off_1471370;
*(_QWORD *)(v16 + 328) = &off_1471388;
*(_QWORD *)(v16 + 336) = &off_14713A0;
*(_BYTE *)(v16 + 348) = 0;
*(_BYTE *)(v16 + 349) = 0;
*(_QWORD *)(v16 + 360) = 0;
*(_QWORD *)(v16 + 424) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20, a5);
if ( (unsigned __int8)SongSelectNode::init(v16, a1, a2, a3, a4, &v20, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v16);
}
else
{
v17 = *(_QWORD *)v16;
v18 = v16;
v16 = 0;
(*(void (__fastcall **)(__int64))(v17 + 16))(v18);
}
return v16;
}