// // ProfilePage::onSendMessage from 0x5f77c4 to 0x5f7844 (128 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::onSendMessage(ProfilePage *this, cocos2d::CCObject *a2, int a3, int a4) { GJAccountManager *v5; // r0 GJAccountManager *v6; // r0 int v8; // r2 int v9; // r6 ProfilePage *v10; // [sp+0h] [bp-10h] BYREF cocos2d::CCObject *v11; // [sp+4h] [bp-Ch] int v12; // [sp+8h] [bp-8h] int v13; // [sp+Ch] [bp-4h] v10 = this; v11 = a2; v12 = a3; v13 = a4; v5 = (GJAccountManager *)GJAccountManager::sharedState(this); if ( *((_DWORD *)v5 + 70) - *((_DWORD *)v5 + 71) > 0 ) { v8 = *((_DWORD *)this + 138); v9 = *((_DWORD *)this + 139); if ( v8 ) { std::string::basic_string((int *)&v10, v8 + 264); } else { v10 = nullptr; v11 = nullptr; v12 = 0; std::string::__init((int *)&v10, &unk_B6B226, 0); } ThreadOpenHelper::check(v9, &v10); return std::string::~string((int)&v10); } else { v6 = (GJAccountManager *)GJAccountManager::sharedState(v5); return GJAccountManager::showAccountNeededAlert(v6, "send messages"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source