// // ProfilePage::onUnblockUser from 0x5f79a8 to 0x5f7a9a (242 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:32 +0000 // int __fastcall ProfilePage::onUnblockUser(ProfilePage *this, cocos2d::CCObject *a2) { char *v3; // r1 cocos2d::CCString *v4; // r0 char *v5; // r5 const char *CString; // r9 size_t v7; // r0 char *v8; // r7 size_t v9; // r0 int *v10; // r5 int v12[2]; // [sp+Ch] [bp-20h] BYREF char *v13; // [sp+14h] [bp-18h] int v14[2]; // [sp+18h] [bp-14h] BYREF char *v15; // [sp+20h] [bp-Ch] std::string::basic_string(v14, *((_DWORD *)this + 138) + 264); if ( (v14[0] & 1) != 0 ) v3 = v15; else v3 = (char *)v14 + 1; v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Are you sure you want to unblock %s?", v3, LOBYTE(v14[0]) << 31); v5 = nullptr; CString = (const char *)cocos2d::CCString::getCString(v4); v12[0] = 0; v12[1] = 0; v13 = nullptr; v7 = strlen(CString); std::string::__init(v12, CString, v7); v8 = (char *)this + 520; std::string::~string((int)v14); if ( (v12[0] & 1) == 0 ) v5 = (char *)v12 + 1; v14[0] = 0; if ( (v12[0] & 1) != 0 ) v5 = v13; v14[1] = 0; v15 = nullptr; v9 = strlen(v5); std::string::__init(v14, v5, v9); v10 = FLAlertLayer::create( (int)v8, (cocos2d::CCLabelBMFont *)"Unblock user", (int)v14, (ButtonSprite *)"Back", (ButtonSprite *)"Unblock", 300.0); std::string::~string((int)v14); (*(void (__fastcall **)(int *, int))(*v10 + 36))(v10, 4); (*(void (__fastcall **)(int *))(*v10 + 656))(v10); return std::string::~string((int)v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source