// // GJRewardItem::getRandomNonMaxShardType from 0x1003347bc to 0x100334858 (156 bytes) // // 1 xrefs: // > GameStatsManager::completedDailyLevel @ 0x1003345d0 // // 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 // SpecialRewardItem __fastcall GJRewardItem::getRandomNonMaxShardType() { int v0; // w21 SpecialRewardItem RandomShardType; // w19 GameStatsManager *v2; // x20 const char *v3; // x1 int Stat; // w20 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v7; // [xsp+1Fh] [xbp-21h] v0 = 10; RandomShardType = GJRewardItem::getRandomShardType(); while ( 1 ) { v2 = GameStatsManager::sharedState(); GJRewardItem::rewardItemToStat(RandomShardType, __p); v3 = v7 >= 0 ? (const char *)__p : (const char *)__p[0]; Stat = GameStatsManager::getStat(v2, v3); if ( v7 < 0 ) operator delete(__p[0]); if ( Stat <= 99 ) break; RandomShardType = GJRewardItem::getNextShardType(RandomShardType); if ( !--v0 ) return 0; } return RandomShardType; }
GD Web Decomp Icon

GD Web Decomp

Raw Source