//
// sub_1000218F0 from 0x1000218f0 to 0x100021954 (100 bytes)
//
// 1 xrefs:
// > sub_100021850 @ 0x1000218ac
//
// 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
//
_QWORD *__fastcall sub_1000218F0(_QWORD *result, __int128 *a2, __int128 *a3, unsigned __int64 a4)
{
__int64 v6; // x19
if ( a4 )
{
v6 = (__int64)result;
sub_100021660(result, a4);
result = (_QWORD *)sub_100021698(v6, a2, a3, *(_QWORD *)(v6 + 8));
*(_QWORD *)(v6 + 8) = result;
}
return result;
}