//
// std::__ndk1::__time_put::__time_put from 0xf60798 to 0xf60884 (236 bytes)
//
// 10 xrefs:
// > sub_F6073C @ 0xf60764
// > sub_F60EB4 @ 0xf60edc
// > sub_F60F6C @ 0xf60f94
// > sub_F6107C @ 0xf610a4
// > sub_F6A1A8 @ 0xf6abf8
// > sub_F6A1A8 @ 0xf6ac80
// > sub_F6B1B0 @ 0xf6bbfc
// > sub_F6B1B0 @ 0xf6bc84
// > ??> @ 0x87b50
// > ??> @ 0x89638
//
// 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:26 +0000
//
// Alternative name is '_ZNSt6__ndk110__time_putC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE'
__int64 __fastcall std::__time_put::__time_put(__int64 *a1, __int64 a2)
{
__int64 result; // x0
void *exception; // x0
__int64 v6; // x1
void *v7; // x19
unsigned __int64 v8[4]; // [xsp+0h] [xbp-40h] BYREF
v8[3] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
result = newlocale();
*a1 = result;
if ( !result )
{
exception = _cxa_allocate_exception(0x10u);
v6 = a2;
v7 = exception;
std::operator+("time_put_byname failed to construct for ", v6, v8);
std::runtime_error::runtime_error(v7, v8);
_cxa_throw(
v7,
(struct type_info *)&`typeinfo for'std::runtime_error,
(void (*)(void *))std::overflow_error::~overflow_error);
}
_ReadStatusReg(TPIDR_EL0);
return result;
}