// // GameLevelManager::getTopArtists from 0x4b711c to 0x4b727e (354 bytes) // // 2 xrefs: // > TopArtistsLayer::init @ 0x631b0e // > TopArtistsLayer::loadPage @ 0x631cd6 // // 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:10 +0000 // int __fastcall GameLevelManager::getTopArtists(GameLevelManager *this, const char *a2, int a3) { const char *v3; // r5 const char *TopArtistsKey; // r8 size_t v7; // r0 char *v8; // r1 int v9; // r2 char *v10; // r1 cocos2d::CCString *v11; // r0 int CString; // r0 cocos2d::CCString *v13; // r0 char *v14; // r0 size_t v15; // r0 int v17[2]; // [sp+10h] [bp+0h] BYREF char *v18; // [sp+18h] [bp+8h] char *v19[3]; // [sp+1Ch] [bp+Ch] BYREF int v20[3]; // [sp+28h] [bp+18h] BYREF int v21[3]; // [sp+34h] [bp+24h] BYREF int v22[3]; // [sp+40h] [bp+30h] BYREF v3 = a2; v17[0] = 0; v17[1] = 0; v18 = nullptr; TopArtistsKey = (const char *)GameLevelManager::getTopArtistsKey(this, a2); v7 = strlen(TopArtistsKey); std::string::__init(v17, TopArtistsKey, v7); if ( (v17[0] & 1) != 0 ) v8 = v18; else v8 = (char *)v17 + 1; if ( !GameLevelManager::isDLActive(this, v8) ) { if ( (v17[0] & 1) != 0 ) v10 = v18; else v10 = (char *)v17 + 1; GameLevelManager::addDLToActive(this, v10, v9, LOBYTE(v17[0])); GameLevelManager::getBasePostString((GameLevelManager *)v19); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); CString = cocos2d::CCString::getCString(v11); v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&page=%i&secret=%s&total=%i", v3, CString, a3); v14 = (char *)cocos2d::CCString::getCString(v13); std::string::append(v19, v14); memset(v20, 0, sizeof(v20)); std::string::__init(v20, "https://www.boomlings.com/database/getGJTopArtists.php", 0x36u); if ( ((int)v19[0] & 1) == 0 ) v3 = (char *)v19 + 1; v21[0] = 0; if ( ((int)v19[0] & 1) != 0 ) v3 = v19[2]; v21[1] = 0; v21[2] = 0; v15 = strlen(v3); std::string::__init(v21, v3, v15); std::string::basic_string(v22, (int)v17); GameLevelManager::ProcessHttpRequest(this, v20, (int)v21, (int)v22, 59); std::string::~string((int)v22); std::string::~string((int)v21); std::string::~string((int)v20); std::string::~string((int)v19); } return std::string::~string((int)v17); }
GD Web Decomp Icon

GD Web Decomp

Raw Source