// // GJGameLevel::getAudioFileName from 0x4b0290 to 0x4b0314 (132 bytes) // // 11 xrefs: // > PlayLayer::prepareMusic @ 0x402d94 // > PlayLayer::setupHasCompleted @ 0x40a1e6 // > LevelInfoLayer::playStep2 @ 0x49a312 // > LevelInfoLayer::onEdit @ 0x49b1b6 // > EditLevelLayer::playStep2 @ 0x49f6ba // > EditLevelLayer::onEdit @ 0x4a04aa // > EditorPauseLayer::playStep2 @ 0x509222 // > LevelPage::playStep2 @ 0x51364e // > SongSelectNode::getSongFileName @ 0x57de6e // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x5b2f10 // > GJWorldNode::playStep2 @ 0x62d466 // // 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:50:02 +0000 // GJGameLevel *__fastcall GJGameLevel::getAudioFileName(GJGameLevel *this, int a2) { char *v3; // r7 int v4; // r0 bool v5; // nf size_t v6; // r0 char v8; // [sp+0h] [bp-14h] BYREF char v9; // [sp+1h] [bp-13h] BYREF char *v10; // [sp+8h] [bp-Ch] v3 = (char *)a2; if ( *(_DWORD *)(a2 + 436) ) { v4 = MusicDownloadManager::sharedState(this); MusicDownloadManager::pathForSong((MusicDownloadManager *)&v8, v4); v5 = (v8 & 1) != 0; if ( (v8 & 1) == 0 ) v3 = &v9; *(_DWORD *)this = 0; if ( v5 ) v3 = v10; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v6 = strlen(v3); std::string::__init((int *)this, v3, v6); std::string::~string((int)&v8); } else { LevelTools::getAudioFileName(this, *(_DWORD *)(a2 + 432)); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source