// // GJGameLevel::getSongName from 0x83bca8 to 0x83be00 (344 bytes) // // 4 xrefs: // > LevelCell::loadLocalLevelCell @ 0x73cf50 // > LevelCell::loadCustomLevelCell @ 0x74607c // > EditLevelLayer::setupLevelInfo @ 0x7efa4c // > @ 0xbedb0 // // 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 12:55:14 +0000 // __int64 *__usercall GJGameLevel::getSongName@(__int64 *__return_ptr a1@, GJGameLevel *this@) { int v4; // w1 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x1 char v9; // w1 __int64 *v10; // x2 __int64 v11; // x0 __int64 v12; // x1 __int64 v13; // [xsp+38h] [xbp+38h] BYREF __int64 v14; // [xsp+40h] [xbp+40h] void *v15; // [xsp+48h] [xbp+48h] __int64 v16; // [xsp+50h] [xbp+50h] BYREF __int64 v17; // [xsp+58h] [xbp+58h] void *v18; // [xsp+60h] [xbp+60h] if ( *((_DWORD *)this + 152) ) { v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, &byte_11B8890, 0); v5 = SongInfoObject::create((SongInfoObject *)*((unsigned int *)this + 152), v4); if ( v5 && !*(_BYTE *)(v5 + 432) ) { v9 = *(_BYTE *)(v5 + 320); v10 = (__int64 *)(v5 + 320); v16 = 0; v17 = 0; v18 = nullptr; if ( (v9 & 1) != 0 ) { std::string::__init(&v16, *(void **)(v5 + 336), *(_QWORD *)(v5 + 328)); } else { v11 = *v10; v12 = v10[1]; v18 = (void *)v10[2]; v16 = v11; v17 = v12; } if ( (v13 & 1) != 0 ) { *(_BYTE *)v15 = 0; v14 = 0; } else { LOWORD(v13) = 0; } std::string::reserve(&v13, 0); v15 = v18; v13 = v16; v14 = v17; } else { std::string::assign(&v13, "Unknown"); } v6 = v13; v7 = v14; a1[2] = (__int64)v15; *a1 = v6; a1[1] = v7; } else { LevelTools::getAudioTitle((LevelTools *)*((unsigned int *)this + 151), a1); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source