//
// GJGameLevel::areCoinsVerified from 0x4abb30 to 0x4abb7a (74 bytes)
//
// 2 xrefs:
// > PlayLayer::levelComplete @ 0x407df6
// > EndLevelLayer::customSetup @ 0x536be2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:58 +0000
//
bool __fastcall GJGameLevel::areCoinsVerified(GJGameLevel *this)
{
int v1; // r1
int v2; // r2
int v3; // r3
int v4; // r0
int v5; // r3
v1 = *((_DWORD *)this + 215);
if ( *((_DWORD *)this + 208) - *((_DWORD *)this + 209) == 1 )
v2 = *((_DWORD *)this + 211)
- *((_DWORD *)this + 212)
+ (*((_DWORD *)this + 211) - *((_DWORD *)this + 212) == 1)
+ *((_DWORD *)this + 212)
- *((_DWORD *)this + 211)
+ 1;
else
v2 = *((_DWORD *)this + 211)
- *((_DWORD *)this + 212)
+ (*((_DWORD *)this + 211) - *((_DWORD *)this + 212) == 1)
+ *((_DWORD *)this + 212)
- *((_DWORD *)this + 211);
v3 = *((_DWORD *)this + 214);
v4 = *((_DWORD *)this + 197);
if ( v3 - v1 == 1 )
v5 = v2 + 1;
else
v5 = v2;
return v4 <= 0 || v4 <= v5;
}