//
// InfoLayer::parentalCommentsDisabled from 0x1403cfe30 to 0x1403cff5c (300 bytes)
//
// 3 xrefs:
// > InfoLayer::init @ 0x1403cde71
// > InfoLayer::setupCommentsBrowser @ 0x1403d1cb2
// > ??> @ 0x140924668
//
// 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:31:34 +0000
//
// Hidden C++ exception states: #wind=2
bool __fastcall InfoLayer::parentalCommentsDisabled(__int64 a1)
{
__int64 v2; // rbx
__int64 v3; // rbx
void *v5; // [rsp+38h] [rbp+10h]
void *v6; // [rsp+38h] [rbp+10h]
v2 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v5 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v2 = qword_14090BFD0;
}
if ( GameManager::getGameVariable(v2, "0218")
|| GameManager::getGameVariable(v2, "0219")
|| GameManager::getGameVariable(v2, "0075") )
{
return 1;
}
if ( !*(_QWORD *)(a1 + 704) )
return 0;
v3 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v6 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v3 = qword_14090BFD0;
}
return GameManager::getGameVariable(v3, "0218")
|| GameManager::getGameVariable(v3, "0219")
|| GameManager::getGameVariable(v3, "0076");
}