//
// std::__ndk1::basic_streambuf>::swap from 0x955808 to 0x95588e (134 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:28 +0000
//
int __fastcall std::streambuf::swap(_DWORD *a1, _DWORD *a2)
{
_DWORD *v3; // r9
int v5; // r0
int v6; // r0
int v7; // r0
int v8; // r0
int v9; // r0
int v10; // r0
_BYTE v12[4]; // [sp+4h] [bp-14h] BYREF
int v13; // [sp+8h] [bp-10h]
v3 = a1 + 1;
std::locale::locale((std::locale *)v12, (const std::locale *)(a1 + 1));
std::locale::operator=(v3, a2 + 1);
std::locale::operator=(a2 + 1, v12);
std::locale::~locale((std::locale *)v12);
v5 = a1[2];
a1[2] = a2[2];
a2[2] = v5;
v6 = a1[3];
a1[3] = a2[3];
a2[3] = v6;
v7 = a1[4];
a1[4] = a2[4];
a2[4] = v7;
v8 = a1[5];
a1[5] = a2[5];
a2[5] = v8;
v9 = a1[6];
a1[6] = a2[6];
a2[6] = v9;
v10 = a1[7];
a1[7] = a2[7];
a2[7] = v10;
return _stack_chk_guard - v13;
}