//
// EditLevelLayer::onSetFolder from 0x14017cb00 to 0x14017cb8c (140 bytes)
//
// 2 xrefs:
// > EditLevelLayer::init @ 0x140179583
// > ??> @ 0x1409187c4
//
// 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:27:35 +0000
//
void __fastcall EditLevelLayer::onSetFolder(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
_QWORD *v4; // rax
__int64 v5; // rcx
_QWORD v6[5]; // [rsp+20h] [rbp-28h] BYREF
v3 = *(_QWORD *)(a1 + 472);
if ( v3 )
{
v6[2] = 10;
v6[1] = 29285;
LOBYTE(a2) = 1;
v6[3] = 15;
v6[0] = 0x646C6F4620746553LL;
v4 = (_QWORD *)SetFolderPopup::create(*(unsigned int *)(v3 + 988), a2, v6);
v5 = a1 + 440;
if ( !a1 )
v5 = 0;
v4[87] = v5;
(*(void (__fastcall **)(_QWORD *))(*v4 + 1064LL))(v4);
}
}