//
// SFXFolderPickerPopup::onSelectAll from 0x73025c to 0x7302e4 (136 bytes)
//
// 1 xrefs:
// > SFXFolderPickerPopup::onPickFolder @ 0x730f14
//
// 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:19 +0000
//
char *__fastcall SFXFolderPickerPopup::onSelectAll(SFXFolderPickerPopup *this, cocos2d::CCObject *a2, int a3, int a4)
{
int **v4; // r7
_BOOL4 v6; // r5
_DWORD *v7; // r0
int v9; // [sp+4h] [bp-Ch] BYREF
_DWORD v10[2]; // [sp+8h] [bp-8h] BYREF
v10[0] = a3;
v10[1] = a4;
v4 = (int **)((char *)this + 540);
v6 = 1;
v9 = -1;
if ( !std::__tree::__count_unique((_DWORD *)this + 135, &v9) )
{
v10[0] = 1;
v6 = std::__tree::__count_unique(v4, v10) != nullptr;
}
std::__tree::destroy((int)v4, *((_DWORD **)this + 136));
*((_DWORD *)this + 135) = (char *)this + 544;
*((_DWORD *)this + 137) = 0;
*((_DWORD *)this + 136) = 0;
if ( !v6 )
{
v7 = (_DWORD *)operator new(0x14u);
v7[4] = -1;
std::__tree::__insert_node_at(v4, (int)this + 544, (_DWORD **)this + 136, v7);
}
return SFXFolderPickerPopup::refreshList(this);
}