From 9fb1c4dcdb744fb6866ad2ebe6fb5911eee9dc99 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:39:37 -0300 Subject: [PATCH] add AudioEffectsLayer members and rename some PlayerObject ones --- bindings/GeometryDash.bro | 27 ++++++++++++++++++++------- loader/test/members/Windows.cpp | 2 ++ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/bindings/GeometryDash.bro b/bindings/GeometryDash.bro index 4a11b380..e50909bb 100644 --- a/bindings/GeometryDash.bro +++ b/bindings/GeometryDash.bro @@ -110,10 +110,21 @@ class ArtistCell : TableViewCell { void* m_idk; } -class AudioEffectsLayer { +class AudioEffectsLayer : cocos2d::CCLayerColor { void audioStep(float) = mac 0x271f40, win 0x3daa0; static AudioEffectsLayer* create(gd::string) = mac 0x271a00, win 0x3d850; - void resetAudioVars() = mac 0x271ee0; + void resetAudioVars() = mac 0x271ee0, win 0x3da40; + void goingDown() = win 0x3dd40; + virtual void updateTweenAction(float, const char*) = win 0x3dc70; + + int m_unk198; + cocos2d::CCArray* m_unk19C; + cocos2d::CCArray* m_unk1A0; + float m_unk1A4; + float m_unk1A8; + bool m_unk1AC; + float m_unk1B0; + bool m_unk1B4; } class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource { @@ -4755,7 +4766,9 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate { PAD = mac 0x30, win 0x1c; bool m_unk4B0; cocos2d::CCSprite* m_unk4B4; - PAD = mac 0x1c, win 0x1c; + int m_unk4B8; + int m_unk4BC; + PAD = mac 0x14, win 0x14; bool m_unk4D4; cocos2d::CCArray* m_particleSystems; bool m_unk4DC; @@ -4801,12 +4814,12 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate { GJRobotSprite* m_robotSprite; GJSpiderSprite* m_spiderSprite; bool m_unk5B0; - cocos2d::CCParticleSystemQuad* m_unk5B4; + cocos2d::CCParticleSystemQuad* m_playerGroundParticles; cocos2d::CCParticleSystemQuad* m_unk5B8; - cocos2d::CCParticleSystemQuad* m_unk5BC; - cocos2d::CCParticleSystemQuad* m_unk5C0; + cocos2d::CCParticleSystemQuad* m_shipBoostParticles; + cocos2d::CCParticleSystemQuad* m_vehicleGroundParticles; cocos2d::CCParticleSystemQuad* m_unk5C4; - cocos2d::CCParticleSystemQuad* m_unk5C8; + cocos2d::CCParticleSystemQuad* m_robotJumpParticles; cocos2d::CCParticleSystemQuad* m_unk5CC; void* m_unk5D0; cocos2d::CCParticleSystemQuad* m_unk5D4; diff --git a/loader/test/members/Windows.cpp b/loader/test/members/Windows.cpp index 2fe95ee2..a516a93e 100644 --- a/loader/test/members/Windows.cpp +++ b/loader/test/members/Windows.cpp @@ -48,4 +48,6 @@ GEODE_MEMBER_CHECK(GJBaseGameLayer, m_groups, 0x274); GEODE_MEMBER_CHECK(GJBaseGameLayer, m_attemptClickCount, 0x2b4); static_assert(sizeof(GJBaseGameLayer) == 0x2cc); +GEODE_MEMBER_CHECK(AudioEffectsLayer, m_unk19C, 0x19c); + #endif \ No newline at end of file