// // UIOptionsLayer::onReset from 0xa2e774 to 0xa2e7dc (104 bytes) // // 3 xrefs: // > @ 0xd4698 // > UIOptionsLayer::init @ 0xa2cfcc // > @ 0x1546508 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:59:46 +0000 // __int64 __fastcall UIOptionsLayer::onReset(UIOptionsLayer *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 GameManager *v5; // x0 GameManager *v6; // x0 __int64 v7; // x0 v3 = (GameManager *)(*(__int64 (__fastcall **)(UIOptionsLayer *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0); v4 = (GameManager *)GameManager::sharedState(v3); GameManager::resetDPadSettings(v4, *((_BYTE *)this + 1012)); v5 = (GameManager *)*((unsigned __int8 *)this + 1012); if ( !*((_BYTE *)this + 1012) ) { v6 = (GameManager *)GameManager::sharedState(v5); GameManager::setGameVariable(v6, "0113", 0); v5 = (GameManager *)*((unsigned __int8 *)this + 1012); } v7 = UIOptionsLayer::create(v5); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source