// // PlayLayer::toggleMusicInPractice from 0x6f2ac0 to 0x6f2b38 (120 bytes) // // 2 xrefs: // > @ 0x472d8 // > @ 0x1428a78 // // 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:51:49 +0000 // unsigned __int64 __fastcall PlayLayer::toggleMusicInPractice(PlayLayer *this) { __int64 v2; // x0 unsigned __int64 result; // x0 GameManager *v4; // x0 v2 = GameStatsManager::sharedState(this); result = (unsigned __int8)GameStatsManager::isItemEnabled(v2, 12, 17); if ( (_BYTE)result || (v4 = (GameManager *)GameManager::sharedState((GameManager *)result), result = (unsigned __int8)GameManager::getGameVariable(v4, "0125"), !(_BYTE)result) ) { *((_BYTE *)this + 12545) = result; } else { result = *(_DWORD *)(*((_QWORD *)this + 242) + 1140LL) == 2; *((_BYTE *)this + 12545) = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source