//
// LevelBrowserLayer::setTextPopupClosed from 0x4a8928 to 0x4a898a (98 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelBrowserLayer::setTextPopupClosed @ 0x4a8994
//
// 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
//
int __fastcall LevelBrowserLayer::setTextPopupClosed(int result, int a2, int a3)
{
int v3; // r7
GJSearchObject **v4; // r6
int v5[3]; // [sp+0h] [bp-14h] BYREF
v3 = *(_DWORD *)(result + 500);
v4 = (GJSearchObject **)result;
if ( v3 )
{
std::string::basic_string(v5, a3);
std::string::operator=((unsigned __int8 *)(v3 + 268), (unsigned __int8 *)v5);
std::string::~string((int)v5);
*((_DWORD *)v4[125] + 76) = 0;
return LevelBrowserLayer::loadPage(v4, v4[125]);
}
return result;
}