//
// sub_979CE8 from 0x979ce8 to 0x979d0e (38 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:01 +0000
//
int __fastcall sub_979CE8(int a1, unsigned __int8 *a2)
{
unsigned int v2; // r2
unsigned __int8 *v3; // r3
unsigned int v4; // lr
v3 = a2 + 4;
v2 = *((_DWORD *)a2 + 1);
v4 = *a2;
if ( (v4 & 1) != 0 )
v3 = *((unsigned __int8 **)a2 + 2);
else
v2 = v4 >> 1;
return std::wstring::append(a1, v3, v2);
}