From 572386c291133fb6faa16cc6badd38d95dd56ffb Mon Sep 17 00:00:00 2001 From: dankmeme01 <42031238+dankmeme01@users.noreply.github.com> Date: Sat, 7 Oct 2023 20:49:16 +0200 Subject: [PATCH] add callback to PlayLayer::timeForXPos fixes a crash when trying to use the function --- bindings/GeometryDash.bro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/GeometryDash.bro b/bindings/GeometryDash.bro index 21ad2ed4..a7eabf57 100644 --- a/bindings/GeometryDash.bro +++ b/bindings/GeometryDash.bro @@ -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;