// // AccountReviewPopup::adminCloseCaseFinished from 0x1400bcb90 to 0x1400bcf64 (980 bytes) // // 2 xrefs: // > @ 0x140722358 // > @ 0x1409138e0 // // 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:26:17 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall AccountReviewPopup::adminCloseCaseFinished(__int64 a1, int a2, int a3, char a4) { cocos2d::CCNode *v7; // rsi __int64 v8; // rcx bool v9; // al const char *v10; // r9 cocos2d::CCString *v11; // rax const char *CString; // rax size_t v13; // r8 __int64 v14; // rax __m128i *v15; // rax void **v16; // xmm0_8 __m128i v17; // xmm1 void **v18; // rcx void *v19; // rcx void *v20; // rcx void *v21; // rcx __int64 v22; // rdx __int64 *v23; // rdi __int64 v24; // r8 __int64 v25; // xmm0_8 __int64 v26; // rbx __int64 v27; // rax struct cocos2d::CCAction *v28; // rax void *Block[2]; // [rsp+38h] [rbp-31h] BYREF __m128i v30; // [rsp+48h] [rbp-21h] void *Src[2]; // [rsp+58h] [rbp-11h] BYREF __m128i si128; // [rsp+68h] [rbp-1h] void *v33[2]; // [rsp+78h] [rbp+Fh] BYREF __int128 v34; // [rsp+88h] [rbp+1Fh] v7 = (cocos2d::CCNode *)(a1 - 776); if ( a2 == *(_DWORD *)(a1 - 776 + 840) ) { v8 = *(_QWORD *)(a1 - 80); if ( v8 ) LoadingCircle::fadeAndRemove(v8); *(_BYTE *)(a1 + 560) = 1; v9 = *(_BYTE *)(a1 + 544) && (*(int *)(a1 + 268) > 0 || *(int *)(a1 + 280) > 0 || !*(_DWORD *)(a1 + 156)); if ( a3 <= 0 ) { if ( a4 || !v9 ) { v23 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v8) + 272); *(_OWORD *)v33 = 0; *(_QWORD *)&v34 = 0; *((_QWORD *)&v34 + 1) = 15; LOBYTE(v33[0]) = 0; si128.m128i_i64[0] = 11; v25 = 0x6F6C632065736143LL; Src[1] = (void *)6579571; } else { v23 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v8) + 272); *(_OWORD *)v33 = 0; *(_QWORD *)&v34 = 0; *((_QWORD *)&v34 + 1) = 15; LOBYTE(v33[0]) = 0; si128.m128i_i64[0] = 14; v25 = 0x2079646165726C41LL; Src[1] = (void *)0x6465736F6C63LL; } v26 = *v23; Src[0] = (void *)v25; si128.m128i_i64[1] = 15; v27 = TextAlertPopup::create(Src, v22, v24, 150, v33); (*(void (__fastcall **)(__int64 *, __int64, __int64))(v26 + 456))(v23, v27, 1000); } else { v10 = (const char *)&unk_14070D03C; if ( a3 == 1 ) v10 = &byte_1406ED6E0; v11 = cocos2d::CCString::createWithFormat("%i %s%s", a3, "item", v10); CString = cocos2d::CCString::getCString(v11); *(_OWORD *)v33 = 0; v34 = 0; v13 = -1; do ++v13; while ( CString[v13] ); sub_14003D230(v33, CString, v13); v14 = sub_140059D70(v33, 0, "Case closed, ", 0xDu); *(_OWORD *)Src = 0; si128 = 0; *(_OWORD *)Src = *(_OWORD *)v14; si128 = *(__m128i *)(v14 + 16); *(_QWORD *)(v14 + 16) = 0; *(_QWORD *)(v14 + 24) = 15; *(_BYTE *)v14 = 0; v15 = (__m128i *)sub_140044D80(Src, " cleared", 8u); *(__m128i *)Block = *v15; v16 = (void **)Block[0]; v30 = v15[1]; v17 = v30; v15[1].m128i_i64[0] = 0; v15[1].m128i_i64[1] = 15; v15->m128i_i8[0] = 0; v18 = Block; if ( _mm_srli_si128(v17, 8).m128i_u64[0] > 0xF ) v18 = v16; sub_1400AC330(v18); if ( v30.m128i_i64[1] > 0xFuLL ) { v19 = Block[0]; if ( (unsigned __int64)(v30.m128i_i64[1] + 1) >= 0x1000 ) { v19 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v19 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v19); } if ( si128.m128i_i64[1] > 0xFuLL ) { v20 = Src[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v20 = *((void **)Src[0] - 1); if ( (unsigned __int64)((char *)Src[0] - (char *)v20 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v20); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Src[0]) = 0; if ( *((_QWORD *)&v34 + 1) > 0xFu ) { v21 = v33[0]; if ( (unsigned __int64)(*((_QWORD *)&v34 + 1) + 1LL) >= 0x1000 ) { v21 = *((void **)v33[0] - 1); if ( (unsigned __int64)((char *)v33[0] - (char *)v21 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v21); } } v28 = (struct cocos2d::CCAction *)cocos2d::CCCallFunc::create(v7, AccountReviewPopup::closeAfterDone); cocos2d::CCNode::runAction(v7, v28); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source