//
// sub_6C3C8 from 0x6c3c8 to 0x6c430 (104 bytes)
//
// 1 xrefs:
// > sub_6BE4E @ 0x6be6a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:40:58 +0000
//
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;
}