//
// SetupSmartBlockLayer::onIgnoreCorners from 0xb1406c to 0xb140a8 (60 bytes)
//
// 3 xrefs:
// > ??> @ 0x815f8
// > SetupSmartBlockLayer::init @ 0xb156f4
// > ??> @ 0x15435c0
//
// 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 13:01:30 +0000
//
__int64 __fastcall SetupSmartBlockLayer::onIgnoreCorners(SetupSmartBlockLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
GameLevelManager *v4; // x0
__int64 result; // x0
v3 = (GameLevelManager *)(*((unsigned __int8 *)this + 678) ^ 1u);
*((_BYTE *)this + 678) = (_BYTE)v3;
v4 = (GameLevelManager *)GameLevelManager::sharedState(v3);
result = GameLevelManager::getActiveSmartTemplate(v4);
if ( result )
*(_BYTE *)(result + 139) = *((_BYTE *)this + 678);
return result;
}