//
// CustomSongWidget::create from 0x10061a730 to 0x10061a8d3 (419 bytes)
//
// 5 xrefs:
// > CustomSongLayer::init @ 0x1002157fc
// > SongSelectNode::init @ 0x100219330
// > CustomSongCell::loadFromObject @ 0x100243e60
// > CustomMusicCell::loadFromObject @ 0x10024408e
// > LevelInfoLayer::init @ 0x1002befa5
//
// 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
//
CustomSongWidget *__fastcall CustomSongWidget::create(
SongInfoObject *a1,
CustomSongDelegate *a2,
bool a3,
bool a4,
bool a5,
bool a6,
bool a7,
bool a8,
int a9)
{
char *v12; // rbx
v12 = (char *)operator new(0x278u);
cocos2d::CCNode::CCNode((__int64)v12);
*(_QWORD *)v12 = off_100981EC8;
*((_QWORD *)v12 + 40) = off_1009822A0;
*((_QWORD *)v12 + 41) = &off_100982300;
*((_QWORD *)v12 + 42) = 0;
*((_QWORD *)v12 + 48) = 0;
*((_QWORD *)v12 + 50) = 0;
*((_QWORD *)v12 + 52) = 0;
*((_QWORD *)v12 + 54) = 0;
*(_OWORD *)(v12 + 536) = 0;
*((_OWORD *)v12 + 22) = 0;
*((_QWORD *)v12 + 46) = 0;
*((_OWORD *)v12 + 28) = 0;
*((_OWORD *)v12 + 29) = 0;
*(_OWORD *)(v12 + 478) = 0;
*((_QWORD *)v12 + 62) = 0;
v12[504] = 0;
*(_DWORD *)(v12 + 519) = 0;
*((_QWORD *)v12 + 64) = 0;
*((_QWORD *)v12 + 66) = v12 + 536;
*((_OWORD *)v12 + 35) = 0;
*((_QWORD *)v12 + 69) = v12 + 560;
*(_OWORD *)(v12 + 616) = 0;
*((_OWORD *)v12 + 36) = 0;
*(_OWORD *)(v12 + 588) = 0;
*((_QWORD *)v12 + 76) = v12 + 616;
if ( CustomSongWidget::init((CustomSongWidget *)v12, a1, a2, a3, a4, a5, a6, a7, a8, a9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v12 + 16LL))(v12);
return nullptr;
}
return (CustomSongWidget *)v12;
}