//
// sub_F7B948 from 0xf7b948 to 0xf7b964 (28 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:13:47 +0000
//
__int64 __fastcall sub_F7B948(__int64 a1, unsigned __int8 *a2)
{
unsigned __int64 v2; // x8
size_t v3; // x10
bool v4; // zf
size_t v5; // x8
void *v6; // x1
size_t v7; // x2
v2 = *a2;
v3 = *((_QWORD *)a2 + 1);
v4 = (v2 & 1) == 0;
v5 = v2 >> 1;
if ( v4 )
v6 = a2 + 1;
else
v6 = *((void **)a2 + 2);
if ( v4 )
v7 = v5;
else
v7 = v3;
return std::string::append(a1, v6, v7);
}