//
// sub_5F8C8 from 0x5f8c8 to 0x5f8f8 (48 bytes)
//
// 7 xrefs:
// > sub_60178 @ 0x601da
// > sub_60178 @ 0x60294
// > sub_603D4 @ 0x6056e
// > sub_603D4 @ 0x605f6
// > sub_99B7C @ 0x99e4c
// > sub_99B7C @ 0x99ea8
// > sub_99B7C @ 0x99f56
//
// 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
//
int __fastcall sub_5F8C8(int a1, int a2, int a3, _DWORD *a4)
{
int v4; // r12
int i; // r5
int v6; // r6
_DWORD *v7; // r2
v4 = 4 * a3;
for ( i = 0; i < a2; ++i )
{
v6 = 0;
v7 = a4;
while ( v6 < a1 )
{
*v7++ = 0;
++v6;
}
a4 = (_DWORD *)((char *)a4 + v4);
}
return 0;
}