// // GJGameLevel::areCoinsVerified from 0x3c95cc to 0x3c9616 (74 bytes) // // 2 xrefs: // > PlayLayer::levelComplete @ 0x313538 // > EndLevelLayer::customSetup @ 0x429778 // // 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 GJGameLevel::areCoinsVerified(GJGameLevel *a1) { int seed; // r1 int v2; // r2 int random; // r3 int m_coins; // r0 int v5; // r3 seed = a1->m_thirdCoinVerified.seed; if ( a1->m_firstCoinVerified.random - a1->m_firstCoinVerified.seed == 1 ) v2 = a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed + (a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed == 1) + a1->m_secondCoinVerified.seed - a1->m_secondCoinVerified.random + 1; else v2 = a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed + (a1->m_secondCoinVerified.random - a1->m_secondCoinVerified.seed == 1) + a1->m_secondCoinVerified.seed - a1->m_secondCoinVerified.random; random = a1->m_thirdCoinVerified.random; m_coins = a1->m_coins; if ( random - seed == 1 ) v5 = v2 + 1; else v5 = v2; return m_coins <= 0 || m_coins <= v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source