// // sub_1001D99C8 from 0x1001d99c8 to 0x1001d9a2c (100 bytes) // // 2 xrefs: // > MusicDownloadManager::decodeCustomSFX @ 0x1001d9b40 // > sub_1001DF084 @ 0x1001df91c // // 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:26 +0000 // double __fastcall sub_1001D99C8(__int64 a1) { __int64 v1; // x8 __int64 v2; // x20 __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x0 double result; // d0 v1 = *(_QWORD *)(a1 + 824); if ( v1 ) { v2 = *(_QWORD *)(v1 + 56); while ( v2 ) { v4 = *(_QWORD *)(v2 + 264); v2 = *(_QWORD *)(v2 + 288); if ( (*(_BYTE *)(v4 + 72) & 1) == 0 ) { v5 = *(_QWORD *)(a1 + 400); if ( v5 ) { v6 = cocos2d::CCDictionary::objectForKey_1(v5, *(int *)(v4 + 56)); if ( v6 ) { result = *(double *)(v6 + 64); *(double *)(v4 + 64) = result; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source