//
// sub_1005DADFC from 0x1005dadfc to 0x1005dae24 (40 bytes)
//
// 0 xrefs:
//
// 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 11:09:36 +0000
//
__int64 __fastcall sub_1005DADFC(__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;
}