//
// sub_140249960 from 0x140249960 to 0x1402499bc (92 bytes)
//
// 3 xrefs:
// > sub_1402051E0 @ 0x1402051e0
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x140206a2e
// > ??> @ 0x1406ce910
//
// 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_140249960(void **a1)
{
_QWORD *v2; // rbx
void *v3; // rcx
v2 = *((_QWORD **)*a1 + 1);
while ( !*((_BYTE *)v2 + 25) )
{
sub_14024EA90(a1, a1, v2[2]);
v3 = v2;
v2 = (_QWORD *)*v2;
j_j_free(v3);
}
j_j_free(*a1);
}