//
// CommentOptionsPopup::create from 0x100522258 to 0x100522320 (200 bytes)
//
// 1 xrefs:
// > CommentCell::onMoreOptions @ 0x1001389ac
//
// This function is hookable on this platform (idp: arm, 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:07:12 +0000
//
_QWORD *__fastcall CommentOptionsPopup::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
double v5; // d0
v4 = operator new(0x400u);
v5 = SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = off_10099EBC8;
v4[40] = off_10099F1B8;
v4[41] = &off_10099F228;
v4[42] = off_10099F240;
v4[43] = off_10099F260;
v4[44] = off_10099F288;
v4[51] = off_10099F2B8;
v4[54] = off_10099F338;
v4[68] = off_10099F358;
v4[83] = &off_10099F3A0;
v4[84] = off_10099F3B8;
v4[127] = 0;
if ( (unsigned int)CommentOptionsPopup::init(v4, a1, a2, v5) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}