// // GJGameLevel::levelHasDiamonds from 0x10058c2b0 to 0x10058c2f7 (71 bytes) // // 4 xrefs: // > PlayLayer::levelComplete @ 0x100081449 // > PlayLayer::destroyPlayer @ 0x100087e33 // > LevelInfoLayer::setupLevelInfo @ 0x1002ad8d2 // > LevelInfoLayer::updateLabelValues @ 0x1002b007e // // 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:32:24 +0000 // char __fastcall GJGameLevel::levelHasDiamonds(__int64 a1) { char result; // al __int64 v2; // rax result = 1; if ( !*(_BYTE *)(a1 + 649) ) { if ( *(_DWORD *)(a1 + 920) <= *(_DWORD *)(a1 + 924) ) { return 0; } else { v2 = GameStatsManager::sharedState(); return GameStatsManager::isDailyRecall(v2, *(_DWORD *)(a1 + 920) - *(_DWORD *)(a1 + 924)) ^ 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source