//
// sub_100640DB0 from 0x100640db0 to 0x100640dd8 (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_100640DB0(__int64 *a1, __int64 *a2, __int64 a3)
{
__int64 v3; // rax
__int64 result; // rax
v3 = *a2;
*a1 = *a2;
if ( v3 )
{
result = *(_QWORD *)(v3 + 8);
a1[1] = result;
}
else
{
result = 0;
a1[1] = 0;
}
a1[2] = a3;
return result;
}