// // MusicBrowser::updateSongControlLayout from 0xb83cb8 to 0xb83fac (756 bytes) // // 4 xrefs: // > MusicBrowser::setupSongControls @ 0xb8416c // > MusicBrowser::onToggleSearch @ 0xb8584c // > MusicBrowser::setupMusicBrowser @ 0xb85cc0 // > @ 0x7ca68 // // 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::updateSongControlLayout(MusicBrowser *this) { cocos2d::CCDirector *v2; // x0 __int64 v3; // x0 float v4; // s1 __int64 v5; // x24 cocos2d::CCNode *v6; // x26 void (__fastcall *v7)(__int64, __int64 *); // x25 __int64 v8; // x24 void (__fastcall *v9)(__int64, __int64 *); // x25 __int64 v11; // x22 float v12; // s8 cocos2d::CCNode *v13; // x24 void (__fastcall *v14)(__int64, __int64 *); // x23 float v15; // s0 __int64 v16; // x22 void (__fastcall *v17)(__int64, __int64 *); // x23 __int64 v18; // x22 void (__fastcall *v19)(__int64, __int64 *); // x23 float v20; // [xsp+70h] [xbp+70h] __int64 v21; // [xsp+80h] [xbp+80h] BYREF _BYTE v22[8]; // [xsp+88h] [xbp+88h] BYREF _BYTE v23[8]; // [xsp+90h] [xbp+90h] BYREF __int64 v24; // [xsp+98h] [xbp+98h] BYREF __int64 v25; // [xsp+A0h] [xbp+A0h] BYREF v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v21, v2); v3 = *((_QWORD *)this + 101); v4 = (float)((float)(*((float *)&v21 + 1) * 0.5) + 145.0) - 24.0; if ( v3 ) { v20 = (float)((float)(*((float *)&v21 + 1) * 0.5) + 145.0) - 24.0; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, *((unsigned __int8 *)this + 800) ^ 1u); v4 = v20; } if ( *((_BYTE *)this + 800) ) { v11 = *((_QWORD *)this + 113); v12 = v4 - 5.0; v13 = *((cocos2d::CCNode **)this + 69); v14 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v11 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, (float)(*(float *)&v21 * 0.5) + 37.0, v4 - 5.0); cocos2d::CCNode::convertToNodeSpace(&v25, v13, (const cocos2d::CCPoint *)&v24); v14(v11, &v25); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 113) + 160LL))(*((_QWORD *)this + 113), 0.8); v15 = (float)(*(float *)&v21 * 0.5) + 110.0; *(_DWORD *)(*((_QWORD *)this + 113) + 404LL) = 1061997773; v16 = *((_QWORD *)this + 111); v17 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, v15, v12); v17(v16, &v25); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 111) + 160LL))(*((_QWORD *)this + 111), 0.72); v18 = *((_QWORD *)this + 112); v19 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v18 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, (float)(*(float *)&v21 * 0.5) + 170.0, v12); v19(v18, &v25); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 112) + 160LL))(*((_QWORD *)this + 112), 0.5); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, (float)(*(float *)&v21 * 0.5) + -50.0, v4); v5 = *((_QWORD *)this + 113); v6 = *((cocos2d::CCNode **)this + 69); v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, -100.0, 0.0); cocos2d::CCPoint::operator+(&v24, v22); cocos2d::CCNode::convertToNodeSpace(&v25, v6, (const cocos2d::CCPoint *)&v24); v7(v5, &v25); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 113) + 160LL))(*((_QWORD *)this + 113), 1.0); *(float *)(*((_QWORD *)this + 113) + 404LL) = 1.0; (*(void (__fastcall **)(_QWORD, _BYTE *))(**((_QWORD **)this + 111) + 184LL))(*((_QWORD *)this + 111), v22); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 111) + 160LL))(*((_QWORD *)this + 111), 1.0); v8 = *((_QWORD *)this + 112); v9 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, 80.0, 0.0); cocos2d::CCPoint::operator+(&v25, v22); v9(v8, &v25); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 112) + 160LL))(*((_QWORD *)this + 112), 0.6); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source