//
// sub_10015E660 from 0x10015e660 to 0x10015e6b4 (84 bytes)
//
// 2 xrefs:
// > sub_10015E558 @ 0x10015e5c8
// > sub_10022F1C4 @ 0x10022f208
//
// 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_10015E660(__int64 a1, __int64 a2)
{
__int64 v2; // x19
__int64 v4; // x0
v2 = a2;
*(_QWORD *)(a2 + 8) = *(int *)(a2 + 16);
v4 = sub_10015E6B4();
if ( v4 )
return v4;
sub_10015E7C8(a1, v2);
return v2;
}