// // sub_10098F940 from 0x10098f940 to 0x10098fa41 (257 bytes) // // 1 xrefs: // > sub_10098E530 @ 0x10098eb6c // // 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:39:08 +0000 // void __fastcall sub_10098F940(__int64 a1) { __int64 v1; // rax int v2; // eax const char *v3; // rsi const char *v4; // rsi char *v5; // rax const std::string::value_type *CString; // rax void *__p[3]; // [rsp+8h] [rbp-38h] BYREF std::string v8; // [rsp+20h] [rbp-20h] BYREF v1 = *(_QWORD *)(a1 + 1128); if ( v1 ) { v2 = *(_DWORD *)(v1 + 384); memset(&v8, 0, sizeof(v8)); if ( v2 == 12 ) { if ( (*(_BYTE *)(a1 + 1056) & 1) != 0 ) v3 = *(const char **)(a1 + 1072); else v3 = (const char *)(a1 + 1057); v5 = sub_10088E820( "Apply a permanent message ban to %s?\nBlocks messages and friend requests.", v3); goto LABEL_12; } } else { memset(&v8, 0, sizeof(v8)); v2 = 0; } if ( (*(_BYTE *)(a1 + 1056) & 1) != 0 ) v4 = *(const char **)(a1 + 1072); else v4 = (const char *)(a1 + 1057); v5 = sub_10088E820("Ban %s from messages and friend requests for %s?", v4, off_100BD65E0[v2]); LABEL_12: CString = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v5); std::string::assign(&v8, CString); sub_100964940((__int64)__p); sub_100990C20(a1 + 1040, 5, &v8, __p); if ( __p[0] ) { __p[1] = __p[0]; operator delete(__p[0]); } if ( (*(_BYTE *)&v8.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v8.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source