// // GJMessageCell::onDeleteMessage from 0x1400bdfa0 to 0x1400be138 (408 bytes) // // 2 xrefs: // > GJMessageCell::loadFromMessage @ 0x1400bd855 // > @ 0x1406c7e48 // // 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 GJMessageCell::onDeleteMessage(GJMessageCell *a1, cocos2d::CCObject *a2) { GJUserMessage *m_message; // 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_message = a1->m_message; if ( m_message && m_message->m_accountID > 0 ) { v3 = &a1->FLAlertLayerProtocol; v6 = 0; *(_QWORD *)&v6 = sub_14003AA10(0x40u); v7 = 53; v8 = 63; strcpy((char *)v6, "Are you sure you want to delete this message?"); 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, "Delete", v5, "Back", "Delete", 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, 1); v4->show(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source