// // GJSongBrowser::create from 0x1402b7170 to 0x1402b72e9 (377 bytes) // // 3 xrefs: // > CustomSongLayer::onSongBrowser @ 0x1400c3e52 // > MoreOptionsLayer::onSongBrowser @ 0x1403763ad // > @ 0x1406d2534 // // 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 // // Hidden C++ exception states: #wind=2 GJSongBrowser *GJSongBrowser::create() { GJSongBrowser *v0; // rbx bool (*init)(GJSongBrowser *); // rdx v0 = (GJSongBrowser *)operator new(0x2B0u); GJDropDownLayer::GJDropDownLayer(v0); v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJSongBrowser_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJSongBrowser::`vftable'; v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJSongBrowser::`vftable'; v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&GJSongBrowser::`vftable'; v0->TableViewCellDelegate::__vftable = (TableViewCellDelegate_vtbl *)&GJSongBrowser::`vftable'; *(_QWORD *)&v0->m_page = 0; v0->m_selected = 0; v0->m_rightArrow = nullptr; v0->m_leftArrow = nullptr; v0->m_countText = nullptr; cocos2d::CCPoint::CCPoint(&v0->m_unk298); v0->m_downloadedSongs = nullptr; v0->m_listView = nullptr; init = (bool (*)(GJSongBrowser *))v0->init; if ( init == GJSongBrowser::init ) { if ( GJDropDownLayer::init(v0, "Downloaded Songs", 220.0, 0) ) { GJSongBrowser::loadPage(v0, 0); cocos2d::CCObject::autorelease(v0); return v0; } } else if ( init(v0) ) { cocos2d::CCObject::autorelease(v0); return v0; } ((void (__fastcall *)(GJSongBrowser *, __int64))v0->~GJSongBrowser)(v0, 1); return nullptr; }