//
// sub_CCD38 from 0xccd38 to 0xccd7e (70 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
//
int __fastcall sub_CCD38(int a1, int a2, int a3, int a4, int a5, int a6)
{
int v6; // r5
int v7; // r4
v6 = 0;
v7 = 0;
while ( v6 < a6 )
{
if ( *(_DWORD *)(a5 + 4 * v6) )
*(_DWORD *)(a4 + 4 * v7++) = *(_DWORD *)(a4 + 4 * v6);
++v6;
}
if ( v7 )
return sub_CCD84(a1, a2);
else
return 0;
}