//
// LevelTools::verifyLevelIntegrity from 0x32c524 to 0x32c5b0 (140 bytes)
//
// 1 xrefs:
// > PlayLayer::init @ 0x31ce0c
//
// 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
//
bool __fastcall LevelTools::verifyLevelIntegrity(_DWORD *a1, int a2)
{
int v2; // r3
int v3; // r0
_BOOL4 result; // r0
v2 = *(_DWORD *)(*a1 - 12);
switch ( a2 )
{
case 1:
v3 = 41941;
goto LABEL_22;
case 2:
v3 = 27194;
goto LABEL_22;
case 3:
v3 = 27485;
goto LABEL_22;
case 4:
v3 = 28387;
goto LABEL_22;
case 5:
v3 = 39306;
goto LABEL_22;
case 6:
v3 = 32534;
goto LABEL_22;
case 7:
v3 = 52577;
goto LABEL_22;
case 8:
v3 = 68387;
goto LABEL_22;
case 9:
v3 = 73863;
goto LABEL_22;
case 10:
v3 = 95360;
goto LABEL_22;
case 11:
v3 = 96482;
goto LABEL_22;
case 12:
v3 = 91628;
goto LABEL_22;
case 13:
v3 = 119893;
goto LABEL_22;
case 14:
v3 = 162731;
goto LABEL_22;
case 15:
v3 = 207047;
goto LABEL_22;
case 16:
v3 = 238937;
goto LABEL_22;
case 17:
v3 = 290335;
goto LABEL_22;
case 18:
v3 = 370132;
goto LABEL_22;
case 19:
v3 = 635171;
goto LABEL_22;
case 20:
v3 = 739125;
LABEL_22:
result = v2 == v3;
break;
default:
result = 1;
break;
}
return result;
}