// // GJGameLevel::unverifyCoins from 0x806804 to 0x806890 (140 bytes) // // 5 xrefs: // > GJGameLevel::copyLevelInfo @ 0x82d284 // > GJGameLevel::levelWasAltered @ 0x83c7c8 // > LocalLevelManager::importLevelsFromPaths @ 0x91177c // > LocalLevelManager::tryRecoverAutoSaves @ 0x912ec8 // > @ 0x8a478 // // This function is hookable on this platform (idp: arm, 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 12:54:45 +0000 // __int64 __fastcall GJGameLevel::unverifyCoins(GJGameLevel *this) { int v2; // w0 int v3; // w0 int v4; // w0 int v5; // w0 __int64 result; // x0 *((_DWORD *)this + 254) = 0; v2 = rand(); *((_DWORD *)this + 257) = 0; v3 = (int)(float)((float)((float)v2 * 4.6566e-10) * 1000.0); *((_DWORD *)this + 253) = v3; *((_DWORD *)this + 252) = v3; v4 = rand(); *((_DWORD *)this + 260) = 0; v5 = (int)(float)((float)((float)v4 * 4.6566e-10) * 1000.0); *((_DWORD *)this + 256) = v5; *((_DWORD *)this + 255) = v5; result = (unsigned int)(int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *((_DWORD *)this + 259) = result; *((_DWORD *)this + 258) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source