//
// SFXBrowser::onMoveToFolder from 0x6c40c0 to 0x6c4152 (146 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
//
SFXSearchResult *__fastcall SFXBrowser::onMoveToFolder(SFXBrowser *this, cocos2d::CCObject *a2)
{
SFXSearchResult *result; // r0
int v4; // r5
int v5; // r4
int v6[3]; // [sp+8h] [bp-14h] BYREF
result = *((SFXSearchResult **)this + 136);
if ( result && *((_DWORD *)result + 26) == 4 && *((_DWORD *)this + 174) )
{
*((_DWORD *)this + 176) = 0;
if ( SFXSearchResult::getActiveFolder(result) )
v4 = *(_DWORD *)(SFXSearchResult::getActiveFolder(*((SFXSearchResult **)this + 136)) + 72);
else
v4 = 0;
memset(v6, 0, sizeof(v6));
std::string::__init(v6, &unk_B6B226, 0);
v5 = SFXFolderPickerPopup::create(1, v6, (char *)this + 688, (char *)this + 540, v4);
std::string::~string((int)v6);
return (SFXSearchResult *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 656))(v5);
}
return result;
}