//
// FMOD::SystemI::createMemoryFile from 0x7868c to 0x7871c (144 bytes)
//
// 4 xrefs:
// > FMOD::SystemI::createMemoryFile @ 0x10999c
// > ??> @ 0x2bc0
// > FMOD::SystemI::createMemoryFile @ 0x109994
// > ??> @ 0x111590
//
// 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:03 +0000
//
__int64 __fastcall FMOD::SystemI::createMemoryFile(__int64 a1, __int64 *a2)
{
__int64 v4; // x0
__int64 v5; // x21
v4 = sub_E2908(
*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000),
512,
"../../src/fmod_systemi_sound.cpp",
482,
0,
0,
1);
if ( !v4 )
return 38;
v5 = v4;
sub_7871C();
sub_E0DE4(v5, a1, 0, 0, 0);
*a2 = v5;
return 0;
}