// // SongSelectNode::onSongMode from 0x97fac4 to 0x97fc4c (392 bytes) // // 2 xrefs: // > SongSelectNode::onSongMode @ 0x97fc7c // > @ 0x594e8 // // 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:57:50 +0000 // __int64 __fastcall SongSelectNode::onSongMode(SongSelectNode *this, int a2) { unsigned int v2; // w21 ButtonSprite *v4; // x0 ButtonSprite *v5; // x0 const char *v6; // x1 unsigned int v7; // w20 __int64 v8; // x0 bool v9; // cf unsigned int v10; // w1 unsigned int v11; // w20 __int64 v12; // x0 unsigned int v13; // w1 SongInfoObject *v14; // x0 CustomSongWidget *v15; // x20 SongInfoObject *v16; // x0 v2 = a2 == 2; if ( *((unsigned __int8 *)this + 348) == v2 ) { v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 1072LL))(*((_QWORD *)this + 48)); if ( v2 ) goto LABEL_4; LABEL_15: ButtonSprite::updateBGImage(v4, "GJ_button_01.png"); v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 49) + 1072LL))(*((_QWORD *)this + 49)); v6 = "GJ_button_04.png"; goto LABEL_5; } *((_BYTE *)this + 348) = v2; *((_DWORD *)this + 86) = 0; *((_BYTE *)this + 349) = 1; if ( a2 != 2 ) { SongSelectNode::updateAudioLabel(this); v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 1072LL))(*((_QWORD *)this + 48)); goto LABEL_15; } v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 1072LL))(*((_QWORD *)this + 48)); LABEL_4: ButtonSprite::updateBGImage(v4, "GJ_button_04.png"); v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 49) + 1072LL))(*((_QWORD *)this + 49)); v6 = "GJ_button_01.png"; LABEL_5: v7 = 0; ButtonSprite::updateBGImage(v5, v6); while ( 1 ) { v9 = v7 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 46)); v10 = v7++; if ( v9 ) break; v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 46), v10); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, v2 ^ 1); } v11 = 0; while ( 1 ) { v9 = v11 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 47)); v13 = v11++; if ( v9 ) break; v12 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 47), v13); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 344LL))(v12, v2); } v14 = nullptr; if ( *((_BYTE *)this + 348) ) v14 = (SongInfoObject *)*((unsigned int *)this + 86); v15 = *((CustomSongWidget **)this + 52); v16 = (SongInfoObject *)SongInfoObject::create(v14); CustomSongWidget::updateSongObject(v15, v16); return SongSelectNode::updateWidgetVisibility(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source