add AudioEffectsLayer members and rename some PlayerObject ones

This commit is contained in:
matcool 2023-03-19 16:39:37 -03:00
parent 6b67789b63
commit 9fb1c4dcdb
No known key found for this signature in database
GPG key ID: BF58756086D7AB1C
2 changed files with 22 additions and 7 deletions

View file

@ -110,10 +110,21 @@ class ArtistCell : TableViewCell {
void* m_idk; void* m_idk;
} }
class AudioEffectsLayer { class AudioEffectsLayer : cocos2d::CCLayerColor {
void audioStep(float) = mac 0x271f40, win 0x3daa0; void audioStep(float) = mac 0x271f40, win 0x3daa0;
static AudioEffectsLayer* create(gd::string) = mac 0x271a00, win 0x3d850; 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 { class BoomListView : cocos2d::CCLayer, TableViewDelegate, TableViewDataSource {
@ -4755,7 +4766,9 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
PAD = mac 0x30, win 0x1c; PAD = mac 0x30, win 0x1c;
bool m_unk4B0; bool m_unk4B0;
cocos2d::CCSprite* m_unk4B4; cocos2d::CCSprite* m_unk4B4;
PAD = mac 0x1c, win 0x1c; int m_unk4B8;
int m_unk4BC;
PAD = mac 0x14, win 0x14;
bool m_unk4D4; bool m_unk4D4;
cocos2d::CCArray* m_particleSystems; cocos2d::CCArray* m_particleSystems;
bool m_unk4DC; bool m_unk4DC;
@ -4801,12 +4814,12 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
GJRobotSprite* m_robotSprite; GJRobotSprite* m_robotSprite;
GJSpiderSprite* m_spiderSprite; GJSpiderSprite* m_spiderSprite;
bool m_unk5B0; bool m_unk5B0;
cocos2d::CCParticleSystemQuad* m_unk5B4; cocos2d::CCParticleSystemQuad* m_playerGroundParticles;
cocos2d::CCParticleSystemQuad* m_unk5B8; cocos2d::CCParticleSystemQuad* m_unk5B8;
cocos2d::CCParticleSystemQuad* m_unk5BC; cocos2d::CCParticleSystemQuad* m_shipBoostParticles;
cocos2d::CCParticleSystemQuad* m_unk5C0; cocos2d::CCParticleSystemQuad* m_vehicleGroundParticles;
cocos2d::CCParticleSystemQuad* m_unk5C4; cocos2d::CCParticleSystemQuad* m_unk5C4;
cocos2d::CCParticleSystemQuad* m_unk5C8; cocos2d::CCParticleSystemQuad* m_robotJumpParticles;
cocos2d::CCParticleSystemQuad* m_unk5CC; cocos2d::CCParticleSystemQuad* m_unk5CC;
void* m_unk5D0; void* m_unk5D0;
cocos2d::CCParticleSystemQuad* m_unk5D4; cocos2d::CCParticleSystemQuad* m_unk5D4;

View file

@ -48,4 +48,6 @@ GEODE_MEMBER_CHECK(GJBaseGameLayer, m_groups, 0x274);
GEODE_MEMBER_CHECK(GJBaseGameLayer, m_attemptClickCount, 0x2b4); GEODE_MEMBER_CHECK(GJBaseGameLayer, m_attemptClickCount, 0x2b4);
static_assert(sizeof(GJBaseGameLayer) == 0x2cc); static_assert(sizeof(GJBaseGameLayer) == 0x2cc);
GEODE_MEMBER_CHECK(AudioEffectsLayer, m_unk19C, 0x19c);
#endif #endif