//
// GJCompactUserCell::onSendMessage from 0x73baf4 to 0x73bbcc (216 bytes)
//
// 3 xrefs:
// > ??> @ 0x77158
// > GJCompactUserCell::loadFromScore @ 0x7452a4
// > ??> @ 0x1543058
//
// 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 12:52:41 +0000
//
__int64 __fastcall GJCompactUserCell::onSendMessage(GJCompactUserCell *this, cocos2d::CCObject *a2)
{
__int64 v2; // x0
int v3; // w20
char v4; // w1
__int64 v5; // x2
__int64 v6; // x0
__int64 v7; // x1
__int64 v9; // [xsp+30h] [xbp+30h] BYREF
__int64 v10; // [xsp+38h] [xbp+38h]
void *v11; // [xsp+40h] [xbp+40h]
v2 = *((_QWORD *)this + 69);
if ( v2 )
{
v3 = *(_DWORD *)(v2 + 376);
if ( v3 > 0 )
{
v4 = *(_BYTE *)(v2 + 320);
v9 = 0;
v5 = v2 + 320;
v10 = 0;
v11 = nullptr;
if ( (v4 & 1) != 0 )
{
std::string::__init(&v9, *(void **)(v2 + 336), *(_QWORD *)(v2 + 328));
}
else
{
v6 = *(_QWORD *)v5;
v7 = *(_QWORD *)(v5 + 8);
v11 = *(void **)(v5 + 16);
v9 = v6;
v10 = v7;
}
ThreadOpenHelper::check((unsigned int)v3, &v9);
if ( (v9 & 1) != 0 )
operator delete(v11);
}
}
return _stack_chk_guard;
}