// // GJChallengeItem::init from 0x10034054c to 0x1003405d8 (140 bytes) // // 1 xrefs: // > GJChallengeItem::create @ 0x100340470 // // 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 // __int64 __fastcall GJChallengeItem::init(__int64 a1, int a2, int a3, int a4, int a5, std::string *__str) { float v9; // s0 float v10; // s0 *(_DWORD *)(a1 + 56) = a2; *(_DWORD *)(a1 + 96) = a5; std::string::operator=((std::string *)(a1 + 112), __str); *(_DWORD *)(a1 + 92) = a3; v9 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 88) = (int)v9; *(_DWORD *)(a1 + 80) = a4; *(_DWORD *)(a1 + 84) = (int)v9 + a3; v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 72) = (int)v10 + a4; *(_DWORD *)(a1 + 76) = (int)v10; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source