//
// AccountReviewPopup::onCommentHistory from 0x1400b9af0 to 0x1400b9b6e (126 bytes)
//
// 4 xrefs:
// > AccountReviewPopup::init @ 0x1400afdda
// > ??> @ 0x14088f6e8
// > ??> @ 0x14088f6f8
// > ??> @ 0x1409137b4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:26:16 +0000
//
void __fastcall AccountReviewPopup::onCommentHistory(__int64 a1)
{
__int64 v1; // rdx
_DWORD *v2; // rbx
__int64 v3; // rcx
cocos2d::CCScene *v4; // rdi
int v5; // eax
v1 = *(_QWORD *)(a1 + 880);
if ( *(int *)(v1 + 388) > 0 )
{
v2 = (_DWORD *)InfoLayer::create(0, v1, 0, 0);
v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 272);
if ( cocos2d::CCScene::getHighestChildZ(v4) + 1 >= 110 )
v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;
else
v5 = 110;
v2[148] = v5;
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1064LL))(v2);
}
}