// // GJEditorSoundConfig::showSoundInfo from 0x78dcf0 to 0x78df3c (588 bytes) // // 3 xrefs: // > InfoLayer::onLevelInfo @ 0x53e3f8 // > EditorSoundConfigCell::onInfoPopup @ 0x783b7c // > EditorSoundConfigInfoLayer::onShowDescription @ 0x784abe // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:39 +0000 // int __fastcall GJEditorSoundConfig::showSoundInfo(GJEditorSoundConfig *this, int a2, int a3) { int v4; // r3 char *v5; // r1 size_t v6; // r2 const char *v7; // r9 char *v8; // r1 size_t v9; // r2 char *v10; // r1 char *v11; // r1 size_t v12; // r2 int v13; // r3 char *v14; // r1 size_t v15; // r2 size_t v16; // r0 int *v17; // r5 char v19[4]; // [sp+8h] [bp-Ch] BYREF int v20; // [sp+Ch] [bp-8h] const char *v21; // [sp+10h] [bp-4h] _BYTE v22[4]; // [sp+14h] [bp+0h] BYREF int v23; // [sp+18h] [bp+4h] int v24; // [sp+20h] [bp+Ch] BYREF size_t v25; // [sp+24h] [bp+10h] char *v26; // [sp+28h] [bp+14h] unsigned __int8 v27; // [sp+2Ch] [bp+18h] BYREF char v28; // [sp+2Dh] [bp+19h] BYREF size_t v29; // [sp+30h] [bp+1Ch] char *v30; // [sp+34h] [bp+20h] unsigned __int8 v31; // [sp+38h] [bp+24h] BYREF char v32; // [sp+39h] [bp+25h] BYREF size_t v33; // [sp+3Ch] [bp+28h] char *v34; // [sp+40h] [bp+2Ch] unsigned __int8 v35; // [sp+44h] [bp+30h] BYREF char v36; // [sp+45h] [bp+31h] BYREF size_t v37; // [sp+48h] [bp+34h] char *v38; // [sp+4Ch] [bp+38h] int v39[3]; // [sp+50h] [bp+3Ch] BYREF *(_DWORD *)v19 = 0; v20 = 0; v21 = nullptr; GJEditorSoundConfig::getUnpackedSoundDesc((GJEditorSoundConfig *)v22, (int)this, a3, 0); if ( (v22[0] & 1) != 0 ) v4 = v23; else v4 = (int)v22[0] >> 1; if ( v4 ) { std::string::basic_string(&v24, (int)v22); } else { v24 = 0; v25 = 0; v26 = nullptr; std::string::__init(&v24, "(No description provided)", 0x19u); } if ( (v24 & 1) != 0 ) { v5 = v26; v6 = v25; } else { v6 = (int)(unsigned __int8)v24 >> 1; v5 = (char *)&v24 + 1; } std::string::append(v19, v5, v6); std::string::~string((int)&v24); if ( *((int *)this + 66) > 0 || *((int *)this + 78) > 0 ) { std::string::append(v19, "\n\n"); if ( *((int *)this + 66) > 0 ) { std::string::append(v19, "Pack ID: "); GameToolbox::intToString((GameToolbox *)&v27, *((_DWORD *)this + 66)); if ( (v27 & 1) != 0 ) { v8 = v30; v9 = v29; } else { v9 = (int)v27 >> 1; v8 = &v28; } std::string::append(v19, v8, v9); std::string::~string((int)&v27); std::string::append(v19, "\n"); } if ( (unsigned int)(*((_DWORD *)this + 77) - 3) <= 1 ) { std::string::append(v19, "Visibility: "); if ( *((_DWORD *)this + 77) == 3 ) v10 = "Friends Only"; else v10 = "Unlisted"; std::string::append(v19, v10); std::string::append(v19, "\n"); } if ( *((int *)this + 78) > 0 ) { std::string::append(v19, "Uploaded: "); GameToolbox::timestampToHumanReadable((GameToolbox *)&v31, *((_DWORD *)this + 78)); if ( (v31 & 1) != 0 ) { v11 = v34; v12 = v33; } else { v12 = (int)v31 >> 1; v11 = &v32; } std::string::append(v19, v11, v12); std::string::~string((int)&v31); std::string::append(v19, ""); v13 = *((_DWORD *)this + 79); if ( v13 > 0 && *((_DWORD *)this + 78) != v13 ) { std::string::append(v19, "\nUpdated: "); GameToolbox::timestampToHumanReadable((GameToolbox *)&v35, *((_DWORD *)this + 79)); if ( (v35 & 1) != 0 ) { v14 = v38; v15 = v37; } else { v15 = (int)v35 >> 1; v14 = &v36; } std::string::append(v19, v14, v15); std::string::~string((int)&v35); std::string::append(v19, ""); } } } if ( (v19[0] & 1) != 0 ) v7 = v21; else v7 = &v19[1]; memset(v39, 0, sizeof(v39)); v16 = strlen(v7); std::string::__init(v39, v7, v16); v17 = FLAlertLayer::create( 0, (cocos2d::CCLabelBMFont *)"Sound Pack Info", (int)v39, (ButtonSprite *)"OK", nullptr, 380.0); std::string::~string((int)v39); (*(void (__fastcall **)(int *))(*v17 + 656))(v17); std::string::~string((int)v22); return std::string::~string((int)v19); }
GD Web Decomp Icon

GD Web Decomp

Raw Source