//
// LevelBrowserLayer::shareCommentClosed from 0x4a87e0 to 0x4a881c (60 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelBrowserLayer::shareCommentClosed @ 0x4a8820
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:56 +0000
//
GameLevelManager *__fastcall LevelBrowserLayer::shareCommentClosed(
GameLevelManager *result,
unsigned __int8 *a2,
int a3)
{
GJSearchObject **v3; // r4
GameLevelManager *v5; // r0
unsigned __int8 *NewLevelList; // r6
v3 = (GJSearchObject **)result;
if ( *(_DWORD *)(a3 + 540) == 5 )
{
v5 = (GameLevelManager *)GameLevelManager::sharedState(result);
NewLevelList = (unsigned __int8 *)GameLevelManager::createNewLevelList(v5);
*(_BYTE *)(GameLevelManager::sharedState((GameLevelManager *)NewLevelList) + 816) = 1;
std::string::operator=(NewLevelList + 348, a2);
return (GameLevelManager *)LevelBrowserLayer::loadPage(v3, v3[125]);
}
return result;
}