//
// ThreadViewPopup::onMessageOptions from 0xc79968 to 0xc79a2c (196 bytes)
//
// 3 xrefs:
// > ??> @ 0xc59b0
// > ThreadViewPopup::mountVirtualRow @ 0xc8b994
// > ??> @ 0x1545c70
//
// 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 13:05:35 +0000
//
__int64 __fastcall ThreadViewPopup::onMessageOptions(ThreadViewPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
cocos2d::CCObject *v4; // x21
__int64 v5; // x0
__int64 v7[3]; // [xsp+30h] [xbp+30h] BYREF
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 640LL))(a2);
v4 = (cocos2d::CCObject *)v3;
if ( v3 )
{
ThreadViewPopup::senderNameFor(this, *(_DWORD *)(v3 + 64), v7);
v5 = ThreadMessageOptionsPopup::create(v4, (char *)v7, (__int64)this);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
if ( (v7[0] & 1) != 0 )
operator delete((void *)v7[2]);
}
return _stack_chk_guard;
}