//
// std::__ndk1::__time_get::__time_get from 0xf75ac4 to 0xf75bec (296 bytes)
//
// 4 xrefs:
// > std::__ndk1::__time_get_storage::__time_get_storage @ 0xf5e698
// > std::__ndk1::__time_get_storage::__time_get_storage @ 0xf5f340
// > ??> @ 0x8f8a8
// > ??> @ 0xc2590
//
// 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:42 +0000
//
// Alternative name is '_ZNSt6__ndk110__time_getC2EPKc'
__int64 __fastcall std::__time_get::__time_get(std::__time_get *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_get_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;
}