//
// sub_7C39C from 0x7c39c to 0x7c3de (66 bytes)
//
// 1 xrefs:
// > sub_7B77C @ 0x7b780
//
// 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_7C39C(int a1, int a2, _DWORD *a3, _DWORD *a4)
{
if ( !byte_F7824 )
{
sub_7B924();
byte_F7824 = 1;
}
if ( a3 )
*a3 = 18620 * ((a2 + 1) / 2);
if ( a4 )
*a4 = 1152;
return 0;
}