// // UIOptionsLayer::onReset from 0x1402a30d0 to 0x1402a31e0 (272 bytes) // // 2 xrefs: // > UIOptionsLayer::init @ 0x1402a10aa // > @ 0x1406d1fdc // // 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=2 void UIOptionsLayer::onReset(UIOptionsLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rbx GameManager *v4; // rcx UIOptionsLayer *v5; // rax void *v6; // [rsp+30h] [rbp+8h] void *v7; // [rsp+30h] [rbp+8h] a1->onClose(a1, nullptr); v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } if ( a1->m_dual ) { UIButtonConfig::reset((UIButtonConfig *)(v3 + 1252)); UIButtonConfig::reset((UIButtonConfig *)(v3 + 1292)); UIButtonConfig::resetOneBtn((UIButtonConfig *)(v3 + 1332)); UIButtonConfig::resetOneBtn((UIButtonConfig *)(v3 + 1372)); } else { UIButtonConfig::reset((UIButtonConfig *)(v3 + 1212)); } if ( !a1->m_dual ) { v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } GameManager::setGameVariable(v4, "0113", 0); } v5 = UIOptionsLayer::create(a1->m_dual); v5->show(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source