// // cocos2d::ZipUtils::urlDecode from 0x5efc14 to 0x5efca0 (140 bytes) // // 6 xrefs: // > SongInfoObject::create @ 0x45c2b0 // > SongInfoObject::create @ 0x45c2de // > MusicDownloadManager::parseMusicLibrary @ 0x45cf24 // > MusicDownloadManager::parseMusicLibrary @ 0x45cf50 // > MusicDownloadManager::parseMusicLibrary @ 0x45d12e // > MusicDownloadManager::parseMusicLibrary @ 0x45d15c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall cocos2d::ZipUtils::urlDecode(int a1, _DWORD *a2) { unsigned int v4; // r4 int v5; // r0 int v7; // [sp+4h] [bp-C0h] BYREF _BYTE v8[4]; // [sp+8h] [bp-BCh] BYREF _BYTE v9[176]; // [sp+Ch] [bp-B8h] BYREF v4 = 0; sub_75E1D0(v8, 16); while ( v4 < *(_DWORD *)(*a2 - 12) ) { if ( *(_BYTE *)sub_774368(a2, v4) == 37 ) { sub_776158(&v7, a2, v4 + 1, 2); v5 = cocos2d::ZipUtils::hexToChar(&v7); v4 += 2; sub_75999C(v8, v5); sub_774008(&v7); } else { sub_759984(v8); } ++v4; } sub_75D698(a1, v9); sub_75C588(v8); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source