//
// std::allocator::deallocate from 0x180048660 to 0x18004869f (63 bytes)
//
// 5 xrefs:
// > sub_1800E1C10 @ 0x1800e1c29
// > sub_1800E1C40 @ 0x1800e1c62
// > sub_1800E1D60 @ 0x1800e1d7c
// > ??> @ 0x1801b1914
// > ??> @ 0x1801b1920
//
// 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
//
void __fastcall std::allocator::deallocate(__int64 a1, void *a2, __int64 a3)
{
void *v3; // rax
v3 = a2;
if ( (unsigned __int64)(2 * a3) >= 0x1000 )
{
if ( (unsigned __int64)a2 - *((_QWORD *)a2 - 1) - 8 > 0x1F )
invalid_parameter_noinfo_noreturn();
v3 = *((void **)a2 - 1);
}
j_j_free_0(v3);
}