// // GameLevelManager::getTopArtists from 0x140239730 to 0x140239a5e (814 bytes) // // 4 xrefs: // > TopArtistsLayer::init @ 0x14066e740 // > TopArtistsLayer::loadPage @ 0x14066ef19 // > @ 0x14091c028 // > @ 0x14091c034 // // 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:28:34 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall GameLevelManager::getTopArtists(cocos2d::CCActionManager **a1, int a2, int a3) { cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // rbx size_t v9; // r8 void **v10; // rdx void **v11; // rdx __int64 v12; // rcx cocos2d::CCString *v13; // rax const char *v14; // rax cocos2d::CCString *v15; // rax char *v16; // rax size_t v17; // r8 __int64 v18; // rcx void **v19; // r12 char *v20; // rsi unsigned __int64 v21; // r15 __int64 v22; // rdi unsigned __int64 v23; // r14 _QWORD *v24; // rdx char *v25; // rax int Reserved; // [rsp+20h] [rbp-B9h] int v27; // [rsp+28h] [rbp-B1h] __int128 v28; // [rsp+40h] [rbp-99h] BYREF unsigned __int64 v29; // [rsp+50h] [rbp-89h] __int64 v30; // [rsp+58h] [rbp-81h] __int128 v31; // [rsp+60h] [rbp-79h] BYREF __int64 v32; // [rsp+70h] [rbp-69h] __int64 v33; // [rsp+78h] [rbp-61h] __int128 v34; // [rsp+80h] [rbp-59h] BYREF __int64 v35; // [rsp+90h] [rbp-49h] __int64 v36; // [rsp+98h] [rbp-41h] __int128 *v37; // [rsp+A0h] [rbp-39h] __int128 *v38; // [rsp+A8h] [rbp-31h] void *Src[2]; // [rsp+B8h] [rbp-21h] BYREF unsigned __int64 v40; // [rsp+C8h] [rbp-11h] unsigned __int64 v41; // [rsp+D0h] [rbp-9h] _QWORD v42[4]; // [rsp+D8h] [rbp-1h] BYREF v6 = cocos2d::CCString::createWithFormat("topArtists_%i", a2); CString = cocos2d::CCString::getCString(v6); *(_OWORD *)Src = 0; v40 = 0; v41 = 0; v8 = -1; v9 = -1; do ++v9; while ( CString[v9] ); sub_14003D230(Src, CString, v9); v10 = Src; if ( v41 > 0xF ) v10 = (void **)Src[0]; if ( GameLevelManager::isDLActive((__int64)a1, v10) ) { v21 = v41; v20 = (char *)Src[0]; } else { v11 = Src; if ( v41 > 0xF ) v11 = (void **)Src[0]; GameLevelManager::addDLToActive((__int64)a1, v11); GameLevelManager::getBasePostString(v12, v42); v27 = 98; Reserved = 103; v13 = cocos2d::CCString::createWithFormat( "%c%s%s%c%c%s", 87, "mfd", "2893", Reserved, v27, (const char *)&word_14070D040); v14 = cocos2d::CCString::getCString(v13); v15 = cocos2d::CCString::createWithFormat("&page=%i&secret=%s&total=%i", a2, v14, a3); v16 = (char *)cocos2d::CCString::getCString(v15); v17 = -1; do ++v17; while ( v16[v17] ); sub_140044D80(v42, v16, v17); v37 = &v28; v38 = &v34; v28 = 0; v29 = 0; v30 = 0; v19 = Src; v20 = (char *)Src[0]; v21 = v41; if ( v41 > 0xF ) v19 = (void **)Src[0]; v22 = 0x7FFFFFFFFFFFFFFFLL; v23 = v40; if ( v40 > 0x7FFFFFFFFFFFFFFFLL ) sub_140009D90(v18); if ( v40 > 0xF ) { if ( (v40 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { v22 = v40 | 0xF; if ( (v40 | 0xF) < 0x16 ) v22 = 22; } *(_QWORD *)&v28 = sub_14003D460(v22 + 1); v29 = v23; v30 = v22; memcpy((void *)v28, v19, v23 + 1); } else { v29 = v40; v30 = 15; v28 = *(_OWORD *)v19; } v24 = v42; if ( v42[3] > 0xFu ) v24 = (_QWORD *)v42[0]; v34 = 0; v35 = 0; v36 = 0; do ++v8; while ( *((_BYTE *)v24 + v8) ); sub_14003D230(&v34, v24, v8); v31 = 0; v32 = 0; v33 = 0; *(_QWORD *)&v31 = sub_14003D460(0x40u); v32 = 54; v33 = 63; strcpy((char *)v31, "https://www.boomlings.com/database/getGJTopArtists.php"); GameLevelManager::ProcessHttpRequest(a1, (__int64)&v31, (const char *)&v34, (const char *)&v28, 0x3Bu); sub_14003D310((__int64)v42); } if ( v21 > 0xF ) { v25 = v20; if ( v21 + 1 >= 0x1000 ) { v20 = *((char **)v20 - 1); if ( (unsigned __int64)(v25 - v20 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v20); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source