// // MusicDownloadManager::getCustomSFXRoot from 0x1001d631c to 0x1001d63fc (224 bytes) // // 12 xrefs: // > MusicDownloadManager::createCustomSFXFolder @ 0x1001d698c // > MusicDownloadManager::createCustomSFXPlacement @ 0x1001d6ba0 // > MusicDownloadManager::getCustomSFXLocationText @ 0x1001d75d8 // > MusicDownloadManager::importCustomSFXSetup @ 0x1001d810c // > sub_1001D852C @ 0x1001d855c // > MusicDownloadManager::decodeCustomSFX @ 0x1001d9afc // > sub_1001F489C @ 0x1001f492c // > sub_1001F489C @ 0x1001f4b94 // > sub_1001F489C @ 0x1001f4cb8 // > sub_1001F6604 @ 0x1001f66e8 // > sub_1001F6DF0 @ 0x1001f6ee4 // > sub_100528E64 @ 0x100528f28 // // 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 11:00:25 +0000 // __int64 __fastcall MusicDownloadManager::getCustomSFXRoot(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 int v4; // w20 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v7; // [xsp+1Fh] [xbp-11h] if ( !*(_QWORD *)(a1 + 824) ) { v2 = cocos2d::CCDictionary::create(a1); *(_QWORD *)(a1 + 824) = v2; cocos2d::CCObject::retain(v2); sub_100009900(__p, "Custom"); v3 = sub_1001D6418(1, __p, 0); if ( v7 < 0 ) operator delete(__p[0]); *(_DWORD *)(v3 + 76) = 1; cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 824), v3, 1); if ( *(int *)(a1 + 832) <= 2 ) { v4 = rand(); *(_DWORD *)(a1 + 832) = (rand() | (v4 << 15)) % 7900000 + 100000; } } return cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 824), 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source