// // SFXBrowser::onToggleCompactMode from 0x140480460 to 0x1404804f4 (148 bytes) // // 2 xrefs: // > SFXBrowser::init @ 0x14047f173 // > @ 0x1406db9e4 // // 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 // // Hidden C++ exception states: #wind=1 void SFXBrowser::onToggleCompactMode(SFXBrowser *a1, cocos2d::CCObject *a2) { bool v3; // al int v4; // ecx void *v5; // [rsp+30h] [rbp+8h] if ( a1->m_searchResult ) { if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } v3 = GameManager::toggleGameVariable((GameManager *)a1, "0148"); a1->m_compactMode = v3; v4 = 20; if ( v3 ) v4 = 40; a1->m_cellAmount = v4; a1->m_searchResult->m_startIndex = 0; SFXBrowser::setupList(a1, a1->m_searchResult); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source