// // GJGameLevel::getSongName from 0x1000acd08 to 0x1000acdd0 (200 bytes) // // 3 xrefs: // > EditLevelLayer::setupLevelInfo @ 0x1000ea938 // > LevelCell::loadLocalLevelCell @ 0x10010c744 // > LevelCell::loadCustomLevelCell @ 0x10010d710 // // 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 // double __usercall GJGameLevel::getSongName@(__int64 a1@, __int64 a2@) { SongInfoObject *v4; // x0 double result; // d0 __int128 v6; // [xsp+0h] [xbp-30h] BYREF char *longStorage; // [xsp+10h] [xbp-20h] if ( *(_DWORD *)(a1 + 600) ) { sub_100009900((_QWORD *)a2, ""); v4 = SongInfoObject::create_1(*(_DWORD *)(a1 + 600)); if ( v4 && !v4->m_unloaded ) { if ( v4->m_songName.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0(&v6, (void *)v4->m_songName.m_data.m_long.capacitym1, v4->m_songName.m_data.m_long.size); } else { v6 = *(_OWORD *)&v4->m_songName.m_data.m_short.sizex2; longStorage = v4->m_songName.m_data.m_long.longStorage; } if ( *(char *)(a2 + 23) < 0 ) operator delete(*(void **)a2); result = *(double *)&v6; *(_OWORD *)a2 = v6; *(_QWORD *)(a2 + 16) = longStorage; } else { std::string::assign((std::string *)a2, "Unknown"); } } else { LevelTools::getAudioTitle((_QWORD *)a2, *(unsigned int *)(a1 + 596)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source