//
// AccountReviewPopup::onNotes from 0x1400b9a70 to 0x1400b9ae6 (118 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::init @ 0x1400b03ef
// > ??> @ 0x1409137a8
//
// 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
//
__int64 __fastcall AccountReviewPopup::onNotes(__int64 a1)
{
_DWORD *v1; // rbx
__int64 v2; // rcx
cocos2d::CCScene *v3; // rdi
int v4; // eax
v1 = (_DWORD *)InfoLayer::create(0, *(_QWORD *)(a1 + 880), 0, 0);
v3 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v2) + 272);
if ( cocos2d::CCScene::getHighestChildZ(v3) + 1 >= 110 )
v4 = cocos2d::CCScene::getHighestChildZ(v3) + 1;
else
v4 = 110;
v1[148] = v4;
(*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v1 + 1064LL))(v1);
return InfoLayer::toggleModRoom(v1, 0);
}