//
// FMOD::SystemI::createMemoryFile from 0x1800fe300 to 0x1800fe3b1 (177 bytes)
//
// 3 xrefs:
// > sub_1800FE610 @ 0x1800fe798
// > ??> @ 0x180194348
// > ??> @ 0x180201070
//
// This function is hookable on this platform (idp: pc, 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 10:54:26 +0000
//
__int64 __fastcall FMOD::SystemI::createMemoryFile(__int64 a1, __int64 *a2)
{
void *v4; // rax
__int64 v5; // rbx
v4 = sub_1800B6530(
*((_QWORD *)off_1801AED20 + 52),
512,
"C:\\buildagent1\\work\\570ad728b1678096\\core_api\\src\\fmod_systemi_sound.cpp",
482,
0,
0,
1);
v5 = (__int64)v4;
if ( !v4 )
return 38;
sub_1800B2170((__int64)v4);
*(_DWORD *)(v5 + 56) = 1;
*(_QWORD *)v5 = off_180167130;
*(_DWORD *)(v5 + 496) = 0;
*(_QWORD *)(v5 + 504) = 0;
sub_1800B4280(v5, a1, 0, 0, 0);
*a2 = v5;
return 0;
}