// // AudioAssetsBrowser::onInfo from 0xbc1f38 to 0xbc2634 (1788 bytes) // // 3 xrefs: // > @ 0xf1d98 // > AudioAssetsBrowser::init @ 0xbc2a58 // > @ 0x1547508 // // 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:03:30 +0000 // __int64 __fastcall AudioAssetsBrowser::onInfo(AudioAssetsBrowser *this, cocos2d::CCObject *a2) { unsigned __int64 v3; // x0 unsigned int *v4; // x27 unsigned int *i; // x19 unsigned int v6; // w20 MusicDownloadManager *v7; // x0 size_t v8; // x1 char *v9; // x1 size_t v10; // x2 MusicDownloadManager *v11; // x0 unsigned int *v12; // x27 unsigned int *j; // x19 unsigned int v14; // w20 MusicDownloadManager *v15; // x0 size_t v16; // x1 char *v17; // x1 size_t v18; // x2 size_t v19; // x1 unsigned __int8 v20; // w0 unsigned __int8 v21; // w0 unsigned __int8 v22; // w0 size_t v23; // x0 __int64 v24; // x19 size_t v26; // x1 char *v27; // x1 size_t v28; // x2 size_t v29; // x1 char *v30; // x1 size_t v31; // x2 size_t v32; // x2 char *v33; // x1 size_t v34; // x2 char *v35; // x1 size_t v36; // x2 char *v37; // x1 size_t v38; // x2 char *v39; // x1 __int64 v41; // [xsp+78h] [xbp+78h] BYREF size_t v42; // [xsp+80h] [xbp+80h] void *v43; // [xsp+88h] [xbp+88h] __int64 v44; // [xsp+90h] [xbp+90h] BYREF size_t v45; // [xsp+98h] [xbp+98h] void *v46; // [xsp+A0h] [xbp+A0h] __int64 v47; // [xsp+A8h] [xbp+A8h] BYREF size_t v48; // [xsp+B0h] [xbp+B0h] void *v49; // [xsp+B8h] [xbp+B8h] __int64 v50; // [xsp+C0h] [xbp+C0h] BYREF size_t v51; // [xsp+C8h] [xbp+C8h] void *v52; // [xsp+D0h] [xbp+D0h] unsigned __int64 v53[2]; // [xsp+D8h] [xbp+D8h] BYREF void *v54; // [xsp+E8h] [xbp+E8h] unsigned __int64 v55[2]; // [xsp+F0h] [xbp+F0h] BYREF void *v56; // [xsp+100h] [xbp+100h] unsigned __int64 v57[2]; // [xsp+108h] [xbp+108h] BYREF void *v58; // [xsp+118h] [xbp+118h] unsigned __int64 v59[2]; // [xsp+120h] [xbp+120h] BYREF void *v60; // [xsp+130h] [xbp+130h] __int64 v61; // [xsp+138h] [xbp+138h] BYREF size_t v62; // [xsp+140h] [xbp+140h] void *v63; // [xsp+148h] [xbp+148h] __int64 v64; // [xsp+150h] [xbp+150h] BYREF size_t v65; // [xsp+158h] [xbp+158h] void *v66; // [xsp+160h] [xbp+160h] v41 = 0; v42 = 0; v43 = nullptr; std::string::__init(&v41, &byte_11B8890, 0); v44 = 0; v45 = 0; v46 = nullptr; std::string::__init(&v44, &byte_11B8890, 0); v47 = 0; v48 = 0; v49 = nullptr; std::string::__init(&v47, &byte_11B8890, 0); v50 = 0; v51 = 0; v52 = nullptr; v3 = std::string::__init(&v50, &byte_11B8890, 0); v4 = *((unsigned int **)this + 89); for ( i = *((unsigned int **)this + 88); v4 != i; ++i ) { v6 = *i; v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v3); if ( (unsigned __int8)MusicDownloadManager::isSongDownloaded(v7, v6) ) { v8 = (unsigned __int8)v41 >> 1; if ( (v41 & 1) != 0 ) v8 = v42; if ( v8 ) std::string::append((__int64)&v41, ", ", 2u); GameToolbox::intToString(v53, (GameToolbox *)v6); if ( (v53[0] & 1) != 0 ) { v9 = (char *)v54; v10 = v53[1]; } else { v10 = LOBYTE(v53[0]) >> 1; v9 = (char *)v53 + 1; } std::string::append((__int64)&v41, v9, v10); v3 = LOBYTE(v53[0]); if ( (v53[0] & 1) != 0 ) operator delete(v54); } else { v29 = (unsigned __int8)v44 >> 1; if ( (v44 & 1) != 0 ) v29 = v45; if ( v29 ) std::string::append((__int64)&v44, ", ", 2u); GameToolbox::intToString(v55, (GameToolbox *)v6); if ( (v55[0] & 1) != 0 ) { v30 = (char *)v56; v31 = v55[1]; } else { v31 = LOBYTE(v55[0]) >> 1; v30 = (char *)v55 + 1; } std::string::append((__int64)&v44, v30, v31); v3 = LOBYTE(v55[0]); if ( (v55[0] & 1) != 0 ) operator delete(v56); } } v11 = this; v12 = *((unsigned int **)this + 92); for ( j = *((unsigned int **)this + 91); v12 != j; ++j ) { v14 = *j; v15 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v11); if ( (unsigned __int8)MusicDownloadManager::isSFXDownloaded(v15, v14) ) { v16 = (unsigned __int8)v47 >> 1; if ( (v47 & 1) != 0 ) v16 = v48; if ( v16 ) std::string::append((__int64)&v47, ", ", 2u); GameToolbox::intToString(v57, (GameToolbox *)v14); if ( (v57[0] & 1) != 0 ) { v17 = (char *)v58; v18 = v57[1]; } else { v18 = LOBYTE(v57[0]) >> 1; v17 = (char *)v57 + 1; } std::string::append((__int64)&v47, v17, v18); v11 = (MusicDownloadManager *)LOBYTE(v57[0]); if ( (v57[0] & 1) != 0 ) operator delete(v58); } else { v26 = (unsigned __int8)v50 >> 1; if ( (v50 & 1) != 0 ) v26 = v51; if ( v26 ) std::string::append((__int64)&v50, ", ", 2u); GameToolbox::intToString(v59, (GameToolbox *)v14); if ( (v59[0] & 1) != 0 ) { v27 = (char *)v60; v28 = v59[1]; } else { v28 = LOBYTE(v59[0]) >> 1; v27 = (char *)v59 + 1; } std::string::append((__int64)&v50, v27, v28); v11 = (MusicDownloadManager *)LOBYTE(v59[0]); if ( (v59[0] & 1) != 0 ) operator delete(v60); } } v61 = 0; v62 = 0; v63 = nullptr; std::string::__init(&v61, &byte_11B8890, 0); v19 = (unsigned __int8)v41 >> 1; if ( (v41 & 1) != 0 ) v19 = v42; if ( v19 ) { std::string::append((__int64)&v61, "Songs: ", 0xBu); if ( (v41 & 1) != 0 ) { v39 = (char *)v43; v38 = v42; } else { v38 = (unsigned __int8)v41 >> 1; v39 = (char *)&v41 + 1; } std::string::append((__int64)&v61, v39, v38); std::string::append((__int64)&v61, "\n", 5u); } if ( (v44 & 1) != 0 ) { if ( !v45 ) goto LABEL_28; } else if ( !((unsigned __int8)v44 >> 1) ) { LABEL_28: v20 = v47; if ( (v47 & 1) != 0 ) goto LABEL_29; goto LABEL_72; } std::string::append((__int64)&v61, "Missing Songs: ", 0x13u); if ( (v44 & 1) != 0 ) { v33 = (char *)v46; v32 = v45; } else { v32 = (unsigned __int8)v44 >> 1; v33 = (char *)&v44 + 1; } std::string::append((__int64)&v61, v33, v32); std::string::append((__int64)&v61, "\n", 5u); v20 = v47; if ( (v47 & 1) != 0 ) { LABEL_29: if ( !v48 ) goto LABEL_30; goto LABEL_73; } LABEL_72: if ( !(v20 >> 1) ) { LABEL_30: v21 = v50; if ( (v50 & 1) != 0 ) goto LABEL_31; goto LABEL_76; } LABEL_73: std::string::append((__int64)&v61, "SFX: ", 9u); if ( (v47 & 1) != 0 ) { v35 = (char *)v49; v34 = v48; } else { v34 = (unsigned __int8)v47 >> 1; v35 = (char *)&v47 + 1; } std::string::append((__int64)&v61, v35, v34); std::string::append((__int64)&v61, "\n", 5u); v21 = v50; if ( (v50 & 1) != 0 ) { LABEL_31: if ( !v51 ) goto LABEL_32; LABEL_77: std::string::append((__int64)&v61, "Missing SFX: ", 0x11u); if ( (v50 & 1) != 0 ) { v37 = (char *)v52; v36 = v51; } else { v36 = (unsigned __int8)v50 >> 1; v37 = (char *)&v50 + 1; } std::string::append((__int64)&v61, v37, v36); std::string::append((__int64)&v61, "", 4u); v22 = v61; v64 = 0; v65 = 0; v66 = nullptr; if ( (v61 & 1) == 0 ) goto LABEL_33; goto LABEL_80; } LABEL_76: if ( v21 >> 1 ) goto LABEL_77; LABEL_32: v22 = v61; v64 = 0; v65 = 0; v66 = nullptr; if ( (v61 & 1) == 0 ) { LABEL_33: v66 = v63; v64 = v61; v65 = v62; LABEL_34: v23 = v22 >> 1; goto LABEL_35; } LABEL_80: std::string::__init(&v64, v63, v62); v22 = v61; if ( (v61 & 1) == 0 ) goto LABEL_34; v23 = v62; LABEL_35: v24 = FLAlertLayer::create( 0, (cocos2d::CCLabelBMFont *)"Audio Assets", (char *)&v64, (ButtonSprite *)"OK", nullptr, v23 > 0x190, 430.0, 0.0, 1.0); if ( (v64 & 1) != 0 ) operator delete(v66); (*(void (__fastcall **)(__int64))(*(_QWORD *)v24 + 1312LL))(v24); if ( (v61 & 1) != 0 ) operator delete(v63); if ( (v50 & 1) != 0 ) operator delete(v52); if ( (v47 & 1) != 0 ) operator delete(v49); if ( (v44 & 1) != 0 ) operator delete(v46); if ( (v41 & 1) != 0 ) operator delete(v43); return _stack_chk_guard; }