//
// sub_10035FA50 from 0x10035fa50 to 0x10035fae7 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009188d8
//
// 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
//
void __fastcall sub_10035FA50(__int64 a1, __int64 a2, int a3)
{
LevelBrowserLayer *v5; // r14
__int64 v6; // rax
CustomListView *v7; // rdi
v5 = (LevelBrowserLayer *)(a1 - 560);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1003 )
{
GJLevelList::reorderLevel(*(GJLevelList **)(a1 + 304), *(_DWORD *)(a2 + 680), a3 - 1);
LevelBrowserLayer::setupLevelBrowser(v5, nullptr);
v6 = *(_QWORD *)(a1 + 48);
if ( v6 )
{
v7 = *(CustomListView **)(v6 + 544);
v7->m_cellMode = *(_DWORD *)(a1 + 360);
CustomListView::reloadAll(v7);
}
}
else
{
LevelBrowserLayer::setIDPopupClosed(v5, (SetIDPopup *)a2, a3);
}
}