//
// GameManager::friendRequestsRestricted from 0x416778 to 0x416792 (26 bytes)
//
// 2 xrefs:
// > ProfilePage::setupAccountButtons @ 0x5f5e6c
// > ProfilePage::loadPageFromUserInfo @ 0x5fa0a0
//
// 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:47:41 +0000
//
int __fastcall GameManager::friendRequestsRestricted(GameManager *this)
{
int result; // r0
result = GameManager::safeModeEnabled(this);
if ( !result )
return GameManager::getGameVariable(this, "0243");
return result;
}