// // SongOptionsLayer::updatePlaybackBtn from 0x83de10 to 0x83dea8 (152 bytes) // // 2 xrefs: // > SongOptionsLayer::onPlayback @ 0x83df70 // > @ 0x93258 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SongOptionsLayer::updatePlaybackBtn(SongOptionsLayer *a1) { cocos2d::CCNode *v1; // x19 FMODAudioEngine *v2; // x0 void (__fastcall *setSkewY)(cocos2d::CCNode *__hidden, float); // x20 cocos2d::CCSpriteFrameCache *v4; // x0 cocos2d::CCSpriteFrame *v5; // x0 cocos2d::CCSpriteFrameCache *v6; // x0 v1 = a1->m_playbackButton->getNormalImage(a1->m_playbackButton); v2 = FMODAudioEngine::sharedEngine(); if ( FMODAudioEngine::isMusicPlaying(v2, 0) ) { setSkewY = v1->__vftable[1].setSkewY; v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "GJ_stopMusicBtn_001.png"); } else { setSkewY = v1->__vftable[1].setSkewY; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_playMusicBtn_001.png"); } ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSpriteFrame *))setSkewY)(v1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source