//
// sub_9554EC from 0x9554ec to 0x955568 (124 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:27 +0000
//
int __fastcall sub_9554EC(std::locale *a1, _DWORD *a2, int a3)
{
int v5; // r6
int v7; // [sp+0h] [bp-18h] BYREF
_BYTE v8[4]; // [sp+4h] [bp-14h] BYREF
int v9; // [sp+8h] [bp-10h]
std::locale::locale(a1, (const std::locale *)(a2 + 7));
std::ios_base::imbue((std::ios_base *)v8, (const std::locale *)a2, a3);
std::locale::~locale((std::locale *)v8);
v5 = a2[6];
if ( v5 )
{
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 8))(v5, a3);
std::locale::locale((std::locale *)&v7, (const std::locale *)(v5 + 4));
std::locale::operator=(v5 + 4, a3);
std::locale::~locale((std::locale *)&v7);
}
return _stack_chk_guard - v9;
}