//
// UIOptionsLayer::onReset from 0x4b2d30 to 0x4b2d72 (66 bytes)
//
// 0 xrefs:
//
// 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; // r0
GameManager *v4; // r0
UIOptionsLayer *v5; // r0
a1->onClose(a1, nullptr);
v3 = GameManager::sharedState();
GameManager::resetDPadSettings(v3, a1->m_dual);
if ( !a1->m_dual )
{
v4 = GameManager::sharedState();
GameManager::setGameVariable(v4, "0113", 0);
}
v5 = UIOptionsLayer::create(a1->m_dual);
v5->show(v5);
}