//
// sub_C6854 from 0xc6854 to 0xc6868 (20 bytes)
//
// 1 xrefs:
// > sub_C6868 @ 0xc6884
//
// 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
//
void *__fastcall sub_C6854(size_t a1, _DWORD *a2)
{
void *result; // r0
if ( !a1 )
a1 = 1;
result = malloc(a1);
*a2 = result;
return result;
}