//
// InfoLayer::canBulkDelete from 0x53cf9e to 0x53cfc6 (40 bytes)
//
// 3 xrefs:
// > InfoLayer::refreshBulkUI @ 0x53cfe6
// > InfoLayer::setupBulkUI @ 0x53d0c8
// > InfoLayer::keyDown @ 0x540aa8
//
// 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:52:15 +0000
//
int __fastcall InfoLayer::canBulkDelete(InfoLayer *this)
{
int v1; // r0
if ( *((_DWORD *)this + 135) && *((_BYTE *)this + 640) )
return 0;
v1 = GameManager::sharedState(this);
return *(_DWORD *)(v1 + 820)
- *(_DWORD *)(v1 + 824)
+ (*(_DWORD *)(v1 + 820) - *(_DWORD *)(v1 + 824) == 2)
+ *(_DWORD *)(v1 + 824)
- *(_DWORD *)(v1 + 820);
}