//
// sub_100376724 from 0x100376724 to 0x1003767ac (136 bytes)
//
// 4 xrefs:
// > UpdateAccountSettingsPopup::dUpdateAccountSettingsPopup @ 0x1003767b0
// > sub_1003767B4 @ 0x1003767b8
// > sub_1003767BC @ 0x1003767c4
// > sub_1003767D0 @ 0x1003767dc
//
// 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:03:25 +0000
//
__int64 __fastcall sub_100376724(_QWORD *a1)
{
__int64 v2; // x0
*a1 = off_1009340C8;
a1[40] = off_100934628;
a1[41] = &off_100934698;
a1[42] = off_1009346B0;
a1[43] = off_1009346D0;
a1[44] = off_1009346F8;
a1[51] = off_100934728;
a1[54] = off_1009347A8;
a1[68] = off_1009347C8;
a1[83] = off_100934810;
v2 = GJAccountManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 432) == a1 + 83 )
*(_QWORD *)(GJAccountManager::sharedState(v2) + 432) = 0;
return sub_10034A834((__int64)a1);
}