//
// InfoLayer::parentalCommentsDisabled from 0x53cae8 to 0x53cb0a (34 bytes)
//
// 2 xrefs:
// > InfoLayer::setupCommentsBrowser @ 0x53e030
// > InfoLayer::init @ 0x53ed60
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:15 +0000
//
int __fastcall InfoLayer::parentalCommentsDisabled(InfoLayer *this)
{
GameManager *v2; // r0
int result; // r0
GameManager *v4; // r0
v2 = (GameManager *)GameManager::sharedState(this);
result = GameManager::commentsRestricted(v2);
if ( !result )
{
if ( *((_DWORD *)this + 135) )
{
v4 = (GameManager *)GameManager::sharedState(nullptr);
return GameManager::accountPostsRestricted(v4);
}
}
return result;
}