add callback to PlayLayer::timeForXPos

fixes a crash when trying to use the function
This commit is contained in:
dankmeme01 2023-10-07 20:49:16 +02:00 committed by alk
parent 1eb72efa9a
commit 572386c291

View file

@ -4681,7 +4681,7 @@ class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate,
void switchToRobotMode(PlayerObject*, GameObject*, bool) = mac 0x7bc80;
void switchToRollMode(PlayerObject*, GameObject*, bool) = mac 0x7bbe0;
void switchToSpiderMode(PlayerObject*, GameObject*, bool) = mac 0x7bd20;
float timeForXPos(float) = mac 0x7d120, win 0x2087d0;
callback float timeForXPos(float) = mac 0x7d120, win 0x2087d0;
float timeForXPos2(float, bool) = mac 0x293eb0, win 0x1fd3d0;
void toggleBGEffectVisibility(bool) = mac 0x7fe80;
void toggleDualMode(GameObject*, bool, PlayerObject*, bool) = mac 0x7bf90, win 0x208880;