//
// sub_1001964C0 from 0x1001964c0 to 0x1001964fc (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007a88a0
// > ??> @ 0x1007cf840
//
// 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_1001964C0(__int64 result, __int64 a2)
{
if ( *(_QWORD *)(result + 352) != a2 )
{
*(_QWORD *)(result + 352) = a2;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(result - 320) + 1624LL))(result - 320);
}
return result;
}