// // GameStatsManager::isSecretCoin from 0x5162d8 to 0x516314 (60 bytes) // // 1 xrefs: // > GameStatsManager::dataLoaded @ 0x52962c // // 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:51:40 +0000 // bool __fastcall GameStatsManager::isSecretCoin(int a1, unsigned __int8 *a2) { int v2; // r4 signed int v3; // r4 const void *v4; // r0 int v5; // r0 v2 = *a2; if ( (v2 & 1) != 0 ) { v3 = *((_DWORD *)a2 + 1); v4 = *((const void **)a2 + 2); if ( (unsigned int)v3 >= 7 ) v3 = 7; } else { v3 = v2 >> 1; v4 = a2 + 1; if ( v3 >= 7 ) v3 = 7; } if ( !v3 || (v5 = memcmp(v4, "unique_", v3)) == 0 ) { v5 = v3 - 7; if ( v3 != 7 ) v5 = -1; } return v5 == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source