//
// ThreadViewPopup::dmSendBlocked from 0x746e64 to 0x746e84 (32 bytes)
//
// 8 xrefs:
// > ThreadViewPopup::jumpToLatest @ 0x7495b2
// > ThreadViewPopup::refreshLockNotice @ 0x75295c
// > ThreadViewPopup::exitSearch @ 0x75be14
// > ThreadViewPopup::onSend @ 0x75db52
// > ThreadViewPopup::threadSendFinished @ 0x75e020
// > ThreadViewPopup::threadMessagesFinished @ 0x75e474
// > ThreadViewPopup::threadMessagesFinished @ 0x75e75c
// > ThreadViewPopup::threadMessagesFinished @ 0x75eb1a
//
// 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:58:43 +0000
//
int __fastcall ThreadViewPopup::dmSendBlocked(ThreadViewPopup *this)
{
int v1; // r3
int result; // r0
int v3; // r3
v1 = *((_DWORD *)this + 141);
result = *(unsigned __int8 *)(v1 + 168);
if ( *(_BYTE *)(v1 + 168) )
{
v3 = *(_DWORD *)(v1 + 172);
if ( v3 != 2 && (unsigned int)(v3 - 4) > 1 )
return v3 == 7;
}
return result;
}