//
// LevelCell::recallLevel from 0x1001363bc to 0x100136418 (92 bytes)
//
// 3 xrefs:
// > LevelCell::onClick @ 0x1001368f4
// > LevelBrowserLayer::cellPerformedAction @ 0x10049b4a4
// > LevelBrowserLayer::claimRecallChest @ 0x10049b67c
//
// 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 10:59:27 +0000
//
char *__fastcall LevelCell::recallLevel(__int64 a1)
{
__int64 v1; // x19
char *v2; // x20
float v3; // s0
v1 = a1;
v2 = GJGameLevel::duplicate(*(_QWORD *)(a1 + 560));
LODWORD(v1) = *(_DWORD *)(*(_QWORD *)(v1 + 560) + 1292LL);
*((_DWORD *)v2 + 232) = v1;
v3 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
*((_DWORD *)v2 + 231) = (int)v3;
*((_DWORD *)v2 + 230) = v1 + (int)v3;
return v2;
}