// // LevelInfoLayer::numberInputClosed from 0x3b125c to 0x3b131e (194 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelInfoLayer::numberInputClosed @ 0x3b1338 // // 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 LevelInfoLayer::numberInputClosed(LevelInfoLayer *a1, NumberInputLayer *a2) { int v3; // r0 int v4; // r4 FLAlertLayer *v5; // r8 char *v6; // [sp+Ch] [bp-Ch] BYREF _BYTE v7[4]; // [sp+10h] [bp-8h] BYREF sub_775C20(&v6, &a2->m_inputString); v3 = atoi(v6); v4 = a1->m_level->m_password.random - a1->m_level->m_password.seed; if ( v3 + 1000000 == v4 || v3 + 10000 == v4 ) { LevelInfoLayer::confirmClone(a1, nullptr); } else { sub_776584((int)v7, "Incorrect password!"); v5 = FLAlertLayer::create(0, (int)"Error", (int)v7, (int)"OK", 0, 300.0); sub_774008(v7); v5->show(v5); ++a1->m_level->m_failedPasswordAttempts; } sub_774008(&v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source