//
// sub_100524CF8 from 0x100524cf8 to 0x100524d14 (28 bytes)
//
// 3 xrefs:
// > FriendsProfilePage::init @ 0x100272178
// > DeathTrackerPopup::init @ 0x1004ba5e8
// > NewsPopup::init @ 0x100518078
//
// 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:07:14 +0000
//
__int64 __fastcall sub_100524CF8(__int64 a1, char a2)
{
__int64 result; // x0
*(_BYTE *)(a1 + 499) = a2;
result = *(_QWORD *)(a1 + 488);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1168LL))(result);
return result;
}