//
// CommentCell::onGoToLevel from 0x32f374 to 0x32f3f0 (124 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 CommentCell::onGoToLevel(CommentCell *a1, cocos2d::CCObject *a2)
{
GJComment *m_comment; // r2
int m_levelID; // r1
GJSearchObject *v4; // r7
cocos2d::CCDirector *v5; // r4
cocos2d::CCScene *v6; // r0
cocos2d::CCTransitionFade *v7; // r0
int v8; // r6
_DWORD v9[3]; // [sp+0h] [bp-Ch] BYREF
v9[0] = a1;
v9[1] = a2;
m_comment = a1->m_comment;
if ( m_comment )
{
m_levelID = m_comment->m_levelID;
if ( m_levelID )
{
if ( m_levelID < 0 )
{
m_levelID = -m_levelID;
v8 = 1;
}
else
{
v8 = 0;
}
GameToolbox::intToString((GameToolbox *)v9, m_levelID);
v4 = GJSearchObject::create((SearchType)0);
sub_774008(v9);
v4->m_searchMode = v8;
v5 = cocos2d::CCDirector::sharedDirector();
v6 = LevelBrowserLayer::scene(v4);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
cocos2d::CCDirector::pushScene(v5, v7);
}
}
}