//
// sub_C941C from 0xc941c to 0xc9470 (84 bytes)
//
// 2 xrefs:
// > sub_C9470 @ 0xc94a4
// > sub_C9470 @ 0xc94b4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:47 +0000
//
__int64 sub_C941C()
{
int *v0; // x19
unsigned int *v1; // x1
unsigned int v2; // w2
unsigned int v3; // w8
unsigned int *v4; // x20
__int64 result; // x0
sub_CD4C4();
if ( !v3 )
{
v4 = v1;
if ( *v0 >= 1 )
v2 = sub_6BA4C(*v0);
v3 = v2;
*v4 = v2;
}
result = sub_65A10(v3);
if ( !(_DWORD)result )
result = (unsigned int)*v0;
*v0 = result;
return result;
}