// // GJGameLevel::levelHasDiamonds from 0x806898 to 0x8068f8 (96 bytes) // // 5 xrefs: // > PlayLayer::destroyPlayer @ 0x6ff920 // > PlayLayer::levelComplete @ 0x703eec // > LevelInfoLayer::updateLabelValues @ 0x7e8b80 // > LevelInfoLayer::setupLevelInfo @ 0x7e98f8 // > @ 0xd0660 // // 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 12:54:45 +0000 // __int64 __fastcall GJGameLevel::levelHasDiamonds(GJGameLevel *this) { unsigned int v1; // w1 GameStatsManager *v3; // x0 v1 = 1; if ( !*((_BYTE *)this + 649) ) { v1 = 0; if ( *((_DWORD *)this + 230) - *((_DWORD *)this + 231) > 0 ) { v3 = (GameStatsManager *)GameStatsManager::sharedState(this); return (unsigned __int8)GameStatsManager::isDailyRecall(v3, *((_DWORD *)this + 230) - *((_DWORD *)this + 231)) ^ 1u; } } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source