//
// sub_140266960 from 0x140266960 to 0x1402669a3 (67 bytes)
//
// 3 xrefs:
// > sub_1404FAC70 @ 0x1404fac85
// > sub_140501BA0 @ 0x140501bc2
// > ??> @ 0x1406d0530
//
// 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 sub_140266960(__int64 a1, void *a2, __int64 a3)
{
void *v3; // rax
v3 = a2;
if ( (unsigned __int64)(24 * a3) >= 0x1000 )
{
if ( (unsigned __int64)a2 - *((_QWORD *)a2 - 1) - 8 > 0x1F )
invalid_parameter_noinfo_noreturn();
v3 = *((void **)a2 - 1);
}
j_j_free(v3);
}