//
// sub_140178470 from 0x140178470 to 0x1401784dd (109 bytes)
//
// 6 xrefs:
// > sub_140141580 @ 0x140141580
// > sub_1401440A0 @ 0x14014426f
// > GameLevelManager::createNewLevelList @ 0x1401458af
// > ??> @ 0x140676c38
// > ??> @ 0x140676c48
// > ??> @ 0x1406cb088
//
// 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_140178470(void **a1)
{
_QWORD *v2; // rbx
void *v3; // rdi
v2 = *((_QWORD **)*a1 + 1);
while ( !*((_BYTE *)v2 + 25) )
{
sub_140179800(a1, a1, v2[2]);
v3 = v2;
v2 = (_QWORD *)*v2;
sub_14003A830((__int64)v3 + 32);
j_j_free(v3);
}
j_j_free(*a1);
}