mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Merge branch 'main' of https://github.com/geode-sdk/sdk
This commit is contained in:
commit
8188f957a8
2 changed files with 2 additions and 1 deletions
|
@ -3780,7 +3780,7 @@ class MenuGameLayer {
|
|||
|
||||
class MenuLayer : cocos2d::CCLayer, FLAlertLayerProtocol {
|
||||
inline MenuLayer() {}
|
||||
~MenuLayer() = mac 0x1d1230, win 0x0, ios 0x0;
|
||||
~MenuLayer() = mac 0x1d1230, win 0x190620, ios 0x0;
|
||||
virtual bool init() = mac 0x1d14b0, win 0x1907b0, ios 0x0;
|
||||
virtual void keyBackClicked() = mac 0x1d3160, win 0x191f90, ios 0x0;
|
||||
virtual void keyDown(cocos2d::enumKeyCodes) = mac 0x1d33d0, win 0x1922c0, ios 0x0;
|
||||
|
|
|
@ -46,6 +46,7 @@ types::ret{index} {class_name}::{function_name}({parameters}){const_whitespace}{
|
|||
func(this{argument_comma}{arguments});
|
||||
// we need to construct it back so that it uhhh ummm doesnt crash
|
||||
// while going to the child destructors
|
||||
std::memset(this, 0, sizeof({class_name}));
|
||||
auto thing = new (this) {class_name}(std::monostate(), sizeof({class_name}));
|
||||
CCDestructor::lock(this) = true;
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue