//
// GJRequestCell::onDeleteRequest from 0x100257870 to 0x100257966 (246 bytes)
//
// 1 xrefs:
// > GJRequestCell::loadFromScore @ 0x10024c74d
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJRequestCell::onDeleteRequest(GJRequestCell *a1, cocos2d::CCObject *a2)
{
GJUserScore *m_score; // rax
ButtonSprite **v3; // rbx
_QWORD v4[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
m_score = a1->m_score;
if ( m_score && m_score->m_accountID > 0 )
{
__p = operator new(0x40u);
v4[0] = 65;
v4[1] = 60;
strcpy((char *)__p, "Are you sure you want to delete this friend request?");
v3 = (ButtonSprite **)FLAlertLayer::create(
&a1->FLAlertLayerProtocol,
"Delete",
v4,
"Back",
"Delete",
0,
380.0,
0.0,
1.0);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
ButtonSprite::updateBGImage(v3[75], "GJ_button_06.png");
(*(void (__fastcall **)(ButtonSprite **, __int64))&(*v3)->m_fVertexZ)(v3, 1);
(*(void (__fastcall **)(ButtonSprite **))&(*v3)[1].m_fTextureTop)(v3);
}
}