//
// sub_140249D00 from 0x140249d00 to 0x140249d6d (109 bytes)
//
// 5 xrefs:
// > sub_140204FB0 @ 0x140204fdc
// > sub_1404F8A0B @ 0x1404f8a16
// > ??> @ 0x140682ad0
// > ??> @ 0x140682ae0
// > ??> @ 0x1406ce9e8
//
// 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_140249D00(void **a1)
{
_QWORD **v1; // rbx
_QWORD *v3; // rbx
_QWORD *v4; // rdi
v1 = (_QWORD **)*a1;
**((_QWORD **)*a1 + 1) = 0;
v3 = *v1;
if ( v3 )
{
do
{
v4 = (_QWORD *)*v3;
sub_1400CDA80((__int64)(v3 + 3));
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}