//
// sub_140414150 from 0x140414150 to 0x1404141c6 (118 bytes)
//
// 6 xrefs:
// > LevelSettingsObject::dLevelSettingsObject @ 0x1403ecde5
// > sub_1403ECE40 @ 0x1403ece5b
// > sub_1406B2834 @ 0x1406b283f
// > ??> @ 0x1408c7cec
// > ??> @ 0x1408c7cfc
// > ??> @ 0x140925e68
//
// 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:32:04 +0000
//
void __fastcall sub_140414150(void **a1)
{
void **v1; // rbx
void *v3; // rbx
void *v4; // rdi
v1 = (void **)*a1;
**((_QWORD **)*a1 + 1) = 0;
v3 = *v1;
if ( v3 )
{
do
{
v4 = *(void **)v3;
sub_14003EA90((_QWORD *)v3 + 6);
sub_140066870((void **)v3 + 4);
j_j_free(v3);
v3 = v4;
}
while ( v4 );
}
j_j_free(*a1);
}