// // SongOptionsLayer::updatePlaybackBtn from 0x97f4e4 to 0x97f57c (152 bytes) // // 2 xrefs: // > SongOptionsLayer::onPlayback @ 0x97f630 // > @ 0xc27e8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:57:50 +0000 // __int64 __fastcall SongOptionsLayer::updatePlaybackBtn(SongOptionsLayer *this) { FMODAudioEngine *v1; // x19 FMODAudioEngine *v2; // x0 __int64 (__fastcall *v3)(FMODAudioEngine *, __int64); // x20 cocos2d::CCSpriteFrameCache *v4; // x0 __int64 v5; // x0 cocos2d::CCSpriteFrameCache *v7; // x0 v1 = (FMODAudioEngine *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 85) + 1072LL))(*((_QWORD *)this + 85)); v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(v1); if ( FMODAudioEngine::isMusicPlaying(v2, 0) ) { v3 = *(__int64 (__fastcall **)(FMODAudioEngine *, __int64))(*(_QWORD *)v1 + 1160LL); v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*(cocos2d::CCSpriteFrameCache **)v1); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "GJ_stopMusicBtn_001.png"); } else { v3 = *(__int64 (__fastcall **)(FMODAudioEngine *, __int64))(*(_QWORD *)v1 + 1160LL); v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*(cocos2d::CCSpriteFrameCache **)v1); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_playMusicBtn_001.png"); } return v3(v1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source