//
// InfoLayer::toggleCommentMode from 0x431734 to 0x431770 (60 bytes)
//
// 0 xrefs:
//
// 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; // r0
bool v4; // r2
if ( a2->getTag(a2) )
{
v3 = GameManager::sharedState();
v4 = 0;
}
else
{
v3 = GameManager::sharedState();
v4 = 1;
}
GameManager::setGameVariable(v3, "0069", v4);
InfoLayer::updateCommentModeButtons(a1);
InfoLayer::loadPage(a1, 0, 0);
}