| 99 | } |
| 100 | |
| 101 | ModLoginPopup* ModLoginPopup::create(geode::Function<void()> callback) { |
| 102 | auto ret = new ModLoginPopup(); |
| 103 | if (ret->init(std::move(callback))) { |
| 104 | ret->autorelease(); |
| 105 | return ret; |
| 106 | } |
| 107 | delete ret; |
| 108 | return nullptr; |
| 109 | } |
| 110 | |
| 111 | } |