//
// GJGameLevel::areCoinsVerified from 0x8067ac to 0x806804 (88 bytes)
//
// 3 xrefs:
// > PlayLayer::levelComplete @ 0x704148
// > EndLevelLayer::customSetup @ 0x8fd5e8
// > ??> @ 0x101170
//
// 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::areCoinsVerified(GJGameLevel *this)
{
int v1; // w1
v1 = *((_DWORD *)this + 252) - *((_DWORD *)this + 253) == 1;
if ( *((_DWORD *)this + 255) - *((_DWORD *)this + 256) == 1 )
++v1;
if ( *((_DWORD *)this + 258) - *((_DWORD *)this + 259) == 1 )
++v1;
return (v1 >= *((_DWORD *)this + 241)) | (unsigned int)(*((_DWORD *)this + 241) <= 0);
}