// // ShareLevelSettingsLayer::keyBackClicked from 0x100283370 to 0x1002833e7 (119 bytes) // // 1 xrefs: // > @ 0x1008f2290 // // 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 ShareLevelSettingsLayer::keyBackClicked(ShareLevelSettingsLayer *a1) { GJGameLevel *m_level; // r14 float v2; // xmm0_4 m_level = a1->m_level; if ( m_level->m_password.random - m_level->m_password.seed == -1 ) { v2 = (float)((float)rand() * 4.6566129e-10) * 1000.0; m_level->m_password.seed = (int)v2; m_level->m_password.random = (int)v2 + 1; } ((void (__fastcall *)(ShareLevelSettingsLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(ShareLevelSettingsLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source