//
// GameManager::commentsRestricted from 0x10036d760 to 0x10036d7aa (74 bytes)
//
// 4 xrefs:
// > InfoLayer::init @ 0x100891610
// > InfoLayer::parentalCommentsDisabled @ 0x100893531
// > InfoLayer::setupCommentsBrowser @ 0x100894c48
// > ProfilePage::loadPageFromUserInfo @ 0x1008a0a2d
//
// 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:29:01 +0000
//
char __fastcall GameManager::commentsRestricted(__int64 a1)
{
if ( (unsigned __int8)GameManager::getGameVariable(a1, "0218")
|| (unsigned __int8)GameManager::getGameVariable(a1, "0219") )
{
return 1;
}
else
{
return GameManager::getGameVariable(a1, "0075");
}
}