//
// sub_100094DE0 from 0x100094de0 to 0x100094e42 (98 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_100094DE0(__int64 a1, _QWORD *a2)
{
_QWORD *v2; // rax
_QWORD *v3; // rax
__int64 result; // rax
__int64 v5; // rcx
v2 = *(_QWORD **)(a1 + 48);
if ( v2 == a2 )
{
*(_QWORD *)(a1 + 48) = v2[9];
v3 = *(_QWORD **)(a1 + 56);
if ( v3 != a2 )
{
LABEL_3:
result = a2[8];
v5 = a2[9];
if ( !result )
goto LABEL_5;
goto LABEL_4;
}
}
else
{
v3 = *(_QWORD **)(a1 + 56);
if ( v3 != a2 )
goto LABEL_3;
}
*(_QWORD *)(a1 + 56) = v3[8];
result = a2[8];
v5 = a2[9];
if ( result )
LABEL_4:
*(_QWORD *)(result + 72) = v5;
LABEL_5:
if ( v5 )
*(_QWORD *)(v5 + 64) = result;
a2[2] = 0;
return result;
}