// // GameStatsManager::unlockPathChest from 0x100078900 to 0x100078987 (135 bytes) // // 1 xrefs: // > GJPathRewardPopup::onClaim @ 0x10030342c // // 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 // // local variable allocation has failed, the output may be wrong! GJRewardItem *__fastcall GameStatsManager::unlockPathChest(GameStatsManager *a1, int a2) { __m128 v2; // xmm0 __int8 v3; // r15 GJRewardItem *v4; // rbx __m128 v6; // [rsp+8h] [rbp-48h] BYREF void *v7; // [rsp+18h] [rbp-38h] __m128 v8; // [rsp+20h] [rbp-30h] BYREF void *__p; // [rsp+30h] [rbp-20h] GameStatsManager::getPathRewardKey((size_t *)&v6, *(double *)v2.i64, *(__int64 *)&a2, a2); v3 = v6.i8[0]; if ( (v6.i8[0] & 1) != 0 ) { sub_100006B70(&v8, v7, v6.u64[1], *(double *)v2.i64); } else { __p = v7; v2 = v6; v8 = v6; } v4 = GameStatsManager::unlockSpecialChest(a1, (__int64)&v8, v2); if ( (v8.i8[0] & 1) != 0 ) operator delete(__p); if ( (v3 & 1) != 0 ) operator delete(v7); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source