// // SongSelectNode::onSongMode from 0x57bab0 to 0x57bb84 (212 bytes) // // 1 xrefs: // > SongSelectNode::onSongMode @ 0x57bba8 // // 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:52:49 +0000 // int __fastcall SongSelectNode::onSongMode(SongSelectNode *this, int a2) { int v3; // r5 char *v4; // r0 const char *v5; // r1 char *v6; // r0 const char *v7; // r1 unsigned int i; // r6 int v9; // r0 unsigned int j; // r6 int v11; // r1 int v12; // r0 SongInfoObject *v13; // r0 CustomSongWidget *v14; // r5 SongInfoObject *v15; // r0 v3 = a2 == 2; if ( *((unsigned __int8 *)this + 280) != v3 ) { *((_BYTE *)this + 280) = v3; *((_DWORD *)this + 69) = 0; *((_BYTE *)this + 281) = 1; if ( a2 != 2 ) SongSelectNode::updateAudioLabel(this); } v4 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 75) + 536))(*((_DWORD *)this + 75)); if ( v3 ) v5 = "GJ_button_04.png"; else v5 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v4, v5); v6 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 76) + 536))(*((_DWORD *)this + 76)); if ( v3 ) v7 = "GJ_button_01.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); for ( i = 0; i < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 73)); ++i ) { v9 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 73), i); (*(void (__fastcall **)(int, int))(*(_DWORD *)v9 + 172))(v9, v3 ^ 1); } for ( j = 0; j < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 74)); ++j ) { v12 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 74), j); (*(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 172))(v12, v3); } v13 = (SongInfoObject *)*((unsigned __int8 *)this + 280); if ( *((_BYTE *)this + 280) ) v13 = *((SongInfoObject **)this + 69); v14 = *((CustomSongWidget **)this + 79); v15 = SongInfoObject::create(v13, v11); CustomSongWidget::updateSongObject(v14, v15); return SongSelectNode::updateWidgetVisibility(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source