//
// sub_1007180E0 from 0x1007180e0 to 0x10071810c (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:36:09 +0000
//
_QWORD *__fastcall sub_1007180E0(_QWORD *a1, __int64 *a2)
{
_QWORD *result; // rax
__int64 v3; // rcx
__int64 v4; // rdx
result = a1;
v3 = *a2;
if ( *a2 )
v4 = *(_QWORD *)(v3 + 32);
else
v4 = 0;
*a1 = v4;
a1[1] = v3;
a1[2] = 0;
a1[3] = v3;
return result;
}