//
// std::__ndk1::__time_put::__time_put from 0x967334 to 0x9673a8 (116 bytes)
//
// 8 xrefs:
// > sub_9672F4 @ 0x96730c
// > sub_9677B8 @ 0x9677d0
// > sub_967838 @ 0x967850
// > sub_9678EC @ 0x967904
// > sub_96D650 @ 0x96da86
// > sub_96D650 @ 0x96dac8
// > sub_96DDD0 @ 0x96e236
// > sub_96DDD0 @ 0x96e278
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:05:43 +0000
//
// Alternative name is '_ZNSt6__ndk110__time_putC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE'
int *__fastcall std::__time_put::__time_put(int *a1, int a2)
{
unsigned __int8 v4; // r0
char *v5; // r1
int v6; // r0
void *exception; // r4
int v9[3]; // [sp+4h] [bp-1Ch] BYREF
v4 = *(_BYTE *)a2;
v5 = *(char **)(a2 + 8);
if ( (v4 & 1) == 0 )
v5 = (char *)(a2 + 1);
v6 = sub_992EBC(8127, v5);
*a1 = v6;
if ( !v6 )
{
exception = _cxa_allocate_exception(8u);
std::operator+(v9, "time_put_byname failed to construct for ", (unsigned __int8 *)a2);
std::runtime_error::runtime_error(exception, v9);
_cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::runtime_error,
(void (*)(void *))std::runtime_error::~runtime_error);
}
return a1;
}