//
// std::__ndk1::__time_get_storage::__time_get_storage from 0xf5e91c to 0xf5ee98 (1404 bytes)
//
// 5 xrefs:
// > std::__ndk1::__time_get_storage::__time_get_storage @ 0xf5e8e0
// > sub_F6A1A8 @ 0xf6aab0
// > sub_F6B1B0 @ 0xf6bab4
// > ??> @ 0x7f498
// > ??> @ 0xdcc00
//
// 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 13:13:25 +0000
//
// Alternative name is '_ZNSt6__ndk118__time_get_storageIcEC2ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE'
__int64 __fastcall std::__time_get_storage::__time_get_storage(__int64 a1, __int64 a2)
{
__int64 result; // x0
_QWORD v5[6]; // [xsp+0h] [xbp-60h] BYREF
v5[5] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
std::__time_get::__time_get();
memset((void *)(a1 + 8), 0, 0x420u);
std::ctype_byname::ctype_byname(v5, a2, 1);
v5[0] = off_1535A28;
std::__time_get_storage::init(a1, v5);
result = std::ctype_byname::~ctype_byname(v5);
_ReadStatusReg(TPIDR_EL0);
return result;
}