//
// std::__ndk1::basic_ostream>::basic_ostream from 0xf49c68 to 0xf49ce8 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xad6f8
//
// 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:12 +0000
//
__int64 __fastcall std::ostream::basic_ostream(__int64 *a1, __int64 *a2, __int64 a3)
{
__int64 v3; // x8
char *v4; // x20
__int64 result; // x0
v3 = *a2;
*a1 = *a2;
*(__int64 *)((char *)a1 + *(_QWORD *)(v3 - 24)) = a2[1];
v4 = (char *)a1 + *(_QWORD *)(*a1 - 24);
*((_QWORD *)v4 + 5) = a3;
*((_DWORD *)v4 + 8) = a3 == 0;
*((_DWORD *)v4 + 9) = 0;
*((_DWORD *)v4 + 2) = 4098;
*((_QWORD *)v4 + 2) = 6;
*((_QWORD *)v4 + 3) = 0;
memset(v4 + 56, 0, 0x50u);
result = std::locale::locale((std::locale *)(v4 + 48));
*((_QWORD *)v4 + 17) = 0;
*((_DWORD *)v4 + 36) = -1;
return result;
}