//
// std::__ndk1::__time_put::__time_put from 0xf60614 to 0xf6073c (296 bytes)
//
// 6 xrefs:
// > sub_F605B8 @ 0xf605e0
// > std::__ndk1::__time_put::__do_put @ 0xf60e80
// > sub_F60F10 @ 0xf60f38
// > sub_F61020 @ 0xf61048
// > ??> @ 0x5fed8
// > ??> @ 0xc4330
//
// 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_putC1EPKc'
__int64 __fastcall std::__time_put::__time_put(std::__time_put *this, char *a2)
{
__int64 result; // x0
void *exception; // x19
size_t v6; // x0
_QWORD *v7; // x0
__int64 v8[3]; // [xsp+8h] [xbp-58h] BYREF
__int128 v9; // [xsp+20h] [xbp-40h] BYREF
__int64 v10; // [xsp+30h] [xbp-30h]
__int64 v11; // [xsp+38h] [xbp-28h]
v11 = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
result = newlocale();
*(_QWORD *)this = result;
if ( !result )
{
exception = _cxa_allocate_exception(0x10u);
memset(v8, 0, sizeof(v8));
v6 = strlen(a2);
std::string::__init(v8, a2, v6);
v7 = std::string::insert(v8, 0, "time_put_byname failed to construct for ");
v10 = v7[2];
v9 = *(_OWORD *)v7;
v7[1] = 0;
v7[2] = 0;
*v7 = 0;
std::runtime_error::runtime_error(exception, &v9);
_cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::runtime_error,
(void (*)(void *))std::overflow_error::~overflow_error);
}
_ReadStatusReg(TPIDR_EL0);
return result;
}