// // ProfilePage::onSendMessage from 0x1007bda20 to 0x1007bdb15 (245 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x1007bb830 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall ProfilePage::onSendMessage(ProfilePage *a1, cocos2d::CCObject *a2) { GJAccountManager *v2; // rax GJWriteMessagePopup *v3; // rax char *v4; // rbx _QWORD v5[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] v2 = GJAccountManager::sharedState(); if ( v2->m_accountID <= v2->m_unkInt1 ) { __p = operator new(0x70u); v5[0] = 113; v5[1] = 111; strcpy( (char *)__p, "Create an to send messages, add friends and more! You can create an account from the main menu."); v4 = FLAlertLayer::create_1(0, (int)"No Account", (__int64)v5, (int)"OK", 0, COERCE_DOUBLE(1135214592)); if ( (v5[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1288LL))(v4); } else { v3 = GJWriteMessagePopup::create(a1->m_accountID, 0); ((void (__fastcall *)(GJWriteMessagePopup *))v3->show)(v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source