// // GameLevelManager::blockUser from 0x140161f00 to 0x140162209 (777 bytes) // // 4 xrefs: // > FriendRequestPopup::FLAlert_Clicked @ 0x1402972f8 // > GJMessagePopup::FLAlert_Clicked @ 0x140299027 // > ProfilePage::FLAlert_Clicked @ 0x1403c4d5d // > @ 0x1406cabb4 // // 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=4 bool GameLevelManager::blockUser(GameLevelManager *a1, int a2) { cocos2d::CCString *v4; // rax const char *CString; // rax const char *v6; // rdi size_t v7; // rbx size_t v8; // r8 __int64 v9; // r14 void *v10; // rcx size_t v11; // r8 __int64 v12; // rax __int64 v13; // rcx void *v14; // rcx cocos2d::CCString *v15; // rax const char *v16; // rax cocos2d::CCString *v17; // rax char *v18; // rax size_t v19; // r8 size_t v20; // r8 _QWORD *v21; // rdx __int128 v23; // [rsp+40h] [rbp-69h] BYREF __int64 v24; // [rsp+50h] [rbp-59h] __int64 v25; // [rsp+58h] [rbp-51h] __int128 v26; // [rsp+60h] [rbp-49h] BYREF __int64 v27; // [rsp+70h] [rbp-39h] __int64 v28; // [rsp+78h] [rbp-31h] __int128 *v29; // [rsp+80h] [rbp-29h] __int128 *v30; // [rsp+88h] [rbp-21h] void *Block[2]; // [rsp+98h] [rbp-11h] BYREF __int128 v32; // [rsp+A8h] [rbp-1h] _QWORD Src[4]; // [rsp+B8h] [rbp+Fh] BYREF if ( a2 <= 0 ) return 0; v4 = cocos2d::CCString::createWithFormat("blockUser_%i", a2); CString = cocos2d::CCString::getCString(v4); v6 = CString; *(_OWORD *)Block = 0; v32 = 0; v7 = -1; v8 = -1; do ++v8; while ( CString[v8] ); sub_14003A930(Block, CString, v8); v9 = cocos2d::CCDictionary::objectForKey(a1->m_friendReqAndUserBlocks, Block); if ( *((_QWORD *)&v32 + 1) > 0xFu ) { v10 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v32 + 1) + 1LL) >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v10); } if ( v9 ) return 0; *(_OWORD *)Block = 0; v32 = 0; v11 = -1; do ++v11; while ( v6[v11] ); sub_14003A930(Block, v6, v11); v12 = cocos2d::CCNode::create(); cocos2d::CCDictionary::setObject(a1->m_friendReqAndUserBlocks, v12, Block); if ( *((_QWORD *)&v32 + 1) > 0xFu ) { v14 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v32 + 1) + 1LL) >= 0x1000 ) { v14 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v14 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v14); } GameLevelManager::getBasePostString(v13, Src); v15 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_140531E88); v16 = cocos2d::CCString::getCString(v15); v17 = cocos2d::CCString::createWithFormat("&targetAccountID=%i&secret=%s", a2, v16); v18 = (char *)cocos2d::CCString::getCString(v17); v19 = -1; do ++v19; while ( v18[v19] ); sub_140041270(Src, v18, v19); v29 = &v23; v30 = &v26; v23 = 0; v24 = 0; v25 = 0; v20 = -1; do ++v20; while ( v6[v20] ); sub_14003A930(&v23, v6, v20); v21 = Src; if ( Src[3] > 0xFu ) v21 = (_QWORD *)Src[0]; v26 = 0; v27 = 0; v28 = 0; do ++v7; while ( *((_BYTE *)v21 + v7) ); sub_14003A930(&v26, v21, v7); *(_OWORD *)Block = 0; *(_QWORD *)&v32 = 0; *((_QWORD *)&v32 + 1) = 15; Block[0] = sub_14003AA10(0x40u); *(_QWORD *)&v32 = 52; *((_QWORD *)&v32 + 1) = 63; strcpy((char *)Block[0], "https://www.boomlings.com/database/blockGJUser20.php"); GameLevelManager::ProcessHttpRequest(a1, (__int64)Block, (const char *)&v26, (const char *)&v23, 34); sub_14003A830((__int64)Src); return 1; }