// // SFXBrowser::onToggleCompactMode from 0x100169858 to 0x1001698b4 (92 bytes) // // 1 xrefs: // > SFXBrowser::init @ 0x1001691ec // // 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 __fastcall SFXBrowser::onToggleCompactMode(SFXBrowser *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 _BOOL4 v4; // w0 int v5; // w8 SFXSearchResult *m_searchResult; // x1 if ( a1->m_searchResult ) { v3 = GameManager::sharedState(); v4 = GameManager::toggleGameVariable(v3, "0148"); a1->m_compactMode = v4; if ( v4 ) v5 = 40; else v5 = 20; a1->m_cellAmount = v5; m_searchResult = a1->m_searchResult; m_searchResult->m_startIndex = 0; SFXBrowser::setupList(a1, m_searchResult); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source