//
// sub_140231E00 from 0x140231e00 to 0x140231e80 (128 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::buttonIsRelevant @ 0x140231fb3
// > GJBaseGameLayer::buttonIsRelevant @ 0x140231fcf
// > ??> @ 0x1406cdefc
//
// 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 sub_140231E00(__int64 a1, __int64 a2)
{
if ( *(_BYTE *)(a2 + 4) && cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 2616))
|| *(_BYTE *)(a1 + 2489)
|| *(_BYTE *)(a1 + 2490)
|| *(_BYTE *)(a1 + 2492)
|| *(_BYTE *)(a1 + 2500) )
{
return 1;
}
if ( *(_BYTE *)(a2 + 4) )
return *(_BYTE *)(a1 + 2497) != 0;
return 0;
}