// // GJLevelList::showListInfo from 0x4bca38 to 0x4bcc64 (556 bytes) // // 3 xrefs: // > LevelListCell::onListInfo @ 0x42474c // > InfoLayer::onLevelInfo @ 0x53e3ec // > LevelListLayer::onListInfo @ 0x6d4932 // // 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:50:18 +0000 // int __fastcall GJLevelList::showListInfo(GJLevelList *this) { int v2; // r2 int v3; // r3 int v4; // r3 char *v5; // r1 size_t v6; // r2 const char *v7; // r10 char *v8; // r1 size_t v9; // r2 char *v10; // r1 size_t v11; // r2 int v12; // r3 char *v13; // r1 size_t v14; // r2 size_t v15; // r0 int *v16; // r5 char v18[4]; // [sp+8h] [bp-58h] BYREF int v19; // [sp+Ch] [bp-54h] const char *v20; // [sp+10h] [bp-50h] int v21; // [sp+14h] [bp-4Ch] BYREF size_t v22; // [sp+18h] [bp-48h] char *v23; // [sp+1Ch] [bp-44h] unsigned __int8 v24[4]; // [sp+20h] [bp-40h] BYREF int v25; // [sp+24h] [bp-3Ch] unsigned __int8 v26; // [sp+2Ch] [bp-34h] BYREF char v27; // [sp+2Dh] [bp-33h] BYREF size_t v28; // [sp+30h] [bp-30h] char *v29; // [sp+34h] [bp-2Ch] unsigned __int8 v30; // [sp+38h] [bp-28h] BYREF char v31; // [sp+39h] [bp-27h] BYREF size_t v32; // [sp+3Ch] [bp-24h] char *v33; // [sp+40h] [bp-20h] unsigned __int8 v34; // [sp+44h] [bp-1Ch] BYREF char v35; // [sp+45h] [bp-1Bh] BYREF size_t v36; // [sp+48h] [bp-18h] char *v37; // [sp+4Ch] [bp-14h] int v38[3]; // [sp+50h] [bp-10h] BYREF *(_DWORD *)v18 = 0; v19 = 0; v20 = nullptr; std::string::__init((int *)v18, &unk_B6B226, 0); v21 = 0; v22 = 0; v23 = nullptr; std::string::__init(&v21, "(No description provided)", 0x19u); GJLevelList::getUnpackedDescription((GJLevelList *)v24, (int)this, v2, v3); if ( (v24[0] & 1) != 0 ) v4 = v25; else v4 = (int)v24[0] >> 1; if ( v4 ) std::string::operator=((unsigned __int8 *)&v21, v24); if ( (v21 & 1) != 0 ) { v5 = v23; v6 = v22; } else { v6 = (int)(unsigned __int8)v21 >> 1; v5 = (char *)&v21 + 1; } std::string::append(v18, v5, v6); if ( *((_DWORD *)this + 102) != 2 ) { if ( *((int *)this + 69) > 0 || *((int *)this + 99) > 0 ) std::string::append(v18, "\n\n"); if ( *((int *)this + 69) > 0 ) { std::string::append(v18, "List ID: "); GameToolbox::intToString((GameToolbox *)&v26, *((_DWORD *)this + 69)); if ( (v26 & 1) != 0 ) { v8 = v29; v9 = v28; } else { v9 = (int)v26 >> 1; v8 = &v27; } std::string::append(v18, v8, v9); std::string::~string((int)&v26); std::string::append(v18, "\n"); } if ( *((int *)this + 99) > 0 ) { std::string::append(v18, "Uploaded: "); GameToolbox::timestampToHumanReadable((GameToolbox *)&v30, *((_DWORD *)this + 99)); if ( (v30 & 1) != 0 ) { v10 = v33; v11 = v32; } else { v11 = (int)v30 >> 1; v10 = &v31; } std::string::append(v18, v10, v11); std::string::~string((int)&v30); std::string::append(v18, ""); v12 = *((_DWORD *)this + 100); if ( v12 > 0 && *((_DWORD *)this + 99) != v12 ) { std::string::append(v18, "\nUpdated: "); GameToolbox::timestampToHumanReadable((GameToolbox *)&v34, *((_DWORD *)this + 100)); if ( (v34 & 1) != 0 ) { v13 = v37; v14 = v36; } else { v14 = (int)v34 >> 1; v13 = &v35; } std::string::append(v18, v13, v14); std::string::~string((int)&v34); std::string::append(v18, ""); } } } if ( (v18[0] & 1) != 0 ) v7 = v20; else v7 = &v18[1]; memset(v38, 0, sizeof(v38)); v15 = strlen(v7); std::string::__init(v38, v7, v15); v16 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"List Info", (int)v38, (ButtonSprite *)"OK", nullptr, 380.0); std::string::~string((int)v38); (*(void (__fastcall **)(int *))(*v16 + 656))(v16); std::string::~string((int)v24); std::string::~string((int)&v21); return std::string::~string((int)v18); }
GD Web Decomp Icon

GD Web Decomp

Raw Source