// // MemberListPopup::onKickMember from 0x1400ed070 to 0x1400ed293 (547 bytes) // // 3 xrefs: // > MemberListPopup::buildRows @ 0x1400ec99a // > @ 0x140914fc0 // > @ 0x140914fcc // // 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:26:35 +0000 // __int64 __fastcall MemberListPopup::onKickMember(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v4; // rdi const char *v5; // rdx cocos2d::CCString *v6; // rax const char *CString; // rax size_t v8; // r8 __int64 *v9; // rbx __int64 v10; // rax void *v11; // [rsp+58h] [rbp-80h] __int128 v12; // [rsp+60h] [rbp-78h] BYREF __int64 v13; // [rsp+70h] [rbp-68h] __int64 v14; // [rsp+78h] [rbp-60h] _BYTE v15[32]; // [rsp+80h] [rbp-58h] BYREF _QWORD v16[4]; // [rsp+A0h] [rbp-38h] BYREF result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2); if ( !*(_BYTE *)(a1 + 864) && *(int *)(a1 + 868) <= 0 && *(int *)(a1 + 872) <= 0 && *(int *)(a1 + 876) <= 0 && !*(_BYTE *)(a1 + 848) && result ) { *(_DWORD *)(a1 + 868) = *(_DWORD *)(result + 392); v4 = a1 + 792; sub_14003F4F0((__int64)v16, result + 320); v5 = (const char *)v16; if ( v16[3] > 0xFu ) v5 = (const char *)v16[0]; v6 = cocos2d::CCString::createWithFormat("Kick %s from this group chat?", v5); CString = cocos2d::CCString::getCString(v6); v12 = 0; v13 = 0; v14 = 0; v8 = -1; do ++v8; while ( CString[v8] ); sub_14003D230(&v12, CString, v8); v11 = operator new(0x298u); v9 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v11); if ( v9 ) { v10 = sub_14003F4F0((__int64)v15, (__int64)&v12); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v9, v4, "Kick Member", v10, (__int64)"Back", (__int64)"Kick", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v9 + 8))(v9, 1); v9 = nullptr; } } sub_14003D310((__int64)&v12); sub_14003D310((__int64)v16); (*(void (__fastcall **)(__int64 *, __int64))(*v9 + 64))(v9, 4); ButtonSprite::updateBGImage(v9[77], "GJ_button_06.png"); return (*(__int64 (__fastcall **)(__int64 *))(*v9 + 1064))(v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source