//
// SetupSmartBlockLayer::onNearbyReference from 0x9dbe44 to 0x9dbe7c (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x9d650
// > SetupSmartBlockLayer::init @ 0x9dd690
// > ??> @ 0x122d628
//
// 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::onNearbyReference(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
a1->m_useNearby ^= 1u;
v3 = GameManager::sharedState();
GameManager::setGameVariable(v3, "0131", a1->m_useNearby);
}