// // FriendsProfilePage::onUnmute from 0x140215a80 to 0x140215cb4 (564 bytes) // // 2 xrefs: // > FriendsProfilePage::mountVirtualRow @ 0x14021499a // > @ 0x14091b6ec // // 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:28:21 +0000 // void __fastcall FriendsProfilePage::onUnmute(__int64 a1, __int64 a2) { __int64 v3; // rax cocos2d::CCObject *v4; // rbx cocos2d::CCObject *v5; // rcx const char *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 __int128 v16; // [rsp+58h] [rbp-51h] BYREF __int64 v17; // [rsp+68h] [rbp-41h] __int64 v18; // [rsp+70h] [rbp-39h] _BYTE v19[32]; // [rsp+80h] [rbp-29h] BYREF void *Block[2]; // [rsp+A0h] [rbp-9h] BYREF __int128 v21; // [rsp+B0h] [rbp+7h] _QWORD v22[4]; // [rsp+C0h] [rbp+17h] BYREF v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2); v4 = (cocos2d::CCObject *)v3; if ( v3 && *(int *)(v3 + 392) > 0 ) { v5 = *(cocos2d::CCObject **)(a1 + 840); if ( v5 ) cocos2d::CCObject::release(v5); *(_QWORD *)(a1 + 840) = v4; cocos2d::CCObject::retain(v4); sub_14003F4F0((__int64)v22, (__int64)v4 + 320); v6 = (const char *)v22; if ( v22[3] > 0xFu ) v6 = (const char *)v22[0]; v7 = cocos2d::CCString::createWithFormat("Are you sure you want to unmute %s?", v6); CString = cocos2d::CCString::getCString(v7); *(_OWORD *)Block = 0; v21 = 0; v9 = -1; v10 = -1; do ++v10; while ( CString[v10] ); sub_14003D230(Block, CString, v10); sub_14003D310((__int64)v22); v11 = a1 + 784; if ( !a1 ) v11 = 0; v12 = Block; if ( *((_QWORD *)&v21 + 1) > 0xFu ) v12 = (void **)Block[0]; v16 = 0; v17 = 0; v18 = 0; do ++v9; while ( *((_BYTE *)v12 + v9) ); sub_14003D230(&v16, v12, v9); v13 = sub_14003F4F0((__int64)v19, (__int64)&v16); v14 = (__int64 *)FLAlertLayer::create( v11, (int)"Unmute", v13, (__int64)"Back", (__int64)"Unmute", 1133903872, 0, 0, 1065353216); sub_14003D310((__int64)&v16); (*(void (__fastcall **)(__int64 *, __int64))(*v14 + 64))(v14, 3); ButtonSprite::updateBGImage(v14[77], "GJ_button_05.png"); (*(void (__fastcall **)(__int64 *))(*v14 + 1064))(v14); if ( *((_QWORD *)&v21 + 1) > 0xFu ) { v15 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v21 + 1) + 1LL) >= 0x1000 ) { v15 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v15 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v15); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source