// // SFXBrowser::onToggleCompactMode from 0x10043f780 to 0x10043f7df (95 bytes) // // 1 xrefs: // > SFXBrowser::init @ 0x10043f095 // // 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 *v2; // rax bool v3; // al int v4; // ecx SFXSearchResult *m_searchResult; // rsi if ( a1->m_searchResult ) { v2 = GameManager::sharedState(); v3 = GameManager::toggleGameVariable(v2, "0148"); a1->m_compactMode = v3; v4 = 20; if ( v3 ) v4 = 40; a1->m_cellAmount = v4; m_searchResult = a1->m_searchResult; m_searchResult->m_startIndex = 0; SFXBrowser::setupList(a1, m_searchResult); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source