// // GJNotificationCell::onMute from 0x14015c1a0 to 0x14015c4b4 (788 bytes) // // 2 xrefs: // > GJNotificationCell::loadFromNotification @ 0x14015bef8 // > @ 0x140917b28 // // 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 11:27:23 +0000 // // Hidden C++ exception states: #wind=5 void __fastcall GJNotificationCell::onMute(__int64 a1) { __int64 v2; // rax __int64 v3; // rax char v4; // bl void *v5; // rcx void **v6; // rdx cocos2d::CCString *v7; // rax const char *CString; // rax size_t v9; // rbx size_t v10; // r8 int v11; // esi void **v12; // rdx __int64 v13; // rax __int64 *v14; // rbx void *v15; // rcx void *v16; // rcx void *Block[2]; // [rsp+50h] [rbp-59h] BYREF __m128i si128; // [rsp+60h] [rbp-49h] void **v19; // [rsp+70h] [rbp-39h] void *v20[2]; // [rsp+80h] [rbp-29h] BYREF __int128 v21; // [rsp+90h] [rbp-19h] void *v22[2]; // [rsp+A0h] [rbp-9h] BYREF __int128 v23; // [rsp+B0h] [rbp+7h] _BYTE v24[32]; // [rsp+C0h] [rbp+17h] BYREF LODWORD(v19) = 0; v2 = *(_QWORD *)(a1 + 568); if ( v2 && *(int *)(v2 + 256) > 0 ) { if ( *(_QWORD *)(v2 + 280) ) { v3 = sub_14003F4F0((__int64)v24, v2 + 264); v4 = 2; } else { Block[1] = (void *)114; si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0); Block[0] = (void *)0x6573752073696874LL; v3 = (__int64)Block; v4 = 1; } *(_OWORD *)v20 = 0; v21 = 0; *(_OWORD *)v20 = *(_OWORD *)v3; v21 = *(_OWORD *)(v3 + 16); *(_QWORD *)(v3 + 16) = 0; *(_QWORD *)(v3 + 24) = 15; *(_BYTE *)v3 = 0; if ( (v4 & 2) != 0 ) { v4 &= ~2u; sub_14003D310((__int64)v24); } if ( (v4 & 1) != 0 && si128.m128i_i64[1] > 0xFuLL ) { v5 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v5 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v5); } v6 = v20; if ( *((_QWORD *)&v21 + 1) > 0xFu ) v6 = (void **)v20[0]; v7 = cocos2d::CCString::createWithFormat( "Stop notifications from %s?\n" "You stay friends / followers. Unmute from the Muted tab in your friends list.", (const char *)v6); CString = cocos2d::CCString::getCString(v7); *(_OWORD *)v22 = 0; v23 = 0; v9 = -1; v10 = -1; do ++v10; while ( CString[v10] ); sub_14003D230(v22, CString, v10); v11 = a1 + 560; if ( !a1 ) v11 = 0; v12 = v22; if ( *((_QWORD *)&v23 + 1) > 0xFu ) v12 = (void **)v22[0]; *(_OWORD *)Block = 0; si128 = 0u; do ++v9; while ( *((_BYTE *)v12 + v9) ); sub_14003D230(Block, v12, v9); v19 = Block; v13 = sub_14003F4F0((__int64)v24, (__int64)Block); v14 = (__int64 *)FLAlertLayer::create( v11, (int)"Mute", v13, (__int64)"Cancel", (__int64)"Mute", 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)Block); ButtonSprite::updateBGImage(v14[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *))(*v14 + 1064))(v14); if ( *((_QWORD *)&v23 + 1) > 0xFu ) { v15 = v22[0]; if ( (unsigned __int64)(*((_QWORD *)&v23 + 1) + 1LL) >= 0x1000 ) { v15 = *((void **)v22[0] - 1); if ( (unsigned __int64)((char *)v22[0] - (char *)v15 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v15); } if ( *((_QWORD *)&v21 + 1) > 0xFu ) { v16 = v20[0]; if ( (unsigned __int64)(*((_QWORD *)&v21 + 1) + 1LL) >= 0x1000 ) { v16 = *((void **)v20[0] - 1); if ( (unsigned __int64)((char *)v20[0] - (char *)v16 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v16); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source