//
// LevelInfoLayer::onSetFolder from 0x14041e990 to 0x14041ea25 (149 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::init @ 0x14041e406
// > ??> @ 0x14092672c
// > ??> @ 0x140926738
//
// 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 11:32:08 +0000
//
void __fastcall LevelInfoLayer::onSetFolder(__int64 a1)
{
__int64 v2; // rcx
_QWORD *v3; // rax
__int64 v4; // rcx
_QWORD v5[5]; // [rsp+20h] [rbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 504);
if ( v2 && !*(_BYTE *)(a1 + 488) )
{
v5[2] = 10;
v5[1] = 29285;
v5[3] = 15;
v5[0] = 0x646C6F4620746553LL;
v3 = SetFolderPopup::create(*(_DWORD *)(v2 + 988), 0, (__int64)v5);
v4 = a1 + 464;
if ( !a1 )
v4 = 0;
v3[87] = v4;
(*(void (__fastcall **)(_QWORD *))(*v3 + 1064LL))(v3);
}
}