//
// sub_18007D1F0 from 0x18007d1f0 to 0x18007d245 (85 bytes)
//
// 2 xrefs:
// > sub_18007C950 @ 0x18007c9f2
// > ??> @ 0x1801bef68
//
// 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:22:00 +0000
//
void __fastcall sub_18007D1F0(__int64 a1, void *a2, __int64 a3)
{
void *v3; // rax
v3 = a2;
if ( (unsigned __int64)(32 * 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);
}