// // GameLevelManager::getAllUsedSongIDs from 0x1005825c0 to 0x1005826c6 (262 bytes) // // 1 xrefs: // > MusicDownloadManager::clearUnusedSongs @ 0x10064ebd9 // // 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 12:32:20 +0000 // _QWORD *__fastcall GameLevelManager::getAllUsedSongIDs(__int64 a1, double a2) { _QWORD *v2; // rbx __int64 v3; // rax __int64 v4; // r14 __int64 v5; // r15 __int64 v6; // rsi void *v7; // rax __int64 v8; // r14 unsigned int v9; // r15d __int64 v10; // rax __int64 v11; // r12 __int64 v12; // rsi void *v13; // rax v2 = cocos2d::CCDictionary::create(); v3 = *(_QWORD *)(a1 + 760); if ( v3 ) { v4 = *(_QWORD *)(v3 + 56); while ( v4 ) { v5 = *(_QWORD *)(v4 + 264); v4 = *(_QWORD *)(v4 + 288); if ( !*(_BYTE *)(v5 + 1105) ) { v6 = *(int *)(v5 + 608); if ( v6 > 0 && !cocos2d::CCDictionary::objectForKey_1((__int64)v2, v6) ) { v7 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject_1((__int64)v2, (__int64)v7, *(int *)(v5 + 608)); } } } } v8 = *(_QWORD *)(LocalLevelManager::sharedState(a2) + 360); if ( (unsigned int)sub_1007FEF90(v8) ) { v9 = 0; do { v10 = sub_1007FEFE0(v8, v9); if ( !*(_BYTE *)(v10 + 1105) ) { v11 = v10; v12 = *(int *)(v10 + 608); if ( v12 > 0 && !cocos2d::CCDictionary::objectForKey_1((__int64)v2, v12) ) { v13 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject_1((__int64)v2, (__int64)v13, *(int *)(v11 + 608)); } } ++v9; } while ( v9 < (unsigned int)sub_1007FEF90(v8) ); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source