//
// sub_C0B18 from 0xc0b18 to 0xc0b8e (118 bytes)
//
// 2 xrefs:
// > sub_C1358 @ 0xc13ea
// > sub_C17FC @ 0xc1878
//
// 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:48 +0000
//
int __fastcall sub_C0B18(int a1, int a2, _DWORD *a3, int *a4, _DWORD *a5, _DWORD *a6, _DWORD *a7)
{
int Format; // r0
int v10; // r0
if ( a3 )
*a3 = so_AAudioStream_getSampleRate(a2);
if ( a4 )
{
Format = so_AAudioStream_getFormat(a2);
if ( Format == 2 )
{
v10 = 5;
}
else
{
if ( Format != 1 )
goto LABEL_9;
v10 = 2;
}
*a4 = v10;
}
LABEL_9:
if ( a5 )
*a5 = so_AAudioStream_getChannelCount(a2);
if ( a6 )
*a6 = so_AAudioStream_getFramesPerBurst(a2);
if ( a7 )
*a7 = so_AAudioStream_getBufferSizeInFrames(a2);
return 0;
}