//
// sub_F7C420 from 0xf7c420 to 0xf7c43c (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
//
_QWORD *__fastcall sub_F7C420(_QWORD *a1, size_t a2, size_t a3, unsigned __int8 *a4)
{
unsigned __int64 v4; // x8
size_t v5; // x10
bool v6; // zf
size_t v7; // x8
char *v8; // x3
size_t v9; // x4
v4 = *a4;
v5 = *((_QWORD *)a4 + 1);
v6 = (v4 & 1) == 0;
v7 = v4 >> 1;
if ( v6 )
v8 = (char *)(a4 + 1);
else
v8 = *((char **)a4 + 2);
if ( v6 )
v9 = v7;
else
v9 = v5;
return std::string::replace(a1, a2, a3, v8, v9);
}