//
// LevelBrowserLayer::shareCommentClosed from 0x1004192a8 to 0x10041930c (100 bytes)
//
// 2 xrefs:
// > sub_10041930C @ 0x100419310
// > ??> @ 0x100823158
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelBrowserLayer::shareCommentClosed(LevelBrowserLayer *a1, const std::string *a2, __int64 a3)
{
GameLevelManager *v5; // x0
GJLevelList *NewLevelList; // x21
if ( *(_DWORD *)(a3 + 664) == 5 )
{
v5 = GameLevelManager::sharedState();
NewLevelList = GameLevelManager::createNewLevelList(v5);
GameLevelManager::sharedState()->m_returnToLocalLevels = 1;
std::string::operator=((std::string *)&NewLevelList->m_listName, a2);
LevelBrowserLayer::loadPage(a1, a1->m_searchObject);
}
}