// // ShareLevelSettingsLayer::onClose from 0x100277798 to 0x100277814 (124 bytes) // // 3 xrefs: // > ShareLevelSettingsLayer::keyBackClicked @ 0x1002779d0 // > sub_1002779D4 @ 0x1002779d8 // > ShareLevelSettingsLayer::init @ 0x100277104 // // 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::onClose(ShareLevelSettingsLayer *a1, cocos2d::CCObject *a2) { GJGameLevel *m_level; // x20 float v4; // s0 m_level = a1->m_level; if ( m_level->m_password.random - m_level->m_password.seed == -1 ) { v4 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; m_level->m_password.seed = (int)v4; m_level->m_password.random = (int)v4 + 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