// // AudioAssetsBrowser::init from 0x140098f70 to 0x140099519 (1449 bytes) // // 2 xrefs: // > CustomSongWidget::onInfo @ 0x14016b0d5 // > @ 0x140912d88 // // 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:26:04 +0000 // // Hidden C++ exception states: #wind=1 bool __fastcall AudioAssetsBrowser::init(__int64 a1, __int64 a2, __int64 a3) { bool result; // al __int64 v7; // rcx __int64 v8; // rax __int64 v9; // rax __int64 *v10; // rdi __int64 v11; // rdx void (__fastcall *v12)(__int64 *, __int64); // r8 __int64 v13; // rbx __int64 v14; // rax __int64 v15; // rbx __int64 v16; // rax struct cocos2d::CCLabelBMFont *v17; // rdi __int64 v18; // rbx __int64 v19; // rax __int64 v20; // rax int v21; // eax cocos2d::CCObject *v22; // rsi __int64 v23; // rdi __int64 v24; // rbx __int64 v25; // rax __int64 v26; // rax struct cocos2d::CCSprite *v27; // rdi struct cocos2d::CCSprite *v28; // rsi __int64 v29; // rax __int64 v30; // rbx __int64 v31; // rax struct cocos2d::CCLabelBMFont *v32; // rax __int64 v33; // rdi __int64 v34; // rbx __int64 v35; // rax __int64 v36; // rdi __int64 v37; // rbx __int64 v38; // rax struct cocos2d::CCSprite *v39; // rax cocos2d::CCObject *v40; // rsi __int64 v41; // rdi __int64 v42; // rbx __int64 v43; // rax __int64 v44; // rax cocos2d::CCSprite *v45; // rax __int64 v46; // rdi __int64 v47; // rbx __int64 v48; // rax __int64 v49; // rcx _BYTE v50[8]; // [rsp+30h] [rbp-50h] BYREF void *v51; // [rsp+38h] [rbp-48h] BYREF _BYTE v52[16]; // [rsp+40h] [rbp-40h] BYREF float v53; // [rsp+B8h] [rbp+38h] BYREF float v54; // [rsp+BCh] [rbp+3Ch] result = FLAlertLayer::init_1(a1, 150); if ( result ) { *(_BYTE *)(a1 + 596) = 1; sub_140099FC0(a1 + 704, a2); sub_140099FC0(a1 + 728, a3); v8 = cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8, &v53); v9 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v52, 0.0, 0.0, 80.0, 80.0); v10 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("GJ_square02.png", v9); v11 = v10[40]; v12 = *(void (__fastcall **)(__int64 *, __int64))(v11 + 40); LOBYTE(v11) = -1; v12(v10 + 40, v11); v13 = *v10; cocos2d::CCSize::CCSize((cocos2d::CCSize *)v50, 440.0, 290.0); (*(void (__fastcall **)(__int64 *, __int64))(v13 + 312))(v10, v14); (*(void (__fastcall **)(_QWORD, __int64 *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v10, 0xFFFFFFFFLL); v15 = *v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, v53 * 0.5, v54 * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v15 + 184))(v10, v16); v17 = cocos2d::CCLabelBMFont::create("Audio Assets", "goldFont.fnt"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v17, 10); v18 = *(_QWORD *)v17; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v50, v53 * 0.5, (float)((float)(v54 * 0.5) + 145.0) - 20.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v18 + 184))(v17, v19); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v17 + 160LL))(v17); v20 = cocos2d::CCMenu::create(); *(_QWORD *)(a1 + 552) = v20; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v20, 10); *(_DWORD *)(a1 + 640) = -1; v21 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png"); v22 = CCMenuItemSpriteExtra::create(v21, 0, a1, (__int64)PagedListPopup::onClose); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v22); *((_DWORD *)v22 + 93) = 1070386381; v23 = *(_QWORD *)v22; v24 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v50, (float)((float)(v53 * 0.5) - 220.0) + 10.0, (float)((float)(v54 * 0.5) + 145.0) - 10.0); cocos2d::CCNode::convertToNodeSpace(v24, &v51, v25); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v23 + 184))(v22, v26); v27 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v27 + 160LL))(v27); v28 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v27 + 456LL))( v27, v28, 0xFFFFFFFFLL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v51, 15.0, 0.0); v30 = v29; cocos2d::CCNode::convertToNodeSpace(v27, v52, &unk_140909F88); cocos2d::CCPoint::operator+(v31, v50, v30); (*(void (__fastcall **)(struct cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v28 + 184LL))(v28, v50); v32 = cocos2d::CCLabelBMFont::create(" ", "goldFont.fnt"); *(_QWORD *)(a1 + 696) = v32; (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v32, 10); v33 = **(_QWORD **)(a1 + 696); v34 = *(_QWORD *)(a1 + 696); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v52, (float)((float)(v53 * 0.5) + 220.0) - 50.0, (float)((float)(v54 * 0.5) + 145.0) - 8.0); (*(void (__fastcall **)(__int64, __int64))(v33 + 184))(v34, v35); v36 = **(_QWORD **)(a1 + 696); v37 = *(_QWORD *)(a1 + 696); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, 1.0, 1.0); (*(void (__fastcall **)(__int64, __int64))(v36 + 288))(v37, v38); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 696) + 160LL))(*(_QWORD *)(a1 + 696)); v39 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png"); LODWORD(v37) = (_DWORD)v39; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v39 + 160LL))(v39); v40 = CCMenuItemSpriteExtra::create(v37, 0, a1, (__int64)AudioAssetsBrowser::onInfo); *((_DWORD *)v40 + 93) = 1067030938; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v40); v41 = *(_QWORD *)v40; v42 = *(_QWORD *)(a1 + 552); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v52, (float)((float)(v53 * 0.5) + 220.0) - 14.0, (float)((float)((float)(v54 * 0.5) + 145.0) - 14.0) - 1.0); cocos2d::CCNode::convertToNodeSpace(v42, &v51, v43); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v41 + 184))(v40, v44); v45 = LoadingCircleSprite::create(1.0); *(_QWORD *)(a1 + 752) = v45; (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v45); v46 = **(_QWORD **)(a1 + 752); v47 = *(_QWORD *)(a1 + 752); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, v53 * 0.5, v54 * 0.5); (*(void (__fastcall **)(__int64, __int64))(v46 + 184))(v47, v48); v49 = qword_14090C070; if ( !qword_14090C070 ) { v51 = operator new(0x3D0u); qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v51); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070); v49 = qword_14090C070; } MusicDownloadManager::addMusicDownloadDelegate(v49, a1 + 672); AudioAssetsBrowser::setupList(a1); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source