// // LevelTools::verifyLevelIntegrity from 0x1001a92c8 to 0x1001a93cc (260 bytes) // // 1 xrefs: // > PlayLayer::init @ 0x100115ea4 // // 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(__int64 a1, int a2) { __int64 v2; // x8 int v3; // w9 unsigned __int16 v4; // w9 unsigned __int16 v5; // w9 _BOOL8 result; // x0 v2 = *(char *)(a1 + 23); if ( v2 < 0 ) v2 = *(_QWORD *)(a1 + 8); switch ( a2 ) { case 1: v3 = 41941; goto LABEL_26; case 2: v3 = 27194; goto LABEL_26; case 3: v3 = 27485; goto LABEL_26; case 4: v3 = 28387; goto LABEL_26; case 5: v3 = 39306; goto LABEL_26; case 6: v3 = 32534; goto LABEL_26; case 7: v3 = 52577; goto LABEL_26; case 8: v5 = 2851; goto LABEL_25; case 9: v5 = 8327; goto LABEL_25; case 10: v3 = 95360; goto LABEL_26; case 11: v5 = 30946; goto LABEL_25; case 12: v5 = 26092; goto LABEL_25; case 13: v5 = -11179; LABEL_25: v3 = v5 | 0x10000; goto LABEL_26; case 14: v3 = 162731; goto LABEL_26; case 15: v4 = 10439; goto LABEL_13; case 16: v4 = -23207; LABEL_13: v3 = v4 | 0x30000; goto LABEL_26; case 17: v3 = 290335; goto LABEL_26; case 18: v3 = 370132; goto LABEL_26; case 19: v3 = 635171; goto LABEL_26; case 20: v3 = 739125; LABEL_26: result = (_DWORD)v2 == v3; break; default: result = 1; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source