//
// sub_6C600C from 0x6c600c to 0x6c60b8 (172 bytes)
//
// 3 xrefs:
// > sub_6C6AF4 @ 0x6c6d24
// > sub_6C6AF4 @ 0x6c6d28
// > ??> @ 0x6c6dd8
//
// 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_6C600C(_DWORD *a1)
{
_BYTE *v1; // r3
int v4; // [sp+Ch] [bp-8h]
v4 = a1[144];
if ( *(_DWORD *)(v4 + 52) != 8 )
{
if ( a1[152] >= a1[148] )
TIFFFlushData1(a1);
v1 = (_BYTE *)a1[151];
*v1 = *(_DWORD *)(v4 + 48);
a1[151] = v1 + 1;
++a1[152];
*(_DWORD *)(v4 + 48) = 0;
*(_DWORD *)(v4 + 52) = 8;
}
return 1;
}