//
// SetFolderPopup::onSetFolderName from 0x4b0c08 to 0x4b0cfc (244 bytes)
//
// 0 xrefs:
//
// 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 SetFolderPopup::onSetFolderName(SetFolderPopup *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
SetTextPopup *v4; // r11
char *v5; // [sp+20h] [bp-1Ch] BYREF
_BYTE v6[4]; // [sp+24h] [bp-18h] BYREF
_BYTE v7[4]; // [sp+28h] [bp-14h] BYREF
_BYTE v8[4]; // [sp+2Ch] [bp-10h] BYREF
_BYTE v9[4]; // [sp+30h] [bp-Ch] BYREF
if ( a1->m_value > 0 )
{
v3 = GameLevelManager::sharedState();
GameLevelManager::getFolderName((GameLevelManager *)&v5, (int)v3, (const char *)a1->m_value, a1->m_isCreated);
sub_776584((int)v6, v5);
sub_776584((int)v7, "Folder Name");
sub_776584((int)v8, "Set Folder Name");
sub_776584((int)v9, "OK");
v4 = SetTextPopup::create((int)v6, (int)v7, 20, (int)v8, (int)v9, 1, 60.0);
sub_774008(v9);
sub_774008(v8);
sub_774008(v7);
sub_774008(v6);
sub_774008(&v5);
v4->m_delegate = &a1->SetTextPopupDelegate;
v4->show(v4);
}
}