//
// GJSongBrowser::create from 0x6e7368 to 0x6e74fc (404 bytes)
//
// 4 xrefs:
// > MoreOptionsLayer::onSongBrowser @ 0x8edbb8
// > CustomSongLayer::onSongBrowser @ 0x97e1fc
// > GameSettingsLayer::onCustomButton @ 0xc0548c
// > ??> @ 0xac018
//
// 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 12:51:44 +0000
//
__int64 __fastcall GJSongBrowser::create(GJSongBrowser *this)
{
__int64 v1; // x19
__int64 v2; // x1
v1 = operator new(0x2B0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1);
*(_QWORD *)v1 = &off_145E470;
*(_QWORD *)(v1 + 320) = off_145E9E8;
*(_QWORD *)(v1 + 328) = &off_145EA58;
*(_QWORD *)(v1 + 336) = off_145EA70;
*(_QWORD *)(v1 + 344) = off_145EA90;
*(_QWORD *)(v1 + 352) = off_145EAB8;
*(_QWORD *)(v1 + 408) = &off_145EAE8;
*(_QWORD *)(v1 + 432) = &off_145EB68;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 544));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 552));
*(_QWORD *)(v1 + 560) = 0;
*(_QWORD *)(v1 + 568) = 0;
*(_QWORD *)(v1 + 576) = 0;
*(_BYTE *)(v1 + 584) = 0;
*(_QWORD *)(v1 + 592) = 0;
*(_BYTE *)(v1 + 600) = 0;
*(_DWORD *)(v1 + 624) = 0;
*(_QWORD *)v1 = &off_1425340;
*(_QWORD *)(v1 + 320) = off_14258D0;
*(_QWORD *)(v1 + 328) = &off_1425940;
*(_QWORD *)(v1 + 336) = off_1425958;
*(_QWORD *)(v1 + 344) = off_1425978;
*(_QWORD *)(v1 + 352) = off_14259A0;
*(_QWORD *)(v1 + 408) = &off_14259D0;
*(_QWORD *)(v1 + 432) = &off_1425A50;
*(_QWORD *)(v1 + 608) = &off_1425A70;
*(_QWORD *)(v1 + 616) = &off_1425A88;
*(_DWORD *)(v1 + 628) = 0;
*(_BYTE *)(v1 + 632) = 0;
*(_QWORD *)(v1 + 640) = 0;
*(_QWORD *)(v1 + 648) = 0;
*(_QWORD *)(v1 + 656) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 664));
v2 = *(_QWORD *)v1;
*(_QWORD *)(v1 + 672) = 0;
*(_QWORD *)(v1 + 680) = 0;
if ( (*(unsigned __int8 (__fastcall **)(__int64))(v2 + 80))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}