//
// sub_100221A50 from 0x100221a50 to 0x100221b0b (187 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_100221A50(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
_QWORD v5[6]; // [rsp+8h] [rbp-258h] BYREF
_QWORD v6[2]; // [rsp+38h] [rbp-228h] BYREF
void *__p; // [rsp+48h] [rbp-218h]
_BYTE v8[504]; // [rsp+50h] [rbp-210h] BYREF
v6[0] = 0;
v6[1] = 500;
__p = v8;
v5[0] = v6;
v5[2] = 0;
fmt::BasicFormatter::Format(v5, a2, a3, a4);
std::ostream::write(a1, __p, v6[0]);
if ( __p != v8 && __p != nullptr )
operator delete[](__p);
return __stack_chk_guard;
}