// // MemberListPopup::FLAlert_Clicked from 0x100942f10 to 0x1009432b0 (928 bytes) // // 2 xrefs: // > sub_1009432D0 @ 0x1009432dc // > @ 0x100bc5500 // // 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 12:38:32 +0000 // void __fastcall MemberListPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3) { __int64 v4; // r15 int v5; // r14d char *v6; // rax const char *CString; // r13 size_t v8; // rax std::string::size_type v9; // r12 char *data; // r14 __int64 v11; // r15 int v12; // r14d char *v13; // rax const char *v14; // r13 size_t v15; // rax std::string::size_type v16; // r12 char *v17; // r14 __int64 v18; // r15 int v19; // r14d char *v20; // rax const char *v21; // r13 size_t v22; // rax std::string::size_type v23; // r12 char *v24; // r14 size_t v25; // r15 char updated; // r14 size_t v27; // r15 char v28; // r14 size_t v29; // r15 char v30; // r14 __int64 v31; // [rsp+0h] [rbp-50h] __int64 v32; // [rsp+0h] [rbp-50h] __int64 v33; // [rsp+0h] [rbp-50h] std::string __dst; // [rsp+8h] [rbp-48h] BYREF int v35; // [rsp+24h] [rbp-2Ch] if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 4 ) { if ( !a3 || *(int *)(a1 + 868) <= 0 ) { LABEL_29: *(_DWORD *)(a1 + 868) = 0; return; } v4 = GameLevelManager::sharedState(); v5 = *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL); v6 = sub_10088E820("%i", *(_DWORD *)(a1 + 868)); CString = (const char *)cocos2d::CCString::getCString((__int64)v6); v8 = strlen(CString); if ( v8 < 0xFFFFFFFFFFFFFFF8LL ) { v9 = v8; v35 = v5; if ( v8 >= 0x17 ) { v31 = v4; v25 = 26; if ( (v8 | 7) != 0x17 ) v25 = (v8 | 7) + 1; data = (char *)operator new(v25); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst.__r_.__value_.__r.__words[0] = v25 + 1; v4 = v31; __dst.__r_.__value_.__l.__size_ = v9; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v8); data = __dst.__r_.__value_.__s.__data_; if ( !v8 ) { LABEL_26: data[v9] = 0; updated = GameLevelManager::updateThread(v4, v35, 6, &__dst); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( !updated ) goto LABEL_29; goto LABEL_45; } } memmove(data, CString, v9); goto LABEL_26; } LABEL_48: sub_100003630(); } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 5 ) { if ( !a3 || *(int *)(a1 + 872) <= 0 ) { LABEL_37: *(_DWORD *)(a1 + 872) = 0; return; } v11 = GameLevelManager::sharedState(); v12 = *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL); v13 = sub_10088E820("%i", *(_DWORD *)(a1 + 872)); v14 = (const char *)cocos2d::CCString::getCString((__int64)v13); v15 = strlen(v14); if ( v15 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_48; v16 = v15; v35 = v12; if ( v15 >= 0x17 ) { v32 = v11; v27 = 26; if ( (v15 | 7) != 0x17 ) v27 = (v15 | 7) + 1; v17 = (char *)operator new(v27); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v17; __dst.__r_.__value_.__r.__words[0] = v27 + 1; v11 = v32; __dst.__r_.__value_.__l.__size_ = v16; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v15); v17 = __dst.__r_.__value_.__s.__data_; if ( !v15 ) { LABEL_34: v17[v16] = 0; v28 = GameLevelManager::updateThread(v11, v35, 7, &__dst); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( !v28 ) goto LABEL_37; LABEL_45: *(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 776; return; } } memmove(v17, v14, v16); goto LABEL_34; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 7 ) { if ( !a3 || *(int *)(a1 + 876) <= 0 ) { LABEL_46: *(_DWORD *)(a1 + 876) = 0; return; } v18 = GameLevelManager::sharedState(); v19 = *(_DWORD *)(*(_QWORD *)(a1 + 800) + 56LL); v20 = sub_10088E820("%i", *(_DWORD *)(a1 + 876)); v21 = (const char *)cocos2d::CCString::getCString((__int64)v20); v22 = strlen(v21); if ( v22 >= 0xFFFFFFFFFFFFFFF8LL ) goto LABEL_48; v23 = v22; v35 = v19; if ( v22 >= 0x17 ) { v33 = v18; v29 = 26; if ( (v22 | 7) != 0x17 ) v29 = (v22 | 7) + 1; v24 = (char *)operator new(v29); __dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v24; __dst.__r_.__value_.__r.__words[0] = v29 + 1; v18 = v33; __dst.__r_.__value_.__l.__size_ = v23; } else { __dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v22); v24 = __dst.__r_.__value_.__s.__data_; if ( !v22 ) { LABEL_42: v24[v23] = 0; v30 = GameLevelManager::updateThread(v18, v35, 11, &__dst); if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst.__r_.__value_.__l.__data_); if ( v30 ) goto LABEL_45; goto LABEL_46; } } memmove(v24, v21, v23); goto LABEL_42; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source