//
// InfoLayer::toggleCommentMode from 0x7e5d70 to 0x7e5dfc (140 bytes)
//
// 4 xrefs:
// > ??> @ 0x54720
// > InfoLayer::init @ 0x7e42dc
// > InfoLayer::init @ 0x7e4330
// > ??> @ 0x122ab70
//
// 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 InfoLayer::toggleCommentMode(InfoLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
if ( a2->getTag(a2) )
{
v3 = GameManager::sharedState();
GameManager::setGameVariable(v3, "0069", 0);
}
else
{
v4 = GameManager::sharedState();
GameManager::setGameVariable(v4, "0069", 1);
}
InfoLayer::updateCommentModeButtons(a1);
InfoLayer::loadPage(a1, 0, 0);
}