// // PlayLayer::toggleMusicInPractice from 0x1405113b0 to 0x1405114e7 (311 bytes) // // 2 xrefs: // > @ 0x1407d5f58 // > @ 0x14092ab90 // // This function is hookable on this platform (idp: pc, 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 11:33:31 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall PlayLayer::toggleMusicInPractice(__int64 a1) { __int64 v2; // rbx __int64 v3; // rcx cocos2d::CCString *v4; // rax bool v5; // bl __int64 v6; // rcx void *v7; // [rsp+20h] [rbp-38h] void *v8; // [rsp+20h] [rbp-38h] _QWORD v9[4]; // [rsp+28h] [rbp-30h] BYREF v2 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v7 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v2 = qword_14090BFE0; } if ( (unsigned __int8)GameStatsManager::isItemUnlocked(a1, 0xCu, 0x11u) ) { GameStatsManager::getItemKey(v3, v9, 0x11u, 0xCu); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v2 + 896), v9); v5 = cocos2d::CCString::boolValue(v4); sub_14003D310((__int64)v9); if ( v5 ) goto LABEL_9; } v6 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v8 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v6 = qword_14090BFD0; } if ( GameManager::getGameVariable(v6, "0125") && *(_DWORD *)(*(_QWORD *)(a1 + 2168) + 1220LL) == 2 ) LABEL_9: *(_BYTE *)(a1 + 13025) = 1; else *(_BYTE *)(a1 + 13025) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source