//
// LevelListLayer::setIDPopupClosed from 0xba9778 to 0xba97ec (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LevelListLayer::setIDPopupClosed @ 0xba97f0
// > ??> @ 0xd5ef8
// > ??> @ 0x14dbed0
//
// 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 13:02:51 +0000
//
__int64 __fastcall LevelListLayer::setIDPopupClosed(GJLevelList **this, SetIDPopup *a2, int a3)
{
if ( (*(unsigned int (__fastcall **)(SetIDPopup *))(*(_QWORD *)a2 + 64LL))(a2) != 1003 )
return LevelBrowserLayer::setIDPopupClosed((LevelBrowserLayer *)this, a2, a3);
GJLevelList::reorderLevel(*(this + 114), *((_DWORD *)a2 + 176), a3 - 1);
LevelBrowserLayer::setupLevelBrowser((LevelBrowserLayer *)this, nullptr);
return LevelListLayer::updateEditMode((__int64)this);
}