//
// sub_10034B110 from 0x10034b110 to 0x10034b1a7 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b20810
//
// 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 12:28:47 +0000
//
char __fastcall sub_10034B110(__int64 a1, unsigned int *a2, unsigned int a3, double a4)
{
__int64 v6; // r14
__int64 v7; // rax
__int64 v8; // rdi
v6 = a1 - 560;
if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 64LL))(a2) == 1003 )
{
GJLevelList::reorderLevel(*(_QWORD *)(a1 + 352), a2[176], a3 - 1);
LevelBrowserLayer::setupLevelBrowser(v6, 0);
v7 = *(_QWORD *)(a1 + 48);
if ( v7 )
{
v8 = *(_QWORD *)(v7 + 544);
*(_DWORD *)(v8 + 464) = *(_DWORD *)(a1 + 408);
LOBYTE(v7) = CustomListView::reloadAll(v8, 0, a4);
}
}
else
{
LOBYTE(v7) = LevelBrowserLayer::setIDPopupClosed(v6, a2, a3);
}
return v7;
}