//
// sub_10051B0A4 from 0x10051b0a4 to 0x10051b0f8 (84 bytes)
//
// 1 xrefs:
// > AutoBackupPopup::init @ 0x10052fbc4
//
// 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:08 +0000
//
__int64 __fastcall sub_10051B0A4(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x0
__int64 result; // x0
v5 = *(_QWORD *)(a1 + 720);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 344LL))(v5);
result = *(_QWORD *)(a1 + 728);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 344LL))(result, a3);
return result;
}