// // GJUserCell::onCancelFriendRequest from 0x1400bb750 to 0x1400bb8e9 (409 bytes) // // 2 xrefs: // > GJUserCell::loadFromScore @ 0x1400bb1f0 // > @ 0x1406c7d58 // // 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 // // Hidden C++ exception states: #wind=2 void GJUserCell::onCancelFriendRequest(GJUserCell *a1, cocos2d::CCObject *a2) { GJUserScore *m_userScore; // rax FLAlertLayerProtocol *v3; // rdi FLAlertLayer *v4; // rbx __int64 v5; // rax __int128 v6; // [rsp+50h] [rbp-48h] BYREF __int64 v7; // [rsp+60h] [rbp-38h] __int64 v8; // [rsp+68h] [rbp-30h] _BYTE v9[40]; // [rsp+70h] [rbp-28h] BYREF FLAlertLayer *v10; // [rsp+B0h] [rbp+18h] m_userScore = a1->m_userScore; if ( m_userScore && m_userScore->m_accountID > 0 ) { v3 = &a1->FLAlertLayerProtocol; v6 = 0; *(_QWORD *)&v6 = sub_14003AA10(0x40u); v7 = 52; v8 = 63; strcpy((char *)v6, "Are you sure you want to remove this friend request?"); v10 = (FLAlertLayer *)operator new(0x278u); v4 = FLAlertLayer::FLAlertLayer(v10); if ( v4 ) { v5 = sub_14003BDB0((__int64)v9, (__int64)&v6); if ( FLAlertLayer::init((__int64)v4, (__int64)v3, "Cancel friend request", v5, "Back", "Remove", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease(v4); } else { ((void (__fastcall *)(FLAlertLayer *, __int64))v4->~FLAlertLayer)(v4, 1); v4 = nullptr; } } sub_14003A830((__int64)&v6); ButtonSprite::updateBGImage(v4->m_button2, "GJ_button_06.png"); v4->setTag(v4, 3); v4->show(v4); } }