//
// sub_C6868 from 0xc6868 to 0xc68a6 (62 bytes)
//
// 1 xrefs:
// > sub_C7C28 @ 0xc803c
//
// 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:41:52 +0000
//
int __fastcall sub_C6868(unsigned int a1, void **a2, _DWORD *a3)
{
int result; // r0
void *v7; // r0
void *v8; // r6
int v9; // [sp+4h] [bp-14h] BYREF
result = 0;
if ( !(a1 >> 30) )
{
v7 = sub_C6854(4 * a1, &v9);
if ( v7 )
{
v8 = v7;
free(*a2);
*a2 = v8;
*a3 = v9;
return 1;
}
else
{
return 0;
}
}
return result;
}