// // AccountBanPopup::onNameLock from 0xc92994 to 0xc92bb8 (548 bytes) // // 1 xrefs: // > @ 0x941b0 // // 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:48 +0000 // __int64 __fastcall AccountBanPopup::onNameLock(AccountBanPopup *this, cocos2d::CCObject *a2) { const char *v2; // x1 char *v3; // x19 cocos2d::CCString *v4; // x0 size_t v5; // x0 ReportPopup *v6; // x0 __int64 v7; // x19 char *CString; // [xsp+48h] [xbp+48h] __int64 v10[2]; // [xsp+58h] [xbp+58h] BYREF void *v11; // [xsp+68h] [xbp+68h] void *v12; // [xsp+70h] [xbp+70h] BYREF char *v13; // [xsp+78h] [xbp+78h] __int64 v14[2]; // [xsp+88h] [xbp+88h] BYREF void *v15; // [xsp+98h] [xbp+98h] __int64 v16[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v17; // [xsp+B0h] [xbp+B0h] v2 = (char *)this + 1057; if ( (*((_BYTE *)this + 1056) & 1) != 0 ) v2 = *((const char **)this + 134); v3 = (char *)this + 1040; v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Lock the username of %s?\n" "They can no longer change it on the website until unlocked.", v2); v10[0] = 0; CString = (char *)cocos2d::CCString::getCString(v4); v10[1] = 0; v11 = nullptr; v5 = strlen(CString); v6 = (ReportPopup *)std::string::__init(v10, CString, v5); ReportPopup::reasonIndicesForTextModeration((__int64 *)&v12, v6); v14[0] = 0; v14[1] = 0; v15 = nullptr; std::string::__init(v14, &byte_11B8890, 0); v7 = AdminActionConfirmPopup::create( (__int64)v3, 11, "Confirm Lock", (char *)v10, (ButtonSprite *)"Lock", (__int64)&v12, (__int64)v14, 1); if ( (v14[0] & 1) != 0 ) operator delete(v15); if ( v12 ) { if ( v12 != v13 ) v13 += 4 * ~((unsigned __int64)(v13 - 4 - (_BYTE *)v12) >> 2); operator delete(v12); } v16[0] = 0; v16[1] = 0; v17 = nullptr; std::string::__init( v16, "The website tells the player their username is permanently locked. The reason and categories only go to the moderato" "r log.\n" "\n" "No duration: the lock survives the weekly name change reset until a moderator unlocks the account.", 0xDEu); AdminActionConfirmPopup::addHelp(v7, "Name Lock", (char *)v16); if ( (v16[0] & 1) != 0 ) operator delete(v17); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); if ( (v10[0] & 1) != 0 ) operator delete(v11); return _stack_chk_guard; }