// // GJNotificationCell::refreshChest from 0x1002362b0 to 0x1002363e6 (310 bytes) // // 2 xrefs: // > GJNotificationCell::loadFromNotification @ 0x100234a86 // > CustomListView::reloadAll @ 0x100236081 // // This function is hookable on this platform (idp: pc, 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 12:27:12 +0000 // void __fastcall GJNotificationCell::refreshChest(__int64 a1, double a2, double a3, __m128 a4) { __int64 v5; // rdi __int64 v6; // r15 __int64 v7; // r14 bool isSpecialChestUnlocked; // r14 __int64 v9; // rax unsigned int *v10; // rax _QWORD *v11; // r13 _QWORD *v12; // r15 __int64 v13; // r12 _BYTE v14[16]; // [rsp+8h] [rbp-48h] BYREF void *__p; // [rsp+18h] [rbp-38h] __int16 v16; // [rsp+24h] [rbp-2Ch] BYREF char v17; // [rsp+26h] [rbp-2Ah] v5 = *(_QWORD *)(a1 + 568); if ( v5 && *(_QWORD *)(a1 + 560) ) { v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1072LL))(v5); v7 = GameStatsManager::sharedState(); sub_1005759F0(v14, *(_QWORD *)(a1 + 560)); isSpecialChestUnlocked = GameStatsManager::isSpecialChestUnlocked(v7, (__int64)v14); if ( (v14[0] & 1) != 0 ) operator delete(__p); if ( isSpecialChestUnlocked ) { *(_BYTE *)(v6 + 604) = 0; GJChestSprite::switchToState((_DWORD *)v6, 4, 1, a2, a3, a4); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 488LL))(v6); if ( v9 ) { v10 = *(unsigned int **)(v9 + 56); if ( *v10 ) { v11 = *((_QWORD **)v10 + 2); v12 = &v11[*v10 - 1]; do { v13 = *v11; if ( !*v11 ) break; (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v13 + 912LL))(*v11, 150); v17 = -106; v16 = -26986; (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v13 + 960LL))(v13, &v16); ++v11; } while ( v11 <= v12 ); } } } (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 568) + 1056LL))( *(_QWORD *)(a1 + 568), !isSpecialChestUnlocked); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source