//
// sub_14036FF90 from 0x14036ff90 to 0x14036fffd (109 bytes)
//
// 7 xrefs:
// > sub_1403629C0 @ 0x1403629db
// > GJEffectManager::dGJEffectManager @ 0x140364ea1
// > sub_1405034F0 @ 0x140503623
// > int `std::_Locinfo::_Locinfo @ 0x1406abe8b
// > ??> @ 0x1408bb7f4
// > ??> @ 0x1408bb804
// > ??> @ 0x140921c98
//
// 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:30:59 +0000
//
void __fastcall sub_14036FF90(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_140373970(v3 + 3);
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}