// // GJRewardItem::getRandomShardType from 0x8cd294 to 0x8cd2f4 (96 bytes) // // 2 xrefs: // > GJRewardItem::getRandomNonMaxShardType @ 0x8dd6f0 // > @ 0xa2b50 // // 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:56:37 +0000 // __int64 __fastcall GJRewardItem::getRandomShardType(GJRewardItem *this) { int v1; // w0 unsigned int v2; // w1 unsigned int v3; // w0 v1 = rand(); v2 = 1; v3 = (int)(floor((float)((float)v1 * 4.6566e-10) * 10.0) + 1.0) - 2; if ( v3 <= 8 ) return dword_114E2A0[v3]; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source