//
// sub_1004B4C94 from 0x1004b4c94 to 0x1004b4cbc (40 bytes)
//
// 0 xrefs:
//
// 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_1004B4C94(__int64 result, __int64 a2)
{
__int64 v2; // x8
v2 = *(_QWORD *)(result + 24);
*(_QWORD *)(a2 + 72) = v2;
*(_QWORD *)(result + 24) = a2;
if ( v2 )
*(_QWORD *)(v2 + 48) = a2;
*(_QWORD *)(a2 + 48) = 0;
*(_DWORD *)(a2 + 24) |= 0x20u;
return result;
}