//
// sub_14024A170 from 0x14024a170 to 0x14024a1ca (90 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b5e8
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b5f4
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b600
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b60c
// > ??> @ 0x1406cea9c
//
// 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
//
__int64 __fastcall sub_14024A170(__int64 *a1)
{
__int64 v1; // rbx
__int64 v3; // rsi
__int64 result; // rax
v1 = *a1;
v3 = a1[1];
if ( *a1 != v3 )
{
do
{
sub_14005E430(v1 + 200);
sub_1402508A0(v1, v1);
v1 += 232;
}
while ( v1 != v3 );
result = *a1;
a1[1] = *a1;
}
return result;
}