// // GJMessageCell::onDeleteMessage from 0x100242330 to 0x100242429 (249 bytes) // // 1 xrefs: // > GJMessageCell::loadFromMessage @ 0x1002323ce // // 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 12:27:18 +0000 // __int64 __fastcall GJMessageCell::onDeleteMessage(__int64 a1) { __int64 result; // rax __int64 *v2; // rbx _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] result = *(_QWORD *)(a1 + 576); if ( result && *(int *)(result + 320) > 0 ) { __p = operator new(0x38u); v3[0] = 57; v3[1] = 53; strcpy((char *)__p, "Are you sure you want to delete this message?"); v2 = (__int64 *)FLAlertLayer::create(a1 + 552, "Delete", v3, "Back", "Delete", 0, 380.0, 0.0, 1.0); if ( (v3[0] & 1) != 0 ) operator delete(__p); ButtonSprite::updateBGImage(v2[77], (__int64)"GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v2 + 72))(v2, 1); return (*(__int64 (__fastcall **)(__int64 *))(*v2 + 1312))(v2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source