//
// LevelBrowserLayer::onGoToFolder from 0x1403e65f0 to 0x1403e66a7 (183 bytes)
//
// 4 xrefs:
// > LevelBrowserLayer::init @ 0x1403e3cbe
// > ??> @ 0x1408c4ae0
// > ??> @ 0x1408c4af0
// > ??> @ 0x140924f38
//
// 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:31:43 +0000
//
void __fastcall LevelBrowserLayer::onGoToFolder(__int64 a1)
{
__int64 v2; // rcx
int v3; // edx
_QWORD *v4; // rbx
__int64 v5; // rcx
char v6[14]; // [rsp+20h] [rbp-28h] BYREF
__int16 v7; // [rsp+2Eh] [rbp-1Ah]
__int64 v8; // [rsp+30h] [rbp-18h]
__int64 v9; // [rsp+38h] [rbp-10h]
v2 = *(_QWORD *)(a1 + 664);
if ( v2 )
{
v3 = *(_DWORD *)(v2 + 320);
v8 = 12;
strcpy(v6, "Go to Folder");
v9 = 15;
v6[13] = 0;
v7 = 0;
v4 = SetFolderPopup::create(*(_DWORD *)(v2 + 452), v3 == 98, (__int64)v6);
(*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 64LL))(v4, 4);
v5 = a1 + 560;
if ( !a1 )
v5 = 0;
v4[87] = v5;
(*(void (__fastcall **)(_QWORD *))(*v4 + 1064LL))(v4);
}
}