//
// sub_97E42C from 0x97e42c to 0x97e45a (46 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:05 +0000
//
int *__fastcall sub_97E42C(int *a1, int a2)
{
int v3; // r3
int v4; // r4
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
if ( (*(_BYTE *)a2 & 1) != 0 )
{
std::string::__init(a1, *(const void **)(a2 + 8), *(_DWORD *)(a2 + 4));
}
else
{
v3 = *(_DWORD *)(a2 + 4);
v4 = *(_DWORD *)(a2 + 8);
*a1 = *(_DWORD *)a2;
a1[1] = v3;
a1[2] = v4;
}
return a1;
}