//
// CustomSongWidget::create from 0x10011e39c to 0x10011e474 (216 bytes)
//
// 6 xrefs:
// > LevelInfoLayer::init @ 0x10002946c
// > CustomSongCell::loadFromObject @ 0x10012733c
// > CustomMusicCell::loadFromObject @ 0x10012758c
// > CustomSongLayer::init @ 0x1001c305c
// > SongSelectNode::init @ 0x1001c5f54
// > AudioAssetsPopup::init @ 0x1004a9708
//
// 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 10:59:14 +0000
//
void *__fastcall CustomSongWidget::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
char a8,
int a9,
__int16 a10)
{
void *v18; // x19
__int64 v20; // [xsp+0h] [xbp-60h]
v18 = operator new(0x290u);
CustomSongWidget::CustomSongWidget();
HIDWORD(v20) = a9;
LOBYTE(v20) = a8;
if ( (unsigned int)CustomSongWidget::init(v18, a1, a2, a3, a4, a5, a6, a7, v20, a10) )
{
cocos2d::CCObject::autorelease((__int64)v18);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v18 + 16LL))(v18);
return nullptr;
}
return v18;
}