//
// sub_C74FDC from 0xc74fdc to 0xc75070 (148 bytes)
//
// 1 xrefs:
// > sub_C76D40 @ 0xc76f80
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_C74FDC(__int64 result)
{
__int64 v1; // x5
__int64 v2; // x2
__int64 v3; // x1
char *v4; // x1
v1 = *(unsigned __int8 *)(result - 33);
v2 = result;
do
{
v3 = *(unsigned __int8 *)(v2 - 1);
v2 += 32;
v4 = (char *)&unk_F53FDF + v3 - v1;
*(_BYTE *)(v2 - 32) = v4[*(unsigned __int8 *)(result - 32)];
*(_BYTE *)(v2 - 31) = v4[*(unsigned __int8 *)(result - 31)];
*(_BYTE *)(v2 - 30) = v4[*(unsigned __int8 *)(result - 30)];
*(_BYTE *)(v2 - 29) = v4[*(unsigned __int8 *)(result - 29)];
*(_BYTE *)(v2 - 28) = v4[*(unsigned __int8 *)(result - 28)];
*(_BYTE *)(v2 - 27) = v4[*(unsigned __int8 *)(result - 27)];
*(_BYTE *)(v2 - 26) = v4[*(unsigned __int8 *)(result - 26)];
*(_BYTE *)(v2 - 25) = v4[*(unsigned __int8 *)(result - 25)];
}
while ( v2 != result + 256 );
return result;
}