//
// SFXBrowser::onToggleCompactMode from 0x6c6334 to 0x6c6372 (62 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:55 +0000
//
int *__fastcall SFXBrowser::onToggleCompactMode(int *this, cocos2d::CCObject *a2)
{
int *v2; // r4
GameManager *v3; // r0
const char *v4; // r0
int v5; // r3
v2 = this;
if ( *(this + 136) )
{
v3 = (GameManager *)GameManager::sharedState((GameManager *)this);
v4 = GameManager::toggleGameVariable(v3, "0148");
*((_BYTE *)v2 + 771) = (_BYTE)v4;
if ( v4 )
v5 = 40;
else
v5 = 20;
v2[191] = v5;
*(_DWORD *)(v2[136] + 72) = 0;
return SFXBrowser::setupList(v2, (cocos2d::CCArray **)v2[136]);
}
return this;
}