//
// sub_1800195D0 from 0x1800195d0 to 0x180019621 (81 bytes)
//
// 2 xrefs:
// > sub_18001C3F0 @ 0x18001c51b
// > ??> @ 0x1801b89e0
//
// 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 11:21:25 +0000
//
void __fastcall sub_1800195D0(__int64 a1, void *a2, unsigned __int64 a3)
{
void *v3; // rax
v3 = a2;
if ( a3 >= 0x1000 )
{
if ( (unsigned __int64)a2 - *((_QWORD *)a2 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v3 = *((void **)a2 - 1);
}
j_j_free_0(v3);
}