//
// sub_100376E94 from 0x100376e94 to 0x100376f2c (152 bytes)
//
// 3 xrefs:
// > UpdateAccountSettingsPopup::keyBackClicked @ 0x1003770dc
// > sub_1003770E0 @ 0x1003770e4
// > sub_1003767E8 @ 0x100376ce8
//
// 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_100376E94(__int64 a1)
{
__int64 result; // x0
__int64 *v3; // x19
__n128 v4; // q0
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
if ( *(_BYTE *)(a1 + 672) == 1 )
{
result = *(_QWORD *)(a1 + 680);
if ( result )
{
sub_100375750(result);
v3 = *(__int64 **)(a1 + 680);
v4 = sub_1003752B4((__int64)v3, v3[86]);
(*(void (__fastcall **)(__int64 *, _QWORD, __n128))(*v3 + 1072))(v3, 0, v4);
return (*(__int64 (__fastcall **)(__int64 *, __int64))(*v3 + 528))(v3, 1);
}
}
return result;
}