// // ShareLevelSettingsLayer::onClose from 0x6e3788 to 0x6e3810 (136 bytes) // // 4 xrefs: // > ShareLevelSettingsLayer::keyBackClicked @ 0x6e381c // > @ 0x6c138 // > ShareLevelSettingsLayer::init @ 0x6e5dbc // > @ 0x122b8a8 // // 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 ShareLevelSettingsLayer::onClose(ShareLevelSettingsLayer *a1, cocos2d::CCObject *a2) { GJGameLevel *m_level; // x20 int v4; // w0 m_level = a1->m_level; if ( m_level->m_password.random - m_level->m_password.seed == -1 ) { v4 = (int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); m_level->m_password.seed = v4; m_level->m_password.random = v4 + 1; } a1->setKeypadEnabled(a1, 0); a1->removeFromParentAndCleanup(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source