//
// GJGameLevel::areCoinsVerified from 0x1000af788 to 0x1000af7e4 (92 bytes)
//
// 2 xrefs:
// > PlayLayer::levelComplete @ 0x100119c6c
// > EndLevelLayer::customSetup @ 0x1002f62e8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall GJGameLevel::areCoinsVerified(GJGameLevel *a1)
{
int m_coins; // w8
unsigned int v2; // w9
m_coins = a1->m_coins;
if ( m_coins < 1 )
return 1;
v2 = a1->m_thirdCoinVerified.random - a1->m_thirdCoinVerified.seed == 1;
if ( a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed == 1 )
++v2;
if ( a1->m_firstCoinVerified.random - a1->m_firstCoinVerified.seed == 1 )
++v2;
return m_coins <= v2;
}