// // FriendRequestPopup::onClose from 0x1403a28a0 to 0x1403a2a2b (395 bytes) // // 4 xrefs: // > FriendRequestPopup::keyBackClicked @ 0x1403a2f09 // > FriendRequestPopup::onClosePopup @ 0x1403a31f9 // > FriendRequestPopup::init @ 0x1403a1b55 // > @ 0x140923630 // // This function is hookable on this platform (idp: pc, 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 11:31:17 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall FriendRequestPopup::onClose(__int64 a1) { __int64 v2; // rax __int64 v3; // rdi cocos2d::CCString *v4; // rax const char *CString; // rax size_t v6; // r8 void *v7; // rcx __int64 v8; // rdx void *v10; // [rsp+30h] [rbp-38h] void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v12; // [rsp+48h] [rbp-20h] unsigned __int64 v13; // [rsp+50h] [rbp-18h] if ( !*(_BYTE *)(a1 + 689) ) { v2 = *(_QWORD *)(a1 + 696); if ( v2 ) { if ( !*(_BYTE *)(v2 + 400) ) { v3 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v10 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v10); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v3 = *(_QWORD *)&qword_14090BFB0; } if ( *(int *)(*(_QWORD *)(a1 + 696) + 320LL) > 0 ) { v4 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8); CString = cocos2d::CCString::getCString(v4); *(_OWORD *)Block = 0; v12 = 0; v13 = 0; v6 = -1; do ++v6; while ( CString[v6] ); sub_14003D230(Block, CString, v6); GameLevelManager::readFriendRequests(v3, (const char *)Block); if ( v13 > 0xF ) { v7 = Block[0]; if ( v13 + 1 >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } } *(_BYTE *)(*(_QWORD *)(a1 + 696) + 400LL) = 1; } } } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0); LOBYTE(v8) = 1; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source