// // GJNotificationCell::refreshChest from 0x42727c to 0x42736e (242 bytes) // // 2 xrefs: // > CustomListView::reloadAll @ 0x4311a4 // > GJNotificationCell::loadFromNotification @ 0x432448 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:05 +0000 // int __fastcall GJNotificationCell::refreshChest(GJNotificationCell *this) { int result; // r0 GameStatsManager *v3; // r5 int v4; // r7 int isSpecialChestUnlocked; // r7 int v6; // r0 _DWORD *v7; // r2 int **v8; // r4 int **v9; // r5 int *v10; // r10 int *v11; // t1 int v12; // r3 _BYTE v13[4]; // [sp+4h] [bp-18h] BYREF _BYTE v14[12]; // [sp+8h] [bp-14h] BYREF result = *((_DWORD *)this + 107); if ( result && *((_DWORD *)this + 106) ) { v3 = (GameStatsManager *)(*(int (__fastcall **)(int))(*(_DWORD *)result + 536))(result); v4 = GameStatsManager::sharedState(v3); GJNotification::rewardKey((GJNotification *)v14); isSpecialChestUnlocked = GameStatsManager::isSpecialChestUnlocked(v4, v14); std::string::~string((int)v14); if ( isSpecialChestUnlocked ) { *((_BYTE *)v3 + 516) = 0; GJChestSprite::switchToState(v3, 4, 1); v6 = (*(int (__fastcall **)(GameStatsManager *))(*(_DWORD *)v3 + 244))(v3); if ( v6 ) { v7 = *(_DWORD **)(v6 + 52); if ( *v7 ) { v8 = (int **)v7[3]; v9 = &(&v8[*v7])[-1]; while ( v8 <= v9 ) { v11 = *v8++; v10 = v11; if ( !v11 ) break; (*(void (__fastcall **)(int *, int))(*v10 + 456))(v10, 150); v12 = *v10; memset(v13, 150, 3); (*(void (__fastcall **)(int *, _BYTE *))(v12 + 480))(v10, v13); } } } } return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 107) + 528))( *((_DWORD *)this + 107), (unsigned __int8)isSpecialChestUnlocked ^ 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source