//
// LevelListLayer::setIDPopupClosed from 0x10034b070 to 0x10034b107 (151 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b205b8
//
// 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 LevelListLayer::setIDPopupClosed(__int64 a1, unsigned int *a2, unsigned int a3, double a4)
{
__int64 v6; // rax
__int64 v7; // rdi
if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 64LL))(a2) == 1003 )
{
GJLevelList::reorderLevel(*(_QWORD *)(a1 + 912), a2[176], a3 - 1);
LevelBrowserLayer::setupLevelBrowser(a1, 0);
v6 = *(_QWORD *)(a1 + 608);
if ( v6 )
{
v7 = *(_QWORD *)(v6 + 544);
*(_DWORD *)(v7 + 464) = *(_DWORD *)(a1 + 968);
LOBYTE(v6) = CustomListView::reloadAll(v7, 0, a4);
}
}
else
{
LOBYTE(v6) = LevelBrowserLayer::setIDPopupClosed(a1, a2, a3);
}
return v6;
}