//
// SFXBrowser::onToggleCompactMode from 0x58434c to 0x584386 (58 bytes)
//
// 0 xrefs:
//
// 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
//
void SFXBrowser::onToggleCompactMode(SFXBrowser *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
_BOOL4 v4; // r0
SFXSearchResult *m_searchResult; // r1
int v6; // r3
if ( a1->m_searchResult )
{
v3 = GameManager::sharedState();
v4 = GameManager::toggleGameVariable(v3, "0148");
m_searchResult = a1->m_searchResult;
a1->m_compactMode = v4;
if ( v4 )
v6 = 40;
else
v6 = 20;
a1->m_cellAmount = v6;
m_searchResult->m_startIndex = 0;
SFXBrowser::setupList(a1, m_searchResult);
}
}