//
// SFXBrowser::onNewFolder from 0x6c3dc0 to 0x6c3ec4 (260 bytes)
//
// 0 xrefs:
//
// 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:56:53 +0000
//
int __fastcall SFXBrowser::onNewFolder(int this, cocos2d::CCObject *a2)
{
int v2; // r6
int v3; // r3
FLAlertLayer *v4; // r10
int v5; // r3
int v6[3]; // [sp+1Ch] [bp-34h] BYREF
int v7[3]; // [sp+28h] [bp-28h] BYREF
int v8[3]; // [sp+34h] [bp-1Ch] BYREF
int v9[3]; // [sp+40h] [bp-10h] BYREF
v2 = this;
v3 = *(_DWORD *)(this + 544);
if ( v3 )
{
if ( *(_DWORD *)(v3 + 104) == 4 )
{
*(_DWORD *)(this + 712) = 0;
*(_BYTE *)(this + 660) = 0;
memset(v6, 0, sizeof(v6));
std::string::__init(v6, &unk_B6B226, 0);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Folder Name", 0xBu);
memset(v8, 0, sizeof(v8));
std::string::__init(v8, "New Folder", 0xAu);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, "Create", 6u);
v4 = SetTextPopup::create((int)v6, (int)v7, COERCE_FLOAT(30), (int)v8, (int)v9, 0, 0.0, 0, 1, 0);
std::string::~string((int)v9);
std::string::~string((int)v8);
std::string::~string((int)v7);
std::string::~string((int)v6);
v5 = *(_DWORD *)v4;
*((_DWORD *)v4 + 142) = v2 + 532;
return (*(int (__fastcall **)(FLAlertLayer *))(v5 + 656))(v4);
}
}
return this;
}