//
// sub_100487650 from 0x100487650 to 0x1004876b5 (101 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b4d020
//
// 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 12:30:43 +0000
//
void __fastcall sub_100487650(
__int64 a1,
const std::string *a2,
__int64 a3,
double a4,
double a5,
double a6,
__m128 a7)
{
__int64 v7; // rax
std::string *NewLevelList; // r15
if ( *(_DWORD *)(a3 + 696) == 5 )
{
v7 = GameLevelManager::sharedState(a4);
NewLevelList = (std::string *)GameLevelManager::createNewLevelList(v7);
*(_BYTE *)(GameLevelManager::sharedState(a4) + 1216) = 1;
std::string::operator=(NewLevelList + 18, a2);
LevelBrowserLayer::loadPage(a1 - 584, *(_QWORD *)(a1 + 80), a4, a5, a6, a7);
}
}