//
// SongObject::create from 0x614e20 to 0x614eec (204 bytes)
//
// 24 xrefs:
// > SongsLayer::customSetup @ 0x7e0e0c
// > SongsLayer::customSetup @ 0x7e0e20
// > SongsLayer::customSetup @ 0x7e0e34
// > SongsLayer::customSetup @ 0x7e0e48
// > SongsLayer::customSetup @ 0x7e0e5c
// > SongsLayer::customSetup @ 0x7e0e70
// > SongsLayer::customSetup @ 0x7e0e84
// > SongsLayer::customSetup @ 0x7e0e98
// > SongsLayer::customSetup @ 0x7e0eac
// > SongsLayer::customSetup @ 0x7e0ec0
// > SongsLayer::customSetup @ 0x7e0ed4
// > SongsLayer::customSetup @ 0x7e0ee8
// > SongsLayer::customSetup @ 0x7e0efc
// > SongsLayer::customSetup @ 0x7e0f10
// > SongsLayer::customSetup @ 0x7e0f24
// > SongsLayer::customSetup @ 0x7e0f38
// > SongsLayer::customSetup @ 0x7e0f4c
// > SongsLayer::customSetup @ 0x7e0f60
// > SongsLayer::customSetup @ 0x7e0f74
// > SongsLayer::customSetup @ 0x7e0f88
// > SongsLayer::customSetup @ 0x7e0f9c
// > SongsLayer::customSetup @ 0x7e0fb0
// > SongsLayer::customSetup @ 0x7e0fc4
// > ??> @ 0x79b30
//
// 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
//
SongObject *SongObject::create(int a1)
{
__int64 v2; // x0
SongObject *v3; // x19
v2 = operator new(0x40u);
*(_QWORD *)v2 = 0;
*(_DWORD *)(v2 + 8) = 0;
v3 = (SongObject *)v2;
*(_DWORD *)(v2 + 12) = 0;
*(_DWORD *)(v2 + 16) = 0;
*(_DWORD *)(v2 + 20) = 0;
*(_DWORD *)(v2 + 24) = 0;
*(_DWORD *)(v2 + 28) = 0;
*(_DWORD *)(v2 + 32) = 0;
*(_DWORD *)(v2 + 36) = 0;
*(_DWORD *)(v2 + 40) = 0;
*(_DWORD *)(v2 + 44) = 0;
*(_DWORD *)(v2 + 48) = 0;
*(_DWORD *)(v2 + 52) = 0;
*(_DWORD *)(v2 + 56) = 0;
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v2);
v3->__vftable = (SongObject_vtbl *)&off_114B050;
if ( SongObject::init(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
v3->~SongObject_0(v3);
return nullptr;
}
}