//
// SetupSmartBlockLayer::onIgnoreCorners from 0x140457ca0 to 0x140457d13 (115 bytes)
//
// 2 xrefs:
// > SetupSmartBlockLayer::init @ 0x1404577a4
// > ??> @ 0x1406daa0c
//
// 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
//
void SetupSmartBlockLayer::onIgnoreCorners(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // rcx
__int64 v4; // rcx
void *v5; // [rsp+30h] [rbp+8h]
a1->m_ignoreCorners = !a1->m_ignoreCorners;
v3 = qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v5 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v3 = qword_1406C2EC0;
}
v4 = *(_QWORD *)(v3 + 960);
if ( v4 )
*(_BYTE *)(v4 + 131) = a1->m_ignoreCorners;
}