//
// SFXBrowser::cellPerformedAction from 0x100440c40 to 0x100440ce6 (166 bytes)
//
// 1 xrefs:
// > ??> @ 0x100938688
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall SFXBrowser::cellPerformedAction(
SFXBrowser *a1,
TableViewCell *a2,
int a3,
CellAction a4,
cocos2d::CCNode *a5)
{
unsigned int v5; // ebx
SFXFolderObject *v6; // r14
SFXSearchResult *v7; // r12
v5 = a3 - 23;
if ( (unsigned int)(a3 - 23) < 2 && a4 == Click )
{
v6 = *(SFXFolderObject **)&a2[1].m_uID;
if ( v6->m_folder )
{
v7 = SFXSearchResult::create(a1->m_sfxID);
SFXSearchResult::setActiveFolder(v7, v6);
((void (__fastcall *)(SFXSearchResult *, _QWORD))v7->updateObjects)(v7, (unsigned int)a1->m_sortType);
v7->m_startIndex = 0;
SFXBrowser::setupList(a1, v7);
}
else
{
a1->m_sfxID = v6->m_sfxID;
a1->m_selectedCell = 1;
CustomListView::reloadAll((CustomListView *)a1->m_listLayer->m_list);
}
}
return v5 < 2;
}