// // MusicBrowser::setupSongControls from 0x14047be00 to 0x14047c0fd (765 bytes) // // 6 xrefs: // > MusicBrowser::init @ 0x14047b9ef // > MusicBrowser::setupMusicBrowser @ 0x14047c79d // > MusicBrowser::onToggleSearch @ 0x14047d612 // > @ 0x1408cf3b4 // > @ 0x1408cf3c4 // > @ 0x1409285e0 // // This function is hookable on this platform (idp: pc, 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 11:32:43 +0000 // __int64 __fastcall MusicBrowser::setupSongControls(__int64 a1) { __int64 v2; // rax __int64 v3; // rdx __int64 v4; // rcx float v5; // xmm6_4 float v6; // xmm1_4 float v7; // xmm6_4 __int64 v8; // rbx __int64 *v9; // rsi __int64 v10; // rdi __int64 v11; // rax __int64 v12; // rax __int64 *v13; // rdi __int64 v14; // rbx __int64 v15; // rax __int64 *v16; // rdi __int64 v17; // rbx __int64 v18; // rax __int64 v20; // rax __int64 *v21; // rdi __int64 v22; // rbx __int64 v23; // rax __int64 v24; // rax _BYTE v25[16]; // [rsp+20h] [rbp-58h] BYREF float v26; // [rsp+80h] [rbp+8h] BYREF float v27; // [rsp+84h] [rbp+Ch] char v28; // [rsp+88h] [rbp+10h] BYREF char v29; // [rsp+90h] [rbp+18h] BYREF char v30; // [rsp+98h] [rbp+20h] BYREF v2 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v2, &v26); v4 = *(_QWORD *)(a1 + 808); v5 = (float)((float)(v27 * 0.5) + 145.0) - 24.0; if ( v4 ) { LOBYTE(v3) = *(_BYTE *)(a1 + 800) == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 336LL))(v4, v3); } v6 = v26 * 0.5; if ( *(_BYTE *)(a1 + 800) ) { v7 = v5 - 5.0; v8 = *(_QWORD *)(a1 + 552); v9 = *(__int64 **)(a1 + 904); v10 = *v9; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v6 + 37.0, v7); cocos2d::CCNode::convertToNodeSpace(v8, &v29, v11); (*(void (__fastcall **)(__int64 *, __int64))(v10 + 184))(v9, v12); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 904) + 160LL))(*(_QWORD *)(a1 + 904)); *(_DWORD *)(*(_QWORD *)(a1 + 904) + 404LL) = 1061997773; v13 = *(__int64 **)(a1 + 888); v14 = *v13; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, (float)(v26 * 0.5) + 110.0, v7); (*(void (__fastcall **)(__int64 *, __int64))(v14 + 184))(v13, v15); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 888) + 160LL))(*(_QWORD *)(a1 + 888)); v16 = *(__int64 **)(a1 + 896); v17 = *v16; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, (float)(v26 * 0.5) + 170.0, v7); (*(void (__fastcall **)(__int64 *, __int64))(v17 + 184))(v16, v18); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 896) + 160LL))(*(_QWORD *)(a1 + 896)); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v6 - 50.0, v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, -100.0, 0.0); cocos2d::CCPoint::operator+(&v28, &v29, v20); v21 = *(__int64 **)(a1 + 904); v22 = *v21; cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v25, &v29); (*(void (__fastcall **)(__int64 *, __int64))(v22 + 184))(v21, v23); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 904) + 160LL))(*(_QWORD *)(a1 + 904)); *(_DWORD *)(*(_QWORD *)(a1 + 904) + 404LL) = 1065353216; (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 888) + 184LL))(*(_QWORD *)(a1 + 888), &v28); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 888) + 160LL))(*(_QWORD *)(a1 + 888)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, 80.0, 0.0); cocos2d::CCPoint::operator+(&v28, &v29, v24); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 896) + 184LL))(*(_QWORD *)(a1 + 896), &v29); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 896) + 160LL))(*(_QWORD *)(a1 + 896)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source