// // GameToolbox::gen_random from 0x2ed1d0 to 0x2ed246 (118 bytes) // // 1 xrefs: // > GJMultiplayerManager::uploadComment @ 0x510bac // // 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 // GameToolbox *__fastcall GameToolbox::gen_random(GameToolbox *this, int a2, char *a3, char *a4) { int v6; // r6 unsigned int v7; // r1 char *v9[2]; // [sp+8h] [bp-8h] BYREF v9[0] = a3; v9[1] = a4; v6 = 0; sub_776584((int)v9, (char *)&unk_939830); while ( v6 < a2 ) { v7 = rand() % 0x3Eu; sub_77458C(v9, (unsigned __int8)a0123456789abcd[v7]); ++v6; } sub_776584((int)this, v9[0]); sub_774008(v9); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source