//
// sub_6C3C8 from 0x6c3c8 to 0x6c430 (104 bytes)
//
// 1 xrefs:
// > sub_6BE4E @ 0x6be6a
//
// 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_6C3C8(int a1, int a2)
{
int v4; // r1
int v5; // r0
if ( *(_DWORD *)(a1 + 32) >= a2 )
return 0;
v4 = *(_DWORD *)(a1 + 24);
if ( v4 )
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v4, "../../src/fmod_profile_remotefile.cpp", 649, 1);
v5 = sub_BD410(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a2, "../../src/fmod_profile_remotefile.cpp", 652);
*(_DWORD *)(a1 + 24) = v5;
if ( v5 )
{
*(_DWORD *)(a1 + 32) = a2;
return 0;
}
return 38;
}