// // sub_4A9938 from 0x4a9938 to 0x4a997c (68 bytes) // // 2 xrefs: // > GameLevelManager::writePlatformerSaveJournal @ 0x4caff4 // > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfb9a // // 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:49:57 +0000 // int __fastcall sub_4A9938(GJAccountManager *a1) { int v2; // r0 int v3; // r2 int v4; // r5 unsigned int v5; // r2 int v6; // r0 unsigned int v7; // r3 char *v8; // r1 int v9; // r1 v2 = GJAccountManager::sharedState(a1); v3 = *(unsigned __int8 *)a1; v4 = v3 & 1; v5 = v3 >> 1; v6 = -1640531535 * (*(_DWORD *)(v2 + 280) - *(_DWORD *)(v2 + 284)); v7 = 0; while ( v4 ) { if ( v7 >= *((_DWORD *)a1 + 1) ) return v6 & 0x7FFFFFFF; v8 = *((char **)a1 + 2); LABEL_7: v9 = (unsigned __int8)v8[v7++]; v6 = 16777619 * (v6 ^ v9); } if ( v7 < v5 ) { v8 = (char *)a1 + 1; goto LABEL_7; } return v6 & 0x7FFFFFFF; }
GD Web Decomp Icon

GD Web Decomp

Raw Source