// // ProfilePage::onSendMessage from 0xa55a0c to 0xa55b34 (296 bytes) // // 3 xrefs: // > @ 0xacf90 // > ProfilePage::setupAccountButtons @ 0xa53f88 // > @ 0x1544e80 // // 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:00:07 +0000 // __int64 __fastcall ProfilePage::onSendMessage(ProfilePage *this, cocos2d::CCObject *a2) { __int64 v3; // x0 GJAccountManager *v4; // x0 __int64 v5; // x0 unsigned int v6; // w21 char v7; // w1 __int64 v8; // x2 __int64 v9; // x0 __int64 v10; // x1 GJAccountManager *v12; // x0 __int64 v13; // [xsp+30h] [xbp+30h] BYREF __int64 v14; // [xsp+38h] [xbp+38h] void *v15; // [xsp+40h] [xbp+40h] v3 = GJAccountManager::sharedState(_stack_chk_guard); v4 = (GJAccountManager *)(unsigned int)(*(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356)); if ( (int)v4 <= 0 ) { v12 = (GJAccountManager *)GJAccountManager::sharedState(v4); GJAccountManager::showAccountNeededAlert(v12, "send messages"); } else { v5 = *((_QWORD *)this + 91); v6 = *((_DWORD *)this + 184); if ( v5 ) { v7 = *(_BYTE *)(v5 + 320); v13 = 0; v8 = v5 + 320; v14 = 0; v15 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init(&v13, *(void **)(v5 + 336), *(_QWORD *)(v5 + 328)); } else { v9 = *(_QWORD *)v8; v10 = *(_QWORD *)(v8 + 8); v15 = *(void **)(v8 + 16); v13 = v9; v14 = v10; } } else { v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, &byte_11B8890, 0); } ThreadOpenHelper::check(v6, &v13); if ( (v13 & 1) != 0 ) operator delete(v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source