//
// SetupSmartBlockLayer::onNearbyReference from 0x1000703a4 to 0x1000703dc (56 bytes)
//
// 1 xrefs:
// > SetupSmartBlockLayer::init @ 0x10006f9f8
//
// 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 __fastcall SetupSmartBlockLayer::onNearbyReference(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
a1->m_useNearby ^= 1u;
v3 = GameManager::sharedState();
GameManager::setGameVariable(v3, "0131", a1->m_useNearby);
}