//
// sub_6CDDE from 0x6cdde to 0x6ce06 (40 bytes)
//
// 1 xrefs:
// > sub_6CDA8 @ 0x6cdba
//
// 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_6CDDE(int a1, int a2)
{
int v3; // r0
int v4; // r0
int v5; // r2
void *v6; // r3
int result; // r0
v3 = *(_DWORD *)(a1 + 8);
if ( v3 < 0 )
v3 = -v3;
if ( v3 >= a2 )
return 0;
v4 = sub_6CE06(a1);
result = sub_6C7A6(a1, v4, v5, v6);
if ( !result )
return 0;
return result;
}