// // MusicBrowser::setupSongControls from 0x6bd684 to 0x6bd7a4 (288 bytes) // // 1 xrefs: // > sub_6BEA10 @ 0x6bf82e // // 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:56:48 +0000 // int __fastcall MusicBrowser::setupSongControls(MusicBrowser *this) { int v2; // r0 int v3; // r8 void (__fastcall *v4)(int, _DWORD *); // r9 const char *v5; // r2 int v6; // r0 int v7; // r8 void (__fastcall *v8)(int, _DWORD *); // r9 const char *v9; // r1 int v10; // r7 int v11; // r0 _DWORD v13[2]; // [sp+14h] [bp+0h] BYREF v2 = Slider::create((int)this, (int)MusicBrowser::sliderChanged, 0, 0.7); *((_DWORD *)this + 159) = v2; *(_DWORD *)(v2 + 336) = (char *)this + 532; v3 = *((_DWORD *)this + 159); v4 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v3 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 0.0); v4(v3, v13); (*(void (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 115) + 232))( *((_DWORD *)this + 115), *((_DWORD *)this + 159), 20); v6 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"0/0", "chatFont.fnt", v5); *((_DWORD *)this + 160) = v6; (*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v6, 20); (*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 160) + 536))(*((_DWORD *)this + 160), &unk_BEFD44); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 160) + 512))(*((_DWORD *)this + 160), 150); v7 = *((_DWORD *)this + 160); v8 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v7 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 0.5); v8(v7, v13); v10 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_stopMusicBtn_001.png", v9); (*(void (__fastcall **)(int, int))(*(_DWORD *)v10 + 80))(v10, 1058642330); v13[0] = MusicBrowser::onPlaybackControl; v13[1] = 0; v11 = CCMenuItemSpriteExtra::create(v10, 0, (int)this, (int)MusicBrowser::onPlaybackControl, 0); *((_DWORD *)this + 161) = v11; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v11); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 161) + 36))(*((_DWORD *)this + 161), 0); return MusicBrowser::updateSongControlLayout((const cocos2d::CCPoint **)this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source