// // MusicDownloadManager::renameCustomSFXObject from 0x56e7e8 to 0x56e8ac (196 bytes) // // 1 xrefs: // > SFXBrowser::setTextPopupClosed @ 0x6c4482 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:35 +0000 // int __fastcall MusicDownloadManager::renameCustomSFXObject( MusicDownloadManager *a1, int a2, unsigned __int8 *a3, int a4) { int CustomSFXObject; // r6 int v6; // r0 int v7; // r1 unsigned __int8 *v8; // r2 int result; // r0 int v10; // r3 int v12; // r1 unsigned __int8 *v13; // r2 MusicDownloadManager *v14; // [sp+0h] [bp-10h] BYREF int v15; // [sp+4h] [bp-Ch] unsigned __int8 *v16; // [sp+8h] [bp-8h] int v17; // [sp+Ch] [bp-4h] v14 = a1; v15 = a2; v16 = a3; v17 = a4; CustomSFXObject = MusicDownloadManager::getCustomSFXObject(a1, a2); sub_56D02C((int *)&v14, a3); if ( (*a3 & 1) != 0 ) { **((_BYTE **)a3 + 2) = 0; *((_DWORD *)a3 + 1) = 0; } else { a3[1] = 0; *a3 = 0; } std::string::reserve((int *)a3, 0); v6 = (int)v14; v7 = v15; v8 = v16; v14 = nullptr; v15 = 0; v16 = nullptr; *(_DWORD *)a3 = v6; *((_DWORD *)a3 + 1) = v7; *((_DWORD *)a3 + 2) = v8; result = std::string::~string((int)&v14); if ( CustomSFXObject ) { v10 = *a3; if ( (v10 & 1) != 0 ? *((_DWORD *)a3 + 1) : v10 >> 1 ) { std::string::operator=((unsigned __int8 *)(CustomSFXObject + 76), a3); GameToolbox::lowercaseASCII((int *)&v14, (int)a3); if ( (*(_BYTE *)(CustomSFXObject + 88) & 1) != 0 ) { **(_BYTE **)(CustomSFXObject + 96) = 0; *(_DWORD *)(CustomSFXObject + 92) = 0; } else { *(_BYTE *)(CustomSFXObject + 89) = 0; *(_BYTE *)(CustomSFXObject + 88) = 0; } std::string::reserve((int *)(CustomSFXObject + 88), 0); v12 = v15; v13 = v16; *(_DWORD *)(CustomSFXObject + 88) = v14; *(_DWORD *)(CustomSFXObject + 92) = v12; *(_DWORD *)(CustomSFXObject + 96) = v13; v14 = nullptr; v15 = 0; v16 = nullptr; return std::string::~string((int)&v14); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source