//
// SFXFolderPickerPopup::onNewFolder from 0xc3ab78 to 0xc3ad60 (488 bytes)
//
// 3 xrefs:
// > ??> @ 0x7ae00
// > SFXFolderPickerPopup::init @ 0xc3ccdc
// > ??> @ 0x1543238
//
// 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 13:04:54 +0000
//
__int64 __fastcall SFXFolderPickerPopup::onNewFolder(SFXFolderPickerPopup *this, cocos2d::CCObject *a2)
{
__int64 *v3; // x20
__int64 v4; // x1
__int64 v6[2]; // [xsp+58h] [xbp+48h] BYREF
void *v7; // [xsp+68h] [xbp+58h]
__int64 v8[2]; // [xsp+70h] [xbp+60h] BYREF
void *v9; // [xsp+80h] [xbp+70h]
__int64 v10[2]; // [xsp+88h] [xbp+78h] BYREF
void *v11; // [xsp+98h] [xbp+88h]
__int64 v12[2]; // [xsp+A0h] [xbp+90h] BYREF
void *v13; // [xsp+B0h] [xbp+A0h]
v6[0] = 0;
v6[1] = 0;
v7 = nullptr;
std::string::__init(v6, &byte_11B8890, 0);
v8[0] = 0;
v8[1] = 0;
v9 = nullptr;
std::string::__init(v8, "Folder Name", 0xBu);
v10[0] = 0;
v10[1] = 0;
v11 = nullptr;
std::string::__init(v10, "New Folder", 0xAu);
v12[0] = 0;
v12[1] = 0;
v13 = nullptr;
std::string::__init(v12, "Create", 6u);
v3 = (__int64 *)SetTextPopup::create((char *)v6, (char *)v8, 30, (char *)v10, (char *)v12, 0, 0, 1, 0.0, 0);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
if ( (v10[0] & 1) != 0 )
operator delete(v11);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
if ( (v6[0] & 1) != 0 )
operator delete(v7);
v4 = *v3;
v3[93] = (__int64)this + 664;
(*(void (__fastcall **)(__int64 *))(v4 + 1312))(v3);
return _stack_chk_guard;
}