//
// std::__ndk1::basic_ostream>::basic_ostream from 0x9593e0 to 0x959440 (96 bytes)
//
// 0 xrefs:
//
// 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:31 +0000
//
int *__fastcall std::ostream::basic_ostream(int *a1, int *a2, int a3)
{
int v4; // r0
_DWORD *v5; // r5
v4 = *a2;
*a1 = *a2;
*(int *)((char *)a1 + *(_DWORD *)(v4 - 12)) = a2[1];
v5 = (int *)((char *)a1 + *(_DWORD *)(*a1 - 12));
v5[1] = 4098;
v5[2] = 6;
v5[3] = 0;
v5[4] = a3 == 0;
v5[5] = 0;
v5[6] = a3;
memset(v5 + 8, 0, 0x28u);
std::locale::locale((std::locale *)(v5 + 7));
v5[18] = 0;
v5[19] = -1;
return a1;
}