// // parseLevelLeaderboardKey from 0x3cea98 to 0x3ceb9a (258 bytes) // // 1 xrefs: // > GameLevelManager::onGetLevelLeaderboardCompleted @ 0x3cebe6 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void **__fastcall parseLevelLeaderboardKey(void **result, int *a2, int *a3, int *a4) { void **v6; // r7 int v8; // r6 int v9; // r5 const char **v10; // r4 int v11; // [sp+4h] [bp-28h] int v12; // [sp+14h] [bp-18h] BYREF const char **v13; // [sp+18h] [bp-14h] BYREF int v14; // [sp+1Ch] [bp-10h] int v15; // [sp+20h] [bp-Ch] v6 = result; if ( *((_DWORD *)*result - 3) ) { v13 = nullptr; v14 = 0; v15 = 0; v8 = sub_774A78((int)result, "_"); v9 = 0; v11 = *((_DWORD *)*v6 - 3); while ( 1 ) { sub_776158(&v12, v6, v9, v8 - v9); if ( *(_DWORD *)(v12 - 12) || v9 != v11 ) { if ( v14 == v15 ) { std::vector::_M_emplace_back_aux((int)&v13, (int)&v12); } else { if ( v14 ) sub_775C20(v14); v14 += 4; } } if ( v8 == -1 ) break; v9 = v8 + 1; v8 = sub_774A78((int)v6, "_"); sub_774008(&v12); } sub_774008(&v12); v10 = v13; if ( (v14 - (int)v13) >> 2 == 4 ) { *a2 = atoi(v13[1]); *a3 = atoi(v10[2]); *a4 = atoi(v10[3]); } return std::vector::~vector((void **)&v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source