//
// std::__ndk1::__time_put::__do_put from 0x9676c4 to 0x96776a (166 bytes)
//
// 1 xrefs:
// > std::__ndk1::time_put>>::do_put @ 0x967666
//
// 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
//
int __fastcall std::__time_put::__do_put(
std::__time_put *this,
wchar_t *a2,
wchar_t **a3,
const tm *a4,
char a5,
int a6)
{
int v9; // r0
int v10; // r4
int v11; // r6
int v12; // r4
char *v14; // [sp+Ch] [bp-88h] BYREF
_DWORD v15[3]; // [sp+10h] [bp-84h] BYREF
char *v16; // [sp+1Ch] [bp-78h] BYREF
char s[100]; // [sp+20h] [bp-74h] BYREF
int v18; // [sp+84h] [bp-10h] BYREF
v16 = (char *)&v18;
std::__time_put::__do_put(this, s, &v16, a4, a5, a6);
v15[1] = 0;
v14 = s;
v15[0] = 0;
v9 = *(_DWORD *)this;
v10 = *a3 - a2;
v11 = sub_992F18(v9);
v12 = sub_9935B8(a2, &v14, v10, v15);
if ( v11 )
sub_992F18(v11);
if ( v12 == -1 )
std::__throw_runtime_error("locale not supported");
*a3 = &a2[v12];
return _stack_chk_guard - v18;
}