// // parseLevelLeaderboardKey from 0x4c68e4 to 0x4c698c (168 bytes) // // 1 xrefs: // > GameLevelManager::onGetLevelLeaderboardCompleted @ 0x4d2124 // // 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:31 +0000 // unsigned __int8 *__fastcall parseLevelLeaderboardKey(unsigned __int8 *result, int *a2, int *a3, int *a4) { int v5; // r4 int v8; // r3 int v9; // r4 const char *v10; // r0 const char *v11; // r0 const char *v12; // r0 int v13; // [sp+0h] [bp-14h] BYREF int v14; // [sp+4h] [bp-10h] int v15; // [sp+8h] [bp-Ch] v5 = *result; if ( (v5 & 1) != 0 ) v8 = *((_DWORD *)result + 1); else v8 = v5 >> 1; if ( v8 ) { v13 = 0; v14 = 0; v15 = 0; sub_4C62E0(result, "_", &v13); v9 = v13; if ( -1431655765 * ((v14 - v13) >> 2) == 4 ) { if ( (byte_9[v13 + 3] & 1) != 0 ) v10 = *(const char **)((char *)&dword_14 + v13); else v10 = (const char *)(v13 + 13); *a2 = atoi(v10); if ( (*((_BYTE *)&dword_18 + v9) & 1) != 0 ) v11 = *(const char **)((char *)&dword_20 + v9); else v11 = (const char *)(v9 + 25); *a3 = atoi(v11); if ( (*((_BYTE *)&dword_24 + v9) & 1) != 0 ) v12 = *(const char **)((char *)&word_2C + v9); else v12 = (const char *)(v9 + 37); *a4 = atoi(v12); } return (unsigned __int8 *)std::__vector_base::~__vector_base((int)&v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source