//
// sub_97A19A from 0x97a19a to 0x97a1e4 (74 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:06:02 +0000
//
int __fastcall sub_97A19A(int a1, _DWORD *a2)
{
int v4; // r3
int v5; // r6
if ( (*(_BYTE *)a1 & 1) != 0 )
**(_DWORD **)(a1 + 8) = 0;
else
*(_BYTE *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
std::wstring::reserve((unsigned int *)a1, 0);
v4 = a2[1];
v5 = a2[2];
*(_DWORD *)a1 = *a2;
*(_DWORD *)(a1 + 4) = v4;
*(_DWORD *)(a1 + 8) = v5;
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
return a1;
}