//
// sub_100427970 from 0x100427970 to 0x1004279ec (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x100826cd0
//
// 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
//
__int64 __fastcall sub_100427970(__int64 a1)
{
int v2; // w8
__int64 v3; // x1
*(_QWORD *)a1 = off_100826C70;
v2 = *(_DWORD *)(a1 + 148);
*(_DWORD *)(a1 + 144) = 0;
if ( v2 )
{
if ( v2 >= 1 )
{
v3 = *(_QWORD *)(a1 + 136);
if ( v3 )
sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v3, "../../src/fmod_memory.h", 255, 1);
}
*(_QWORD *)(a1 + 136) = 0;
*(_DWORD *)(a1 + 148) = 0;
}
sub_100427A68(a1 + 96);
return a1;
}