// // GJChallengeItem::init from 0x7ad760 to 0x7ad7fc (156 bytes) // // 2 xrefs: // > GJChallengeItem::create @ 0x7ad8d0 // > @ 0x9f450 // // 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 // float __fastcall GJChallengeItem::init(_DWORD *a1, int a2, int a3, int a4, int a5, __int64 a6) { int v9; // w0 int v10; // w0 float result; // s0 a1[24] = a5; a1[14] = a2; sub_D18EA8(a1 + 28, a6); a1[23] = a3; v9 = rand(); a1[20] = a4; v10 = (int)(float)((float)((float)v9 * 4.6566e-10) * 1000.0); a1[22] = v10; a1[21] = a3 + v10; result = (float)((float)rand() * 4.6566e-10) * 1000.0; a1[19] = (int)result; a1[18] = a4 + (int)result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source