//
// GJCompactUserCell::onSendMessage from 0x140158c00 to 0x140158c74 (116 bytes)
//
// 2 xrefs:
// > GJCompactUserCell::loadFromScore @ 0x140157e0c
// > ??> @ 0x1409179e4
//
// 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 11:27:21 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall GJCompactUserCell::onSendMessage(__int64 a1)
{
__int64 v2; // rdx
_BYTE v3[32]; // [rsp+28h] [rbp-30h] BYREF
v2 = *(_QWORD *)(a1 + 560);
if ( v2 )
{
if ( *(int *)(v2 + 392) > 0 )
{
sub_14003F4F0((__int64)v3, v2 + 320);
ThreadOpenHelper::check(*(_DWORD *)(*(_QWORD *)(a1 + 560) + 392LL), (__int64)v3);
sub_14003D310((__int64)v3);
}
}
}