//
// AudioAssetsBrowser::create from 0x59bc34 to 0x59bd34 (256 bytes)
//
// 1 xrefs:
// > CustomSongWidget::onInfo @ 0x3e0586
//
// 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
//
AudioAssetsBrowser *AudioAssetsBrowser::create(std::vector *a1, std::vector *a2)
{
AudioAssetsBrowser *v4; // r4
AudioAssetsBrowser_vtbl *v5; // r3
AudioAssetsBrowser *v6; // r0
v4 = (AudioAssetsBrowser *)operator new(0x220u);
cocos2d::CCLayerColor::CCLayerColor(v4);
v4->m_controlConnected = -1;
v4->m_joystickConnected = -1;
v4->m_buttonMenu = nullptr;
v4->m_alertProtocol = nullptr;
v4->m_scene = nullptr;
v4->m_reverseKeyBack = 0;
v4->m_mainLayer = nullptr;
v4->m_ZOrder = 0;
v4->m_noElasticity = 0;
v4->m_button1 = nullptr;
v4->m_button2 = nullptr;
v4->m_scrollingLayer = nullptr;
v4->m_containsBorder = 0;
v4->m_noAction = 0;
v4->m_forcePrioRegistered = 0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AudioAssetsBrowser_vtbl *)&off_A9A8C0;
v4->m_songInfoObjects = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A9AB64;
v4->m_songList = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A9AB9C;
v4->m_pageIndicatorLabel = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9ABA8;
v4->m_songsIds.m_start = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9ABB8;
v4->m_songsIds.m_finish = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9ABC8;
v4->m_songsIds.m_reserveEnd = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A9ABDC;
v4->m_sfxIds.m_start = nullptr;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A9AC1C;
v4->TableViewCellDelegate::__vftable = (TableViewCellDelegate_vtbl *)&off_A9AC2C;
v4->MusicDownloadDelegate::__vftable = (MusicDownloadDelegate_vtbl *)&off_A9AC44;
v4->m_sfxIds.m_finish = nullptr;
v4->m_sfxIds.m_reserveEnd = nullptr;
v4->m_loadingCircle = nullptr;
if ( AudioAssetsBrowser::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = v4;
v4 = nullptr;
v5->~AudioAssetsBrowser_0(v6);
}
return v4;
}