// // MessageThreadsPage::FLAlert_Clicked from 0x1400d6c90 to 0x1400d713a (1194 bytes) // // 2 xrefs: // > @ 0x14072e0d0 // > @ 0x140914678 // // 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:27 +0000 // // Hidden C++ exception states: #wind=8 void __fastcall MessageThreadsPage::FLAlert_Clicked(__int64 a1, __int64 a2, char a3) { cocos2d::CCArray *v4; // rcx signed int v5; // r14d __int64 v6; // r8 struct cocos2d::CCObject *v7; // rax struct cocos2d::CCObject *v8; // rbx int v9; // edi __int64 v10; // rcx __int64 v11; // r8 char v12; // bl void *v13; // rcx __int64 v14; // rbx __int64 v15; // rax cocos2d::CCString *v16; // rax const char *CString; // rax size_t v18; // r8 __int64 v19; // rcx char updated; // di void *v21; // rcx __int64 v22; // rdi __int64 v23; // rax cocos2d::CCString *v24; // rax char *v25; // rax size_t v26; // r8 __int128 *p_Src; // rcx char *v28; // rdx __int128 *v29; // rcx __int64 v30; // rcx __int64 v31; // rbx __int64 v32; // rax void *v33; // [rsp+30h] [rbp-39h] void *v34; // [rsp+30h] [rbp-39h] void *v35; // [rsp+30h] [rbp-39h] void *v36; // [rsp+38h] [rbp-31h] void *v37; // [rsp+40h] [rbp-29h] void *v38; // [rsp+48h] [rbp-21h] __int128 Src; // [rsp+50h] [rbp-19h] BYREF __int64 v40; // [rsp+60h] [rbp-9h] unsigned __int64 v41; // [rsp+68h] [rbp-1h] __int128 v42; // [rsp+70h] [rbp+7h] BYREF __int64 v43; // [rsp+80h] [rbp+17h] unsigned __int64 v44; // [rsp+88h] [rbp+1Fh] if ( a3 ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 ) { v4 = *(cocos2d::CCArray **)(a1 + 128); if ( v4 ) { Src = 0; v40 = 0; v41 = 15; LOBYTE(Src) = 0; v5 = 0; if ( (int)cocos2d::CCArray::count(v4) > 0 ) { do { v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 128), v5); v8 = v7; if ( *((_BYTE *)v7 + 360) ) { if ( *((_BYTE *)v7 + 320) ) { if ( *((_BYTE *)v7 + 321) ) { v16 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *((unsigned int *)v7 + 15)); CString = cocos2d::CCString::getCString(v16); v42 = 0; v43 = 0; v44 = 0; v18 = -1; do ++v18; while ( CString[v18] ); sub_14003D230(&v42, CString, v18); v19 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v38 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v38); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v19 = *(_QWORD *)&qword_14090BFB0; } updated = GameLevelManager::updateThread(v19, *((unsigned int *)v8 + 14), 11, &v42); if ( v44 > 0xF ) { v21 = (void *)v42; if ( v44 + 1 >= 0x1000 ) { v21 = *(void **)(v42 - 8); if ( (unsigned __int64)(v42 - (_QWORD)v21 - 8) > 0x1F ) LABEL_57: invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v21); } if ( updated ) { v22 = a1 - 8; if ( a1 == 672 ) v22 = 0; v23 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v33 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v33); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v23 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v23 + 1392) = v22; } } if ( v40 ) sub_140044D80(&Src, byte_14070ECF8, 1u); v24 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, *((unsigned int *)v8 + 14)); v25 = (char *)cocos2d::CCString::getCString(v24); v26 = -1; do ++v26; while ( v25[v26] ); sub_140044D80(&Src, v25, v26); } else { v42 = 0; v43 = 0; v44 = 15; LOBYTE(v42) = 0; v9 = *((_DWORD *)v7 + 81); v10 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v36 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v36); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v10 = *(_QWORD *)&qword_14090BFB0; } v11 = 5; if ( v9 == 8 ) v11 = 18; v12 = GameLevelManager::updateThread(v10, *((unsigned int *)v8 + 14), v11, &v42); if ( v44 > 0xF ) { v13 = (void *)v42; if ( v44 + 1 >= 0x1000 ) { v13 = *(void **)(v42 - 8); if ( (unsigned __int64)(v42 - (_QWORD)v13 - 8) > 0x1F ) goto LABEL_57; } j_j_free(v13); } if ( v12 ) { v14 = a1 - 8; if ( a1 == 672 ) v14 = 0; v15 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v37 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v37); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v15 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v15 + 1392) = v14; } } } ++v5; } while ( v5 < (int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 128)) ); } if ( v40 ) { p_Src = &Src; if ( v41 > 0xF ) p_Src = (__int128 *)Src; v28 = (char *)p_Src + v40; v29 = &Src; if ( v41 > 0xF ) v29 = (__int128 *)Src; LOBYTE(v6) = 44; *(_DWORD *)(a1 + 172) = sub_140677040(v29, v28, v6) + 1; v30 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v34 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v34); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v30 = *(_QWORD *)&qword_14090BFB0; } if ( (unsigned __int8)GameLevelManager::updateThread(v30, 0, 1, &Src) ) { v31 = a1 - 8; if ( a1 == 672 ) v31 = 0; v32 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v35 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v35); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v32 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v32 + 1392) = v31; } } sub_14003D310((__int64)&Src); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source