//
// sub_140250530 from 0x140250530 to 0x1402505a6 (118 bytes)
//
// 11 xrefs:
// > sub_140204EE0 @ 0x140204ef3
// > sub_140204FB0 @ 0x140205102
// > sub_140207A90 @ 0x140208425
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b0cb
// > sub_140250530 @ 0x14025056a
// > sub_1403B54D0 @ 0x1403b5dfe
// > sub_140509384 @ 0x1405093a7
// > ??> @ 0x140683558
// > ??> @ 0x140683568
// > ??> @ 0x1406cf078
// > ??> @ 0x1406cf084
//
// 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_140250530(__int64 a1, __int64 a2, char *a3)
{
char *v3; // rbx
char *v6; // rdi
v3 = a3;
while ( !v3[25] )
{
sub_140250530(a1, a2, *((_QWORD *)v3 + 2));
v6 = v3;
v3 = *(char **)v3;
sub_140253A30(v6 + 40);
j_j_free(v6);
}
}