//
// sub_F7FB04 from 0xf7fb04 to 0xf7fb24 (32 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:50 +0000
//
__int64 __fastcall sub_F7FB04(int a1, int a2, int a3, unsigned __int8 *a4)
{
unsigned __int64 v4; // x8
size_t v5; // x9
bool v6; // zf
size_t v7; // x8
wchar_t *v8; // x3
size_t v9; // x4
v4 = *a4;
v5 = *((_QWORD *)a4 + 1);
v6 = (v4 & 1) == 0;
v7 = v4 >> 1;
if ( v6 )
v8 = (wchar_t *)(a4 + 4);
else
v8 = *((wchar_t **)a4 + 2);
if ( v6 )
v9 = v7;
else
v9 = v5;
return std::wstring::replace(a1, a2, a3, v8, v9);
}