// // OptionsLayer::onParental from 0x1404cbc60 to 0x1404cbd2b (203 bytes) // // 2 xrefs: // > OptionsLayer::customSetup @ 0x1404cb114 // > @ 0x140929618 // // 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 11:32:58 +0000 // // Hidden C++ exception states: #wind=2 __int64 OptionsLayer::onParental() { __int64 v0; // rcx __int64 v1; // rcx __int64 v2; // rax __int64 v4; // rax void *v5; // [rsp+40h] [rbp+18h] void *v6; // [rsp+40h] [rbp+18h] v0 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v5 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v0 = qword_14090BFD0; } if ( !GameManager::getGameVariable(v0, "0228") ) goto LABEL_8; v1 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v6 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v1 = qword_14090BFD0; } if ( GameManager::parentalOptionsActive(v1) ) { v2 = ParentalGateLayer::create(); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL))(v2); } else { LABEL_8: v4 = ParentalOptionsLayer::create(); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source