// // FriendRequestPopup::onClose from 0x140296aa0 to 0x140296b3b (155 bytes) // // 4 xrefs: // > FriendRequestPopup::keyBackClicked @ 0x140296fb9 // > FriendRequestPopup::onClosePopup @ 0x140297279 // > FriendRequestPopup::init @ 0x140295f3d // > @ 0x1406d1bec // // 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 // // Hidden C++ exception states: #wind=1 void FriendRequestPopup::onClose(FriendRequestPopup *a1, cocos2d::CCObject *a2) { GJFriendRequest *m_request; // rax GameLevelManager *v4; // rcx _BOOL8 v5; // rdx void *v6; // [rsp+30h] [rbp+8h] m_request = a1->m_request; if ( m_request && !m_request->m_isRead ) { v4 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v6 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = (GameLevelManager *)qword_1406C2EC0; } GameLevelManager::readFriendRequest(v4, a1->m_request->m_requestID); a1->m_request->m_isRead = 1; } a1->setKeypadEnabled(a1, 0); LOBYTE(v5) = 1; a1->removeFromParentAndCleanup(a1, v5); }