{"type": "func", "start": 5370055872, "end": 5370055980, "name": "LevelCell::recallLevel", "pseudocode": "// \n// LevelCell::recallLevel from 0x140148cc0 to 0x140148d2c (108 bytes)\n// \n// 4 xrefs:\n// > LevelCell::onClick @ 0x14014d445\n// > LevelBrowserLayer::cellPerformedAction @ 0x1403eabef\n// > LevelBrowserLayer::claimRecallChest @ 0x1403eb268\n// > <???> @ 0x14091760c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:12 +0000\n// \n\n_DWORD *__fastcall LevelCell::recallLevel(__int64 a1)\n{\n  __int64 v1; // rbx\n  _DWORD *v2; // rdi\n  __m128i v3; // xmm0\n\n  v1 = a1;\n  v2 = (_DWORD *)GJGameLevel::duplicate(*(_QWORD *)(a1 + 568));\n  LODWORD(v1) = *(_DWORD *)(*(_QWORD *)(v1 + 568) + 1412LL);\n  v2[250] = v1;\n  v3 = _mm_cvtsi32_si128(rand());\n  *(float *)v3.m128i_i32 = (float)(_mm_cvtepi32_ps(v3).m128_f32[0] / 32767.0) * 1000.0;\n  v2[249] = (int)*(float *)v3.m128i_i32;\n  v2[248] = v1 + (int)*(float *)v3.m128i_i32;\n  return v2;\n}", "assembly": "; \n; LevelCell::recallLevel from 0x140148cc0 to 0x140148d2c (108 bytes)\n; \n; 4 xrefs:\n; > LevelCell::onClick @ 0x14014d445\n; > LevelBrowserLayer::cellPerformedAction @ 0x1403eabef\n; > LevelBrowserLayer::claimRecallChest @ 0x1403eb268\n; > <???> @ 0x14091760c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:12 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140148cc0\npush    rdi                                                            ; +0x5, 0x140148cc5\nsub     rsp, 20h                                                       ; +0x6, 0x140148cc6\nmov     rbx, rcx                                                       ; +0xa, 0x140148cca\nmov     rcx, [rcx+238h]                                                ; +0xd, 0x140148ccd\ncall    GJGameLevel__duplicate                                         ; +0x14, 0x140148cd4\nmov     rcx, [rbx+238h]                                                ; +0x19, 0x140148cd9\nmov     rdi, rax                                                       ; +0x20, 0x140148ce0\nmov     ebx, [rcx+584h]                                                ; +0x23, 0x140148ce3\nmov     [rax+3E8h], ebx                                                ; +0x29, 0x140148ce9\ncall    cs:rand                                                        ; +0x2f, 0x140148cef\nmovd    xmm0, eax                                                      ; +0x35, 0x140148cf5\nmov     rax, rdi                                                       ; +0x39, 0x140148cf9\ncvtdq2ps xmm0, xmm0                                                    ; +0x3c, 0x140148cfc\ndivss   xmm0, cs:dword_140835BDC                                       ; +0x3f, 0x140148cff\nmulss   xmm0, cs:dword_140835AA4                                       ; +0x47, 0x140148d07\ncvttss2si ecx, xmm0                                                    ; +0x4f, 0x140148d0f\nmov     [rdi+3E4h], ecx                                                ; +0x53, 0x140148d13\nadd     ecx, ebx                                                       ; +0x59, 0x140148d19\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x140148d1b\nmov     [rdi+3E0h], ecx                                                ; +0x60, 0x140148d20\nadd     rsp, 20h                                                       ; +0x66, 0x140148d26\npop     rdi                                                            ; +0x6a, 0x140148d2a\nretn                                                                   ; +0x6b, 0x140148d2b", "xrefs": ["LevelCell::onClick @ 0x14014d445", "LevelBrowserLayer::cellPerformedAction @ 0x1403eabef", "LevelBrowserLayer::claimRecallChest @ 0x1403eb268", "<???> @ 0x14091760c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}