//
// sub_95CC74 from 0x95cc74 to 0x95cd18 (164 bytes)
//
// 2 xrefs:
// > std::__ndk1::ios_base::Init::Init @ 0x95c80e
// > std::__ndk1::ios_base::Init::Init @ 0x95c890
//
// 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 sub_95CC74(int a1, int a2, int a3)
{
const std::locale *v5; // r6
std::locale *v7; // r0
int v8; // r5
int v10; // [sp+0h] [bp-14h] BYREF
v5 = (const std::locale *)(a1 + 4);
*(_DWORD *)a1 = &off_C99178;
std::locale::locale((std::locale *)(a1 + 4));
memset((void *)(a1 + 8), 0, 0x18u);
*(_DWORD *)a1 = &off_D137A0;
*(_DWORD *)(a1 + 32) = a2;
v7 = (std::locale *)std::locale::locale((std::locale *)&v10, v5);
v8 = std::locale::use_facet(v7, (std::locale::id *)&std::codecvt::id);
std::locale::~locale((std::locale *)&v10);
*(_DWORD *)(a1 + 36) = v8;
*(_DWORD *)(a1 + 40) = a3;
*(_BYTE *)(a1 + 44) = (*(int (__fastcall **)(int))(*(_DWORD *)v8 + 28))(v8);
return a1;
}