// // LevelTools::getSongObject from 0x421678 to 0x4217b8 (320 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x49ed30 // > AudioAssetsPopup::init @ 0x7610e0 // // 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:48:01 +0000 // int __fastcall LevelTools::getSongObject(LevelTools *this, int a2) { int v3; // r1 int v4; // r11 int v5; // r10 int v7; // [sp+2Ch] [bp+0h] BYREF size_t v8; // [sp+30h] [bp+4h] const void *v9; // [sp+34h] [bp+8h] int v10; // [sp+38h] [bp+Ch] BYREF size_t v11; // [sp+3Ch] [bp+10h] const void *v12; // [sp+40h] [bp+14h] int v13; // [sp+44h] [bp+18h] BYREF size_t v14; // [sp+48h] [bp+1Ch] const void *v15; // [sp+4Ch] [bp+20h] int v16; // [sp+50h] [bp+24h] BYREF size_t v17; // [sp+54h] [bp+28h] const void *v18; // [sp+58h] [bp+2Ch] int v19[3]; // [sp+5Ch] [bp+30h] BYREF int v20[3]; // [sp+68h] [bp+3Ch] BYREF LevelTools::getAudioTitle((LevelTools *)&v7, (int)this); v4 = LevelTools::artistForAudio(this, v3); LevelTools::nameForArtist((LevelTools *)&v10, v4); v13 = 0; v14 = 0; v15 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init(&v13, v9, v8); } else { v13 = v7; v14 = v8; v15 = v9; } v16 = 0; v17 = 0; v18 = nullptr; if ( (v10 & 1) != 0 ) { std::string::__init(&v16, v12, v11); } else { v16 = v10; v17 = v11; v18 = v12; } memset(v19, 0, sizeof(v19)); std::string::__init(v19, &unk_B6B226, 0); memset(v20, 0, sizeof(v20)); std::string::__init(v20, &unk_B6B226, 0); v5 = SongInfoObject::create(this, &v13, &v16, v4, 0, v19, 0, v20, 0, 0, -1); std::string::~string((int)v20); std::string::~string((int)v19); std::string::~string((int)&v16); std::string::~string((int)&v13); std::string::~string((int)&v10); std::string::~string((int)&v7); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source