//
// sub_100221960 from 0x100221960 to 0x100221a20 (192 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_100221960(FILE *__stream, __int64 a2, __int64 a3, __int64 a4)
{
_QWORD v5[6]; // [rsp+8h] [rbp-258h] BYREF
size_t __nitems[2]; // [rsp+38h] [rbp-228h] BYREF
void *__ptr; // [rsp+48h] [rbp-218h]
_BYTE v8[504]; // [rsp+50h] [rbp-210h] BYREF
__nitems[0] = 0;
__nitems[1] = 500;
__ptr = v8;
v5[0] = __nitems;
v5[2] = 0;
fmt::BasicFormatter::Format(v5, a2, a3, a4);
fwrite(__ptr, 1u, __nitems[0], __stream);
if ( __ptr != v8 && __ptr != nullptr )
operator delete[](__ptr);
return __stack_chk_guard;
}