{"type": "func", "start": 4296238104, "end": 4296238208, "name": "LevelCell::recallChestReady", "pseudocode": "// \n// LevelCell::recallChestReady from 0x100136418 to 0x100136480 (104 bytes)\n// \n// 1 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x100133920\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\n__int64 __fastcall LevelCell::recallChestReady(__int64 a1)\n{\n  __int64 v1; // x19\n  __int64 result; // x0\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x0\n\n  v1 = *(unsigned int *)(*(_QWORD *)(a1 + 560) + 1292LL);\n  if ( (int)v1 < 100001 )\n    return 0;\n  v3 = GameStatsManager::sharedState(a1);\n  result = GameStatsManager::isDailyRecall(v3, v1);\n  if ( (_DWORD)result )\n  {\n    v4 = GameStatsManager::sharedState(result);\n    result = GameStatsManager::hasCompletedDailyStars(v4, v1);\n    if ( (_DWORD)result )\n    {\n      v5 = GameStatsManager::sharedState(result);\n      return (unsigned int)sub_1003D2428(v5, v1) ^ 1;\n    }\n  }\n  return result;\n}", "assembly": "; \n; LevelCell::recallChestReady from 0x100136418 to 0x100136480 (104 bytes)\n; \n; 1 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x100133920\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, 0x100136418\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10013641c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100136420\nLDR             X8, [X0,#0x230]                                        ; +0xc, 0x100136424\nLDR             W19, [X8,#0x50C]                                       ; +0x10, 0x100136428\nMOV             W8, #0x186A1                                           ; +0x14, 0x10013642c\nCMP             W19, W8                                                ; +0x1c, 0x100136434\nB.GE            loc_100136444                                          ; +0x20, 0x100136438\nMOV             W0, #0                                                 ; +0x24, 0x10013643c\nB               loc_100136474                                          ; +0x28, 0x100136440\nBL              GameStatsManager__sharedState                          ; +0x2c, 0x100136444\nMOV             X1, X19                                                ; +0x30, 0x100136448\nBL              GameStatsManager__isDailyRecall                        ; +0x34, 0x10013644c\nCBZ             W0, loc_100136474                                      ; +0x38, 0x100136450\nBL              GameStatsManager__sharedState                          ; +0x3c, 0x100136454\nMOV             X1, X19                                                ; +0x40, 0x100136458\nBL              GameStatsManager__hasCompletedDailyStars               ; +0x44, 0x10013645c\nCBZ             W0, loc_100136474                                      ; +0x48, 0x100136460\nBL              GameStatsManager__sharedState                          ; +0x4c, 0x100136464\nMOV             X1, X19                                                ; +0x50, 0x100136468\nBL              sub_1003D2428                                          ; +0x54, 0x10013646c\nEOR             W0, W0, #1                                             ; +0x58, 0x100136470\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100136474\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100136478\nRET                                                                    ; +0x64, 0x10013647c", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x100133920"], "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"}