// // UIOptionsLayer::onReset from 0x1002b4270 to 0x1002b42dd (109 bytes) // // 1 xrefs: // > UIOptionsLayer::init @ 0x1002b27c7 // // 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 UIOptionsLayer::onReset(UIOptionsLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax bool m_dual; // al GameManager *v4; // rax UIOptionsLayer *v5; // rax ((void (__fastcall *)(UIOptionsLayer *, _QWORD))a1->onClose)(a1, 0); v2 = GameManager::sharedState(); GameManager::resetDPadSettings(v2, a1->m_dual); m_dual = 1; if ( !a1->m_dual ) { v4 = GameManager::sharedState(); GameManager::setGameVariable(v4, "0113", 0); m_dual = a1->m_dual; } v5 = UIOptionsLayer::create(m_dual); ((void (__fastcall *)(UIOptionsLayer *))v5->show)(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source