//
// SFXFolderPickerPopup::pickFolder from 0x72f264 to 0x72f2e2 (126 bytes)
//
// 1 xrefs:
// > SFXFolderPickerPopup::onConfirm @ 0x72f314
//
// 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:58:18 +0000
//
int __fastcall SFXFolderPickerPopup::pickFolder(SFXFolderPickerPopup *this, int a2)
{
int v4; // r2
void (__fastcall ***v5)(_DWORD, SFXFolderPickerPopup *, int, int *); // r0
int v7[3]; // [sp+0h] [bp-14h] BYREF
v4 = *((_DWORD *)this + 140);
if ( v4 )
{
CCTextInputNode::getString((CCTextInputNode *)v7, v4);
}
else
{
memset(v7, 0, sizeof(v7));
std::string::__init(v7, &unk_B6B226, 0);
}
v5 = *((void (__fastcall ****)(_DWORD, SFXFolderPickerPopup *, int, int *))this + 139);
SFXFolderPickerPopup::s_lastFolderID = a2;
if ( v5 )
(**v5)(v5, this, a2, v7);
SFXFolderPickerPopup::onClose(this, nullptr);
return std::string::~string((int)v7);
}