// // sub_1000CDF34 from 0x1000cdf34 to 0x1000ce02c (248 bytes) // // 1 xrefs: // > MusicDownloadManager::clearUnusedSongs @ 0x1001d4cb0 // // 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 10:58:52 +0000 // __int64 __fastcall sub_1000CDF34(__int64 a1) { __int64 v2; // x0 __int64 v3; // x19 __int64 v4; // x8 __int64 i; // x20 __int64 v6; // x21 __int64 v7; // x1 __int64 v8; // x0 __int64 v9; // x20 __int64 v10; // x21 __int64 v11; // x0 __int64 v12; // x22 __int64 v13; // x1 __int64 v14; // x0 v2 = cocos2d::CCDictionary::create(a1); v3 = v2; v4 = *(_QWORD *)(a1 + 760); if ( v4 ) { for ( i = *(_QWORD *)(v4 + 56); i; v2 = cocos2d::CCDictionary::setObject_1(v3, v8, *(int *)(v6 + 608)) ) { while ( 1 ) { v6 = *(_QWORD *)(i + 264); i = *(_QWORD *)(i + 288); if ( (*(_BYTE *)(v6 + 1105) & 1) == 0 ) { v7 = *(unsigned int *)(v6 + 608); if ( (int)v7 >= 1 ) { v2 = cocos2d::CCDictionary::objectForKey_1(v3, v7); if ( !v2 ) break; } } if ( !i ) goto LABEL_9; } v8 = cocos2d::CCNode::create(0); } } LABEL_9: v9 = *(_QWORD *)(LocalLevelManager::sharedState(v2) + 360); if ( (unsigned int)sub_1002E757C(v9) ) { v10 = 0; do { v11 = sub_1002E75A0(v9, v10); if ( (*(_BYTE *)(v11 + 1105) & 1) == 0 ) { v12 = v11; v13 = *(unsigned int *)(v11 + 608); if ( (int)v13 >= 1 && !cocos2d::CCDictionary::objectForKey_1(v3, v13) ) { v14 = cocos2d::CCNode::create(0); cocos2d::CCDictionary::setObject_1(v3, v14, *(int *)(v12 + 608)); } } v10 = (unsigned int)(v10 + 1); } while ( (unsigned int)v10 < (unsigned int)sub_1002E757C(v9) ); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source