// // MusicBrowser::setupSongControls from 0xb83fd4 to 0xb84198 (452 bytes) // // 2 xrefs: // > sub_B85DD0 @ 0xb86f68 // > @ 0x9ce98 // // 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 13:02:29 +0000 // __int64 __fastcall MusicBrowser::setupSongControls(MusicBrowser *this) { __int64 v2; // x0 __int64 v3; // x22 void (__fastcall *v4)(__int64, _BYTE *); // x23 const char *v5; // x2 __int64 v6; // x0 __int64 v7; // x22 void (__fastcall *v8)(__int64, _BYTE *); // x23 const char *v9; // x1 __int64 v10; // x20 __int64 v11; // x0 _BYTE v13[8]; // [xsp+40h] [xbp+40h] BYREF v2 = Slider::create((int)this, (int)MusicBrowser::sliderChanged, 0, 0.7); *((_QWORD *)this + 111) = v2; *(_QWORD *)(v2 + 440) = (char *)this + 688; v3 = *((_QWORD *)this + 111); v4 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v3 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 0.0, 0.0); v4(v3, v13); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 111), 20); v6 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"0/0", "chatFont.fnt", v5); *((_QWORD *)this + 112) = v6; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v6, 20); (*(void (__fastcall **)(_QWORD, void *))(**((_QWORD **)this + 112) + 1072LL))(*((_QWORD *)this + 112), &unk_11940B0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 112) + 1024LL))(*((_QWORD *)this + 112), 4294967190LL); v7 = *((_QWORD *)this + 112); v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 296LL); 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 **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, 0.6); v11 = CCMenuItemSpriteExtra::create(v10, 0, (__int64)this, (__int64)MusicBrowser::onPlaybackControl, 0); *((_QWORD *)this + 113) = v11; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v11); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 113) + 72LL))(*((_QWORD *)this + 113), 0); MusicBrowser::updateSongControlLayout(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source