// // sub_10050D7D0 from 0x10050d7d0 to 0x10050d908 (312 bytes) // // 1 xrefs: // > ThreadOptionsPopup::init @ 0x10050ced0 // // 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 11:07:00 +0000 // __int64 __fastcall sub_10050D7D0(__int64 a1) { int v2; // w20 __int64 v3; // x0 char *CString; // x1 void *v5; // x0 __int64 *v6; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v9; // [xsp+1Fh] [xbp-11h] v2 = *(_DWORD *)(*(_QWORD *)(a1 + 1032) + 200LL); v3 = GJAccountManager::sharedState(); if ( v2 == *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356) ) { if ( *(int *)(*(_QWORD *)(a1 + 1032) + 168LL) < 2 ) { CString = "Leave this group chat?\nYou are the last member, so the group chat will end."; goto LABEL_7; } v5 = sub_1003065B0( "Leave this group chat?\n" "Ownership will pass to the member who\n" "has been here the longest.\n" "You can only rejoin if %s invites you back."); } else { v5 = sub_1003065B0("Leave this group chat?\nYou can only rejoin if %s invites you back."); } CString = (char *)cocos2d::CCString::getCString((__int64)v5); LABEL_7: sub_100009900(__p, CString); v6 = (__int64 *)FLAlertLayer::create( a1 + 1024, (__int64)"Leave Group Chat", (__int64)__p, (__int64)"Back", (__int64)"Leave", 0, 380.0, 0.0, 1.0); if ( v9 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64 *, __int64))(*v6 + 72))(v6, 3); ButtonSprite::updateBGImage(v6[77], (__int64)"GJ_button_06.png"); return (*(__int64 (__fastcall **)(__int64 *))(*v6 + 1312))(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source