//
// sub_1004D37F4 from 0x1004d37f4 to 0x1004d382c (56 bytes)
//
// 2 xrefs:
// > sub_1004D3474 @ 0x1004d36f4
// > sub_1004D382C @ 0x1004d39b8
//
// 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_1004D37F4(int *a1)
{
_QWORD *v1; // x9
v1 = *((_QWORD **)a1 + 1);
*v1 = *(_QWORD *)a1;
*(_QWORD *)(*(_QWORD *)a1 + 8LL) = v1;
*(_QWORD *)a1 = a1;
*((_QWORD *)a1 + 1) = a1;
return sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), a1);
}