// // GJGameLevel::levelHasDiamonds from 0x1000d497c to 0x1000d49d8 (92 bytes) // // 4 xrefs: // > sub_10002A788 @ 0x10002af40 // > LevelInfoLayer::updateLabelValues @ 0x10002d30c // > PlayLayer::levelComplete @ 0x100142ee4 // > PlayLayer::destroyPlayer @ 0x100147f10 // // 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 10:58:55 +0000 // __int64 __fastcall GJGameLevel::levelHasDiamonds(__int64 a1) { __int64 v3; // x0 if ( (*(_BYTE *)(a1 + 649) & 1) != 0 ) return 1; if ( *(_DWORD *)(a1 + 920) <= *(_DWORD *)(a1 + 924) ) return 0; v3 = GameStatsManager::sharedState(a1); return (unsigned int)GameStatsManager::isDailyRecall( v3, (unsigned int)(*(_DWORD *)(a1 + 920) - *(_DWORD *)(a1 + 924))) ^ 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source