{"type": "func", "start": 4296238012, "end": 4296238104, "name": "LevelCell::recallLevel", "pseudocode": "// \n// LevelCell::recallLevel from 0x1001363bc to 0x100136418 (92 bytes)\n// \n// 3 xrefs:\n// > LevelCell::onClick @ 0x1001368f4\n// > LevelBrowserLayer::cellPerformedAction @ 0x10049b4a4\n// > LevelBrowserLayer::claimRecallChest @ 0x10049b67c\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n// \n\nchar *__fastcall LevelCell::recallLevel(__int64 a1)\n{\n  __int64 v1; // x19\n  char *v2; // x20\n  float v3; // s0\n\n  v1 = a1;\n  v2 = GJGameLevel::duplicate(*(_QWORD *)(a1 + 560));\n  LODWORD(v1) = *(_DWORD *)(*(_QWORD *)(v1 + 560) + 1292LL);\n  *((_DWORD *)v2 + 232) = v1;\n  v3 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;\n  *((_DWORD *)v2 + 231) = (int)v3;\n  *((_DWORD *)v2 + 230) = v1 + (int)v3;\n  return v2;\n}", "assembly": "; \n; LevelCell::recallLevel from 0x1001363bc to 0x100136418 (92 bytes)\n; \n; 3 xrefs:\n; > LevelCell::onClick @ 0x1001368f4\n; > LevelBrowserLayer::cellPerformedAction @ 0x10049b4a4\n; > LevelBrowserLayer::claimRecallChest @ 0x10049b67c\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001363bc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001363c0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001363c4\nMOV             X19, X0                                                ; +0xc, 0x1001363c8\nLDR             X0, [X0,#0x230]                                        ; +0x10, 0x1001363cc\nBL              GJGameLevel__duplicate                                 ; +0x14, 0x1001363d0\nMOV             X20, X0                                                ; +0x18, 0x1001363d4\nLDR             X8, [X19,#0x230]                                       ; +0x1c, 0x1001363d8\nLDR             W19, [X8,#0x50C]                                       ; +0x20, 0x1001363dc\nSTR             W19, [X0,#0x3A0]                                       ; +0x24, 0x1001363e0\nBL              _rand                                                  ; +0x28, 0x1001363e4\nSCVTF           S0, W0, #0x1F                                          ; +0x2c, 0x1001363e8\nMOV             W8, #0x447A0000                                        ; +0x30, 0x1001363ec\nFMOV            S1, W8                                                 ; +0x34, 0x1001363f0\nFMUL            S0, S0, S1                                             ; +0x38, 0x1001363f4\nFCVTZS          W8, S0                                                 ; +0x3c, 0x1001363f8\nSTR             W8, [X20,#0x39C]                                       ; +0x40, 0x1001363fc\nADD             W8, W19, W8                                            ; +0x44, 0x100136400\nSTR             W8, [X20,#0x398]                                       ; +0x48, 0x100136404\nMOV             X0, X20                                                ; +0x4c, 0x100136408\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x10013640c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x100136410\nRET                                                                    ; +0x58, 0x100136414", "xrefs": ["LevelCell::onClick @ 0x1001368f4", "LevelBrowserLayer::cellPerformedAction @ 0x10049b4a4", "LevelBrowserLayer::claimRecallChest @ 0x10049b67c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}