//
// GJSongBrowser::create from 0x1403bd730 to 0x1403bd877 (327 bytes)
//
// 3 xrefs:
// > CustomSongLayer::onSongBrowser @ 0x140164f22
// > GameSettingsLayer::onCustomButton @ 0x1402c7b0b
// > ??> @ 0x140923ee8
//
// This function is hookable on this platform (idp: pc, 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 11:31:27 +0000
//
// Hidden C++ exception states: #wind=2
cocos2d::CCObject *GJSongBrowser::create()
{
cocos2d::CCObject *v0; // rbx
__int64 (__fastcall *v1)(cocos2d::CCObject *); // rdx
char v2; // al
v0 = (cocos2d::CCObject *)operator new(0x2B0u);
GJDropDownLayer::GJDropDownLayer((__int64)v0);
*(_QWORD *)v0 = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 40) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 41) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 42) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 43) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 44) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 51) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 54) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 76) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 77) = &GJSongBrowser::`vftable';
*((_QWORD *)v0 + 78) = 0;
*((_BYTE *)v0 + 632) = 0;
*((_QWORD *)v0 + 80) = 0;
*((_QWORD *)v0 + 81) = 0;
*((_QWORD *)v0 + 82) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCObject *)((char *)v0 + 664));
*((_QWORD *)v0 + 84) = 0;
*((_QWORD *)v0 + 85) = 0;
v1 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v0 + 72LL);
if ( (char *)v1 == (char *)GJSongBrowser::init )
v2 = GJSongBrowser::init(v0);
else
v2 = v1(v0);
if ( v2 )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}