//
// CommentOptionsPopup::create from 0x7a0578 to 0x7a061c (164 bytes)
//
// 1 xrefs:
// > CommentCell::onMoreOptions @ 0x424682
//
// 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:59:53 +0000
//
SetupTriggerPopup *__fastcall CommentOptionsPopup::create(CommentOptionsPopup *this, GJComment *a2, bool a3)
{
SetupTriggerPopup *v5; // r4
int v6; // r3
SetupTriggerPopup *v7; // r0
v5 = (SetupTriggerPopup *)operator new(0x2CCu);
SetupTriggerPopup::SetupTriggerPopup(v5);
*(_DWORD *)v5 = &off_CFD510;
*((_DWORD *)v5 + 66) = &off_CFD808;
*((_DWORD *)v5 + 67) = &off_CFD840;
*((_DWORD *)v5 + 68) = &off_CFD84C;
*((_DWORD *)v5 + 69) = &off_CFD85C;
*((_DWORD *)v5 + 70) = &off_CFD870;
*((_DWORD *)v5 + 79) = &off_CFD888;
*((_DWORD *)v5 + 83) = &off_CFD8C8;
*((_DWORD *)v5 + 110) = &off_CFD8D8;
*((_DWORD *)v5 + 130) = &off_CFD8FC;
*((_DWORD *)v5 + 131) = &off_CFD908;
*((_DWORD *)v5 + 178) = 0;
if ( CommentOptionsPopup::init((cocos2d::CCPoint **)v5, this, (int)a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v6 + 8))(v7);
}
return v5;
}