// // ThreadOptionsPopup::onHide from 0xc6ec54 to 0xc6ee28 (468 bytes) // // 3 xrefs: // > @ 0x8d568 // > ThreadOptionsPopup::init @ 0xc7f714 // > @ 0x1543bb0 // // This function is hookable on this platform (idp: arm, 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 13:05:29 +0000 // __int64 __fastcall ThreadOptionsPopup::onHide(ThreadOptionsPopup *this, cocos2d::CCObject *a2) { __int64 v3; // x0 int v4; // w2 const char *v5; // x1 _BOOL4 v6; // w21 char *v7; // x19 const char *CString; // x1 size_t v9; // x0 char *v10; // x1 char *v11; // x4 size_t v12; // x0 ButtonSprite **v13; // x19 cocos2d::CCString *v15; // x0 cocos2d::CCString *v16; // x0 char *v17; // [xsp+38h] [xbp+38h] char *v18; // [xsp+38h] [xbp+38h] __int64 v19; // [xsp+40h] [xbp+40h] BYREF __int64 v20; // [xsp+48h] [xbp+48h] void *v21; // [xsp+50h] [xbp+50h] v3 = *((_QWORD *)this + 129); v4 = *((_DWORD *)this + 263); v5 = (const char *)(v3 + 65); v6 = v4 == 0; if ( (*(_BYTE *)(v3 + 64) & 1) != 0 ) v5 = *(const char **)(v3 + 80); if ( !*(_BYTE *)(v3 + 264) ) { CString = "Clears the conversation on your side.\nIt comes back when a new message arrives."; goto LABEL_9; } if ( v4 == 1 ) { v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Clear this conversation?\n" "Your message history will be permanently deleted.\n" "%s can still message you unless you block or unfriend them.", v5); CString = (const char *)cocos2d::CCString::getCString(v15); LABEL_9: v7 = (char *)this + 1024; if ( !v6 ) goto LABEL_7; goto LABEL_10; } if ( v4 ) { v7 = (char *)this + 1024; CString = "Clear this conversation?\n" "Your message history will be permanently deleted.\n" "Friends can still message you. Non-friends will need to send a new message request."; LABEL_7: v17 = (char *)CString; v19 = 0; v20 = 0; v21 = nullptr; v9 = strlen(CString); std::string::__init(&v19, v17, v9); v10 = "Clear Messages"; v11 = "Clear"; goto LABEL_11; } v7 = (char *)this + 1024; v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Leave this conversation?\n" "Your message history will be permanently deleted.\n" "%s will need to send you a new message request to contact you again.", v5); CString = (const char *)cocos2d::CCString::getCString(v16); LABEL_10: v18 = (char *)CString; v19 = 0; v20 = 0; v21 = nullptr; v12 = strlen(CString); std::string::__init(&v19, v18, v12); v10 = "Leave Conversation"; v11 = "Leave"; LABEL_11: v13 = (ButtonSprite **)FLAlertLayer::create( (__int64)v7, (cocos2d::CCLabelBMFont *)v10, (char *)&v19, (ButtonSprite *)"Back", (ButtonSprite *)v11, 0, 380.0, 0.0, 1.0); if ( (v19 & 1) != 0 ) operator delete(v21); (*((void (__fastcall **)(ButtonSprite **, __int64))*v13 + 9))(v13, 1); ButtonSprite::updateBGImage(v13[77], "GJ_button_06.png"); (*((void (__fastcall **)(ButtonSprite **))*v13 + 164))(v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source