//
// LevelBrowserLayer::onImportLevels from 0x1403e9ae0 to 0x1403e9b1d (61 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::init @ 0x1403e36f5
// > ??> @ 0x1409250e8
//
// 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:44 +0000
//
__int64 __fastcall LevelBrowserLayer::onImportLevels(__int64 a1)
{
unsigned int v2; // ebx
__int64 v3; // rax
unsigned int v4; // eax
v2 = *(_DWORD *)(*(_QWORD *)(a1 + 664) + 452LL);
v3 = LocalLevelManager::sharedState(a1);
v4 = LocalLevelManager::importLevelsFromFile(v3, v2);
return LevelBrowserLayer::showImportResult(a1, v4);
}