// // sub_10098F4C0 from 0x10098f4c0 to 0x10098f618 (344 bytes) // // 1 xrefs: // > sub_10098E530 @ 0x10098eaa6 // // 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_10098F4C0(__int64 a1) { const char *v1; // rsi char *v2; // rax const char *CString; // r15 size_t v4; // rax size_t v5; // r14 char *v6; // r12 size_t v7; // r13 __int64 v8; // rax std::string v9; // [rsp+28h] [rbp-58h] BYREF _QWORD __dst[2]; // [rsp+40h] [rbp-40h] BYREF void *v11; // [rsp+50h] [rbp-30h] if ( (*(_BYTE *)(a1 + 1056) & 1) != 0 ) v1 = *(const char **)(a1 + 1072); else v1 = (const char *)(a1 + 1057); v2 = sub_10088E820("Lift all comment bans (permanent and temporary) for %s?", v1); CString = (const char *)cocos2d::CCString::getCString((__int64)v2); v4 = strlen(CString); if ( v4 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v5 = v4; if ( v4 >= 0x17 ) { v7 = 26; if ( (v4 | 7) != 0x17 ) v7 = (v4 | 7) + 1; v6 = (char *)operator new(v7); v11 = v6; __dst[0] = v7 + 1; __dst[1] = v5; goto LABEL_11; } LOBYTE(__dst[0]) = 2 * v4; v6 = (char *)__dst + 1; if ( v4 ) LABEL_11: memmove(v6, CString, v5); v6[v5] = 0; *(_WORD *)&v9.__r_.__value_.__l.0 = 0; v8 = sub_1009A4AD0((int)a1 + 1040, 3, (int)"Confirm Unban", &v9, 1); (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v9.__r_.__value_.__l.__data_); if ( (__dst[0] & 1) != 0 ) operator delete(v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source