//
// ThreadViewPopup::createModView from 0x10092e8e0 to 0x10092e945 (101 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::onJumpRow @ 0x1009a1b5b
// > AccountReviewPopup::onHistoryJump @ 0x1009a2106
//
// 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 12:38:23 +0000
//
_BYTE *__fastcall ThreadViewPopup::createModView(__int64 a1, __int64 a2)
{
_BYTE *v2; // rbx
v2 = operator new(0x4D0u);
ThreadViewPopup::ThreadViewPopup(v2);
v2[791] = 1;
*((_QWORD *)v2 + 99) = a2;
if ( ThreadViewPopup::init((__int64)v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}