//
// LevelBrowserLayer::setTextPopupClosed from 0x10049a798 to 0x10049a818 (128 bytes)
//
// 3 xrefs:
// > sub_10049A834 @ 0x10049a838
// > ??> @ 0x100923a00
// > ??> @ 0x10097bbf8
//
// This function is hookable on this platform (idp: arm, 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:05:58 +0000
//
void __fastcall LevelBrowserLayer::setTextPopupClosed(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v3; // x20
__int64 v5; // x1
std::string __p; // [xsp+0h] [xbp-30h] BYREF
v3 = a1[83];
if ( v3 )
{
if ( *(char *)(a3 + 23) < 0 )
sub_1000097D0(&__p, *(void **)a3, *(_QWORD *)(a3 + 8));
else
__p = *(std::string *)a3;
std::string::operator=((std::string *)(v3 + 320), &__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
v5 = a1[83];
*(_DWORD *)(v5 + 392) = 0;
LevelBrowserLayer::loadPage(a1, v5);
}
}