// // UIOptionsLayer::onReset from 0x8d8294 to 0x8d82fc (104 bytes) // // 3 xrefs: // > @ 0xa1838 // > UIOptionsLayer::init @ 0x8d6540 // > @ 0x122d8d8 // // 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 UIOptionsLayer::onReset(UIOptionsLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 bool m_dual; // w0 GameManager *v5; // x0 UIOptionsLayer *v6; // x0 a1->onClose(a1, nullptr); v3 = GameManager::sharedState(); GameManager::resetDPadSettings(v3, a1->m_dual); m_dual = a1->m_dual; if ( !m_dual ) { v5 = GameManager::sharedState(); GameManager::setGameVariable(v5, "0113", 0); m_dual = a1->m_dual; } v6 = UIOptionsLayer::create(m_dual); v6->show(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source