// // sub_1001C61A0 from 0x1001c61a0 to 0x1001c61fc (92 bytes) // // 1 xrefs: // > SongSelectNode::init @ 0x1001c5dec // // 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 11:00:17 +0000 // __int64 __fastcall sub_1001C61A0(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 char *v4; // x0 __int64 v6; // x0 v2 = GameManager::sharedState(a1); GameManager::getGameVariable(v2, "0016"); if ( (v3 & 1) != 0 ) { v4 = CustomSongLayer::create(a1 + 336); *((_QWORD *)v4 + 88) = a1 + 328; return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4); } else { v6 = MusicDownloadManager::sharedState(v3); return MusicDownloadManager::showTOS(v6, a1 + 320); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source