// // LevelBrowserLayer::claimRecallChest from 0x10049b660 to 0x10049b7a8 (328 bytes) // // 1 xrefs: // > LevelBrowserLayer::cellPerformedAction @ 0x10049b440 // // 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 11:05:59 +0000 // void __fastcall LevelBrowserLayer::claimRecallChest(__int64 a1, __int64 a2) { char *v3; // x20 _QWORD *v4; // x0 __int64 v5; // x0 __int64 v6; // x21 _QWORD *v7; // x20 __int64 v8; // x0 __int64 v9; // x0 void *v10; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v12; // [xsp+1Fh] [xbp-21h] v3 = LevelCell::recallLevel(a2); v4 = (_QWORD *)GameStatsManager::sharedState(); v5 = GameStatsManager::completedDailyLevel(v4, v3); if ( v5 ) { v6 = v5; v7 = RewardUnlockLayer::create(*(unsigned int *)(v5 + 64), 0); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 100); RewardUnlockLayer::showCollectReward((__int64)v7, v6); LABEL_5: LevelBrowserLayer::reloadPageRows(a1); return; } if ( *((_DWORD *)v3 + 230) - *((_DWORD *)v3 + 231) < 200001 ) goto LABEL_5; v8 = GameStatsManager::sharedState(); if ( sub_1003D2428(v8, *((_DWORD *)v3 + 230) - *((_DWORD *)v3 + 231)) ) goto LABEL_5; v9 = GameLevelManager::sharedState(); GameLevelManager::downloadLevel( v9, (unsigned int)(*((_DWORD *)v3 + 82) - *((_DWORD *)v3 + 83)), 0, *((_DWORD *)v3 + 230) - *((_DWORD *)v3 + 231)); sub_100009900(__p, "Fetching the chest, tap it again in a moment."); v10 = FLAlertLayer::create_1(0, (__int64)"Chest", (__int64)__p, (__int64)"OK", 0, 300.0); (*(void (__fastcall **)(void *))(*(_QWORD *)v10 + 1312LL))(v10); if ( v12 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source