//
// AccountReviewPopup::openUserComments from 0x732528 to 0x73257a (82 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::onNotes @ 0x73257c
// > AccountReviewPopup::onCommentHistory @ 0x73258e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:58:21 +0000
//
int __fastcall AccountReviewPopup::openUserComments(GJGameLevel **this, int a2)
{
cocos2d::CCDirector *v3; // r4
cocos2d::CCScene *v4; // r5
int v5; // r0
int v6; // r3
int result; // r0
GJEditorSoundConfig *savedregs; // [sp+0h] [bp+0h]
v3 = (cocos2d::CCDirector *)InfoLayer::create(nullptr, *(this + 161), nullptr, nullptr, savedregs);
v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 220);
if ( (int)cocos2d::CCScene::getHighestChildZ(v4) <= 109 )
v5 = 110;
else
v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;
v6 = *(_DWORD *)v3;
*((_DWORD *)v3 + 116) = v5;
result = (*(int (__fastcall **)(cocos2d::CCDirector *))(v6 + 656))(v3);
if ( a2 )
return InfoLayer::toggleModRoom(v3, nullptr);
return result;
}