// // SongSelectNode::onSongMode from 0x1001c61fc to 0x1001c635c (352 bytes) // // 4 xrefs: // > SongSelectNode::init @ 0x1001c5fd0 // > SongSelectNode::onSongMode_1 @ 0x1001c619c // > SongSelectNode::customSongLayerClosed @ 0x1001c6488 // > sub_1001C648C @ 0x1001c64bc // // 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 SongSelectNode::onSongMode(__int64 a1, int a2) { int v4; // w8 __int64 v5; // x0 const char *v6; // x1 const char *v7; // x21 __int64 v8; // x0 __int64 v9; // x21 __int64 v10; // x0 __int64 v11; // x21 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x20 __int64 v15; // x0 v4 = a2 == 2; if ( *(unsigned __int8 *)(a1 + 348) != v4 ) { *(_BYTE *)(a1 + 348) = v4; *(_DWORD *)(a1 + 344) = 0; *(_BYTE *)(a1 + 349) = 1; if ( a2 != 2 ) SongSelectNode::updateAudioLabel(a1); } v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 384) + 1072LL))(*(_QWORD *)(a1 + 384)); if ( a2 == 2 ) v6 = "GJ_button_04.png"; else v6 = "GJ_button_01.png"; if ( a2 == 2 ) v7 = "GJ_button_01.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, (__int64)v6); v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 392) + 1072LL))(*(_QWORD *)(a1 + 392)); ButtonSprite::updateBGImage(v8, (__int64)v7); if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 368)) ) { v9 = 0; do { v10 = sub_1002E75A0(*(_QWORD *)(a1 + 368), v9); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 344LL))(v10, a2 != 2); v9 = (unsigned int)(v9 + 1); } while ( (unsigned int)v9 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 368)) ); } if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 376)) ) { v11 = 0; do { v12 = sub_1002E75A0(*(_QWORD *)(a1 + 376), v11); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v12 + 344LL))(v12, a2 == 2); v11 = (unsigned int)(v11 + 1); } while ( (unsigned int)v11 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 376)) ); } if ( (*(_BYTE *)(a1 + 348) & 1) != 0 ) v13 = *(unsigned int *)(a1 + 344); else v13 = 0; v14 = *(_QWORD *)(a1 + 416); v15 = SongInfoObject::create_1(v13); CustomSongWidget::updateSongObject(v14, v15); return SongSelectNode::updateWidgetVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source