// // sub_C0B18 from 0xc0b18 to 0xc0b8e (118 bytes) // // 2 xrefs: // > sub_C1358 @ 0xc13ea // > sub_C17FC @ 0xc1878 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source