//
// sub_1006409F0 from 0x1006409f0 to 0x100640a10 (32 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_1006409F0(__int64 *a1, __int64 *a2)
{
__int64 v2; // rax
__int64 result; // rax
v2 = *a2;
*a1 = *a2;
if ( v2 )
{
result = *(_QWORD *)(v2 + 8);
a1[1] = result;
}
else
{
a1[1] = 0;
return 0;
}
return result;
}