//
// sub_CCF444 from 0xccf444 to 0xccf484 (64 bytes)
//
// 4 xrefs:
// > sub_CD0634 @ 0xcd0804
// > sub_CD0634 @ 0xcd0818
// > sub_CD0634 @ 0xcd082c
// > sub_CD0634 @ 0xcd0840
//
// 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_CCF444(__int64 a1, __int64 a2)
{
int v2; // w3
_BOOL4 v3; // w2
__int64 v4; // x4
v2 = *(_DWORD *)(a1 + 28);
v3 = a2 == 0;
v4 = *(_QWORD *)(a1 + 232);
*(_DWORD *)(a1 + 32) = v3;
*(_QWORD *)(a1 + 232) = a2;
if ( (v3 & v2) != 0 )
sub_D14080("basic_ios::clear");
return v4;
}