//
// sub_1004478B0 from 0x1004478b0 to 0x1004478d8 (40 bytes)
//
// 0 xrefs:
//
// 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_1004478B0(__int64 a1)
{
__int64 v1; // x8
_BYTE *v2; // x8
v1 = 1LL - *(int *)(a1 + 108);
*(_DWORD *)(a1 + 108) = v1;
v2 = (_BYTE *)(a1 + v1);
v2[100] = 0;
v2[102] = 0;
v2[104] = 0;
return 0;
}