//
// sub_100272654 from 0x100272654 to 0x1002726b8 (100 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x100271fb4
//
// This function is hookable on this platform (idp: arm, 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:01:47 +0000
//
__int64 __fastcall sub_100272654(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
__int64 v4; // x0
__int64 v5; // x0
v2 = GameLevelManager::sharedState();
result = sub_1000ADD00(v2, "upd_friends", 5.0);
if ( (unsigned int)(result - 1) >= 5 )
{
v4 = GameLevelManager::sharedState();
sub_1000AD8CC(v4, "upd_friends");
v5 = GameLevelManager::sharedState();
return sub_1000C7534(v5, *(unsigned int *)(a1 + 816), 1);
}
return result;
}