// // OptionsLayer::onParental from 0x10087b8a0 to 0x10087b8f1 (81 bytes) // // 1 xrefs: // > OptionsLayer::customSetup @ 0x10087b017 // // This function is hookable on this platform (idp: pc, 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:36:55 +0000 // __int64 OptionsLayer::onParental() { __int64 v0; // rdi __int64 v1; // rdi __int64 v2; // rax __int64 v4; // rax v0 = GameManager::sharedState(); if ( (unsigned __int8)GameManager::getGameVariable(v0, "0228") && (v1 = GameManager::sharedState(), GameManager::parentalOptionsActive(v1)) ) { v2 = ParentalGateLayer::create(); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2); } else { v4 = ParentalOptionsLayer::create(); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source