//
// SetFolderPopup::setTextPopupClosed from 0x5d8794 to 0x5d87f6 (98 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetFolderPopup::setTextPopupClosed @ 0x5d8800
//
// 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:54:10 +0000
//
int __fastcall SetFolderPopup::setTextPopupClosed(int a1, int a2, int a3)
{
int v5; // r0
const char *v6; // r7
int v7; // r8
int v9[3]; // [sp+0h] [bp-14h] BYREF
v5 = GameLevelManager::sharedState((GameLevelManager *)a1);
v6 = *(const char **)(a1 + 524);
v7 = v5;
std::string::basic_string(v9, a3);
GameLevelManager::setFolderName(v7, v6, (int)v9, *(unsigned __int8 *)(a1 + 552));
std::string::~string((int)v9);
return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 680))(a1);
}