//
// sub_6C90E from 0x6c90e to 0x6c940 (50 bytes)
//
// 1 xrefs:
// > sub_6C8C2 @ 0x6c8de
//
// 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_6C90E(int a1, int *a2)
{
int v2; // r0
int v4; // r0
int v5; // r1
v2 = 3 * a1;
if ( (unsigned int)(4 * v2 - 1) >= 0x3FFFFFFF )
{
v4 = *a2;
}
else
{
v4 = sub_53244(4 * v2);
*a2 = v4;
}
v5 = 0;
if ( !v4 )
return 38;
return v5;
}