//
// std::__ndk1::basic_iostream>::basic_iostream from 0x95c18c to 0x95c214 (136 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:34 +0000
//
int *__fastcall std::iostream::basic_iostream(int *a1, int *a2, int a3)
{
int v5; // r0
_DWORD *v6; // r6
int v7; // r0
int v8; // r0
v5 = a2[1];
*a1 = v5;
*(int *)((char *)a1 + *(_DWORD *)(v5 - 12)) = a2[2];
a1[1] = 0;
v6 = (int *)((char *)a1 + *(_DWORD *)(*a1 - 12));
v6[1] = 4098;
v6[2] = 6;
v6[3] = 0;
v6[4] = a3 == 0;
v6[5] = 0;
v6[6] = a3;
memset(v6 + 8, 0, 0x28u);
std::locale::locale((std::locale *)(v6 + 7));
v6[18] = 0;
v6[19] = -1;
v7 = a2[3];
a1[2] = v7;
*(int *)((char *)a1 + *(_DWORD *)(v7 - 12) + 8) = a2[4];
v8 = *a2;
*a1 = *a2;
*(int *)((char *)a1 + *(_DWORD *)(v8 - 12)) = a2[5];
a1[2] = a2[6];
return a1;
}